vo

Dependencies:   mbed CANMsg

Revision:
10:d85ed006056e
Parent:
7:c9fd242538d9
--- a/iodefinition.hpp	Tue Oct 02 07:05:52 2018 +0000
+++ b/iodefinition.hpp	Thu Dec 27 13:43:31 2018 +0000
@@ -12,11 +12,11 @@
     DigitalIn quinconceOut(PA_5,PullUp);        // sincro per quinconcio out
     InterruptIn DcEncoder(PB_2);                // define input for reading speed of seed wheel with fixed 25 hole
     DigitalOut speedClock(PA_6);                // define out for speed clock repeater
+    DigitalIn seedLevel(PB_1);                      // define input for reading seed level on tank
 #endif
 
 DigitalIn TBzeroPinInputRev(PB_11);             // define input of reading zero position of distributor wheel
 DigitalIn seedWheelZeroPinInputRev(PB_12);      // define input of reading zero position of seeding wheel
-DigitalIn seedLevel(PB_1);                      // define input for reading seed level on tank
 InterruptIn seedCheck(PA_7);                      // define input for reading seed passage to picks
 DigitalIn buttonUser(PC_13);                    // pulsante su scheda
 
@@ -36,12 +36,13 @@
 DigitalOut TBmotorStepOut(PB_3);                // TB motor step command
 DigitalOut TBmotorDirecti(PA_10);               // TB motor direction command
 
-
+/*
 #if defined(speedMaster)
-    DigitalOut led(LED1);                           // ATTENZIONE: LED1 E' SU PA5 / D13
+    //DigitalOut led(LED1);                           // ATTENZIONE: LED1 E' SU PA5 / D13
 #else
     DigitalOut led(PC_7);                           // ATTENZIONE: LED1 E' SU PA5 / D13
 #endif
+*/
 
 //DigitalIn zeroRequestIn(PB_6);          // define input of zero request for slave module
 //DigitalIn runRequestIn(PB_9);           // define input of run request for slave module
@@ -54,10 +55,10 @@
 CANMessage rxMsg;
 
 #if defined(pcSerial)
-    Serial pc(USBTX, USBRX,256000);         // serial channel for PC communication
+    Serial pc(USBTX, USBRX,250000);         // serial channel for PC communication
 #else
     #if defined(speedTime)
-        Serial pc(USBTX, USBRX,256000);         // serial channel for PC communication
+        Serial pc(USBTX, USBRX,250000);         // serial channel for PC communication
     #endif
 #endif