cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F746G-DISCO, TouchGFX 4.13.0, STMCubeIDE 1.3.0, FreeRTOS

AD�?b
Senior

Hi!

How to set FreeRTOS for 2 tasks and queue 2?

How to add support in main.c and Model.cpp?

Andrzej

20 REPLIES 20
Karan 123
Senior

As far as concern of your code, I think you have missed like below

// From Model
void Screen1Presenter::btnPressed()
{
	view.IncrementUpdate() ;
	   touchgfx_printf("View \n");
}
// From View
void Screen1Presenter::setLEDState(bool state)
{
	model->setLEDState(state);
	   touchgfx_printf("LED State:1  %d\n", state);
}

Hope this helps..

--

Karan