how to add A function to background
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-07-02 12:36 PM
Posted on July 02, 2014 at 21:36
Hi,
I want to add a function to background, it should be work independently, I mean it won't affect clock and date. Thanks
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-07-02 2:46 PM
Posted on July 02, 2014 at 23:46
I try to add 2 lines, but it does not work. why?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xTaskCreate( *Monitorr, ''Monitorr()'', 0x0000400, NULL, 2, NULL ); vTaskStartScheduler (); /* Create GUI task */ osThreadDef(GUI_Thread, GUIThread, osPriorityHigh, 0, 15 * configMINIMAL_STACK_SIZE); osThreadCreate (osThread(GUI_Thread), NULL); ~~~~~~~~~~~~ Please help ThanksOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-07-02 4:53 PM
Posted on July 03, 2014 at 01:53
I make some correction, but it still doesn't work:
~~~~~~~~~~~~~~~ // Create at least one task before starting the kernel. //xTaskCreate( vTaskCode, ''NAME'', STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL ); xTaskCreate(vTaskCode, ''Monitorr()'', 0x0000400, NULL, 2, NULL ); vTaskStartScheduler(); ~~~~~~~~~~~~~~~~~ Please help. ThanksOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-07-02 6:07 PM
Posted on July 03, 2014 at 03:07
Please help. Thanks
Sorry really don't have any experience with . You'll need to read the manual or get some training.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
