Using the OSFifo example to pass a string ?
Posted: Sat Jul 31, 2010 7:53 am
All this talk on Proper Queue usage got me thinking that i could do something in a better way.
I am looking to have a Task that will be in control of writing to my LCD. All other tasks that want to use the screen will post a message. The LCD task will be in a pending state when there is no data available. When another task makes a post with data, the LCD routine will resume running and update the LCD.
The OSFifo example, looks like what i want do do. except, i dont see that i can add a string of text to the "OSFifoPost( &MyFIFO, ( OS_FIFO_EL * ) &StructArray ); "
I am looking to have a Task that will be in control of writing to my LCD. All other tasks that want to use the screen will post a message. The LCD task will be in a pending state when there is no data available. When another task makes a post with data, the LCD routine will resume running and update the LCD.
The OSFifo example, looks like what i want do do. except, i dont see that i can add a string of text to the "OSFifoPost( &MyFIFO, ( OS_FIFO_EL * ) &StructArray ); "