Function main has a couple of main threads:
- ExositeTask
- UptimeTask
- AccSampleTask
I have changed task priorities for UptimeTask and AccSampleTask. UptimeTask has now a higher priority. I decided to use UptimeTask to read my UART port:
static void UptimeTask( void *pvParameters )
{
char c = 0;
while(1)
{
//GPIO_IF_LedOff(MCU_ORANGE_LED_GPIO);
//GPIO_IF_LedOff(MCU_GREEN_LED_GPIO);
g_uptimeSec++;
c = MAP_UARTCharGetNonBlocking(CONSOLE); // Get a single character
if (c != 0){
UART_PRINT("\n\r\rExecuting UptimeTask Enter a string and press enter\n\r\r");
g_UartHaveCmd=GETChar(&g_ucUARTRecvBuffer[0]);
}
//....A bunch of commented out junk
osi_Sleep(1000);
}
See updated files on the Github. What I am hoping to achieve is to connect serial port of the CC3200 to my #Multimeter + Multimeter+ serial expansion port and start transmitting data through the WiFi. It might take some time though.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.