ROCO104

Dependencies:   mbed motor

spc.h

Committer:
Pabs44
Date:
2019-05-07
Revision:
6:dfc31e7e2c23
Parent:
5:2621fc2ed6da

File content as of revision 6:dfc31e7e2c23:

#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