I hereby claim:
- I am tomtom5152 on github.
- I am itsghost (https://keybase.io/itsghost) on keybase.
- I have a public key ASBTUDEjB4VeczGublEHP4fnyVOaCu_9zgG9KgJ7QCCepgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#pragma config(Sensor, S2, HTCS2, sensorI2CCustom) | |
//*!!Code automatically generated by 'ROBOTC' configuration wizard !!*// | |
#include "HitechnicColorSensor.h" | |
task main() | |
{ | |
long r, g, b; | |
while (true) { | |
//use the sensor in passive mode (LED turned off) | |
HTCS2readRawRGB(HTCS2, true, r , g , b); |