aaaaaaaaa

Dependencies:   QEI mbed

Fork of MainBoard2018_Auto_Master_A_new by Akihiro Nakabayashi

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ColorSensor.cpp Source File

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 }