Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of MainBoard2018_Auto_Master_A by
ColorSensor.cpp
00001 #include "ColorSensor.h" 00002 #include "mbed.h" 00003 00004 namespace COLORSENSOR { 00005 DigitalIn DOUT[] = { 00006 DigitalIn(DOUT0_PIN), 00007 DigitalIn(DOUT1_PIN), 00008 DigitalIn(DOUT2_PIN), 00009 DigitalIn(DOUT3_PIN), 00010 }; 00011 DigitalOut CK[] = { 00012 DigitalOut(CK0_PIN), 00013 DigitalOut(CK1_PIN), 00014 DigitalOut(CK2_PIN), 00015 DigitalOut(CK3_PIN), 00016 }; 00017 DigitalOut RANGE(RANGE_PIN); 00018 DigitalOut GATE(GATE_PIN); 00019 }
Generated on Tue Jul 12 2022 19:08:04 by
1.7.2
