new battery bar
Dependencies: CAN_IDs CanControl Dashboard PinDetect PowerControl mbed-rtos mbed
Diff: main.cpp
- Revision:
- 20:96420597a848
- Parent:
- 12:f753bc59c2e8
--- a/main.cpp Sun May 21 22:05:25 2017 +0000 +++ b/main.cpp Mon May 22 07:45:28 2017 +0000 @@ -35,15 +35,11 @@ // initialze onboard leds DigitalOut ledError(LED3); -DigitalOut ledRelay(LED2); DigitalOut ledSD(LED1); DigitalOut ledFona(LED5); DigitalOut led24V(LED4); //DigitalOut buckCan(BUCK2); -//DigitalOut buckXSens(BUCK3); -//DigitalOut buckScreen(BUCK4); -//DigitalOut buck24V(BUCK5); DigitalOut buckXSens(BUCK3); DigitalOut buckScreen(BUCK4); DigitalOut buck24V(BUCK5); @@ -91,7 +87,6 @@ //Thread thread2; //Thread thread3; //Thread thread4; - //Thread thread5; Thread threadx; // change thread priority @@ -102,7 +97,6 @@ //thread2.start(&calcPi); //thread3.start(&motorTest); //thread4.start(&canReceive); - //thread5.start(&relaisOn); threadx.start(&test); //stop this thread while keeping the other threads running @@ -113,4 +107,4 @@ } } Thread::wait(osWaitForever); -} +} \ No newline at end of file