pabs

Dependencies:   mbed motor

Committer:
awmcdowall
Date:
Mon May 06 10:25:13 2019 +0000
Revision:
5:2621fc2ed6da
pabs

Who changed what in which revision?

UserRevisionLine numberNew contents of line
awmcdowall 5:2621fc2ed6da 1 #ifndef _SPC_H_
awmcdowall 5:2621fc2ed6da 2 #define _SPC_H_
awmcdowall 5:2621fc2ed6da 3
awmcdowall 5:2621fc2ed6da 4 #include "mbed.h"
awmcdowall 5:2621fc2ed6da 5
awmcdowall 5:2621fc2ed6da 6 #define RED 1
awmcdowall 5:2621fc2ed6da 7 #define GRN 2
awmcdowall 5:2621fc2ed6da 8 #define BLU 3
awmcdowall 5:2621fc2ed6da 9
awmcdowall 5:2621fc2ed6da 10 //Following are CORRECTION FACTORS to white/colour balance the sensor 'system
awmcdowall 5:2621fc2ed6da 11 #define RCOR 1.00f
awmcdowall 5:2621fc2ed6da 12 #define GCOR 1.00f
awmcdowall 5:2621fc2ed6da 13 #define BCOR 1.00f
awmcdowall 5:2621fc2ed6da 14
awmcdowall 5:2621fc2ed6da 15 void SPCoff(void);
awmcdowall 5:2621fc2ed6da 16 void SPCtest(void);
awmcdowall 5:2621fc2ed6da 17 void SPCflash(int,int);
awmcdowall 5:2621fc2ed6da 18
awmcdowall 5:2621fc2ed6da 19 // extern Serial pc; //Instance of the Serial class to enable much faster BAUD rates then standard 9600 i.e. 115200
awmcdowall 5:2621fc2ed6da 20 //This is Pseudo RS232 over USB the NUCLEO will appear as a COMx Port see device Manager on PC used
awmcdowall 5:2621fc2ed6da 21
awmcdowall 5:2621fc2ed6da 22
awmcdowall 5:2621fc2ed6da 23 #endif