cancel
Showing results for 
Search instead for 
Did you mean: 

Function animateToItem makes a two animationSteps and HardFault

VKost.3
Associate II

I am using stm32f746 nucleo board and display with fmc!

his is how it works

void Screen1View::handleTickEvent()

{

tickCounter++;

if(tickCounter > 60){

tickCounter = 0;

scrollWheel.animateToItem(scrollWheel.getSelectedItem() + 1, 0);

// application().gotoScreen2ScreenSlideTransitionEast();

}

}

doesn't work like that! Makes a two animationSteps and HardFault!

void Screen1View::handleTickEvent()

{

tickCounter++;

if(tickCounter > 60){

tickCounter = 0;

scrollWheel.animateToItem(scrollWheel.getSelectedItem() + 1, 10);

// application().gotoScreen2ScreenSlideTransitionEast();

}

}

10 REPLIES 10
VKost.3
Associate II

Changed the location of the buffers, from by location to by address! and it all worked)