![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
pabs
Diff: spc.h
- Revision:
- 5:2621fc2ed6da
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spc.h Mon May 06 10:25:13 2019 +0000 @@ -0,0 +1,23 @@ +#ifndef _SPC_H_ +#define _SPC_H_ + +#include "mbed.h" + +#define RED 1 +#define GRN 2 +#define BLU 3 + +//Following are CORRECTION FACTORS to white/colour balance the sensor 'system +#define RCOR 1.00f +#define GCOR 1.00f +#define BCOR 1.00f + +void SPCoff(void); +void SPCtest(void); +void SPCflash(int,int); + +// extern Serial pc; //Instance of the Serial class to enable much faster BAUD rates then standard 9600 i.e. 115200 + //This is Pseudo RS232 over USB the NUCLEO will appear as a COMx Port see device Manager on PC used + + +#endif