Pablo Pelaez
/
ROCO104_Ultrasound_SPC_LOOP
ROCO104
spc.h@6:dfc31e7e2c23, 2019-05-07 (annotated)
- Committer:
- Pabs44
- Date:
- Tue May 07 14:47:34 2019 +0000
- Revision:
- 6:dfc31e7e2c23
- Parent:
- 5:2621fc2ed6da
code
Who changed what in which revision?
User | Revision | Line number | New 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 |