TI LM3S8962 Example Code for CoOS Free RTOS
Device:
Evaluation Board:
Complier:
Tasks:
| init_task |
initialize the target board's resources, and create other tasks, and then delete itself and exit the scheduling |
| taskA |
display current systems' run time with this hour:minutes:second: microsecond format. |
| taskB |
blinks the Status LED every second. |
| taskC |
it display 2 pictures about CooCox on OLED display. |
Descriptions:
- This example use CoOS to control 3 tasks:
- taskA display the systems' run time in hour,minutes,second,and microsecond.
taskB control the blinks of the Status LED.
taskC control the display of 2 different BackColor picture about CooCox LOGO. Both taskA and taskC will use the OLED to display, so we use a Mutex to control the use of OLED.
System Configuration:
- XTAL freq = 12.00 MHz
- SYSCLK freq = 50.00 MHz
- System Tick freq = 100Hz (10ms)
Download File
|
|