MBED Framework with communication to be tested

Dependencies:   mbed

PINNAMES.h

Committer:
AndrewLouw
Date:
2017-07-23
Revision:
4:85bc76bb6fdb
Parent:
2:64443528f6bb

File content as of revision 4:85bc76bb6fdb:

DigitalOut StatusLED(LED1);

#define MOSI p5
#define MISO p6
#define SCK p7

SPI spi(MOSI,MISO,SCK);
DigitalOut SlaveSelect(p8);

AnalogIn LDR_SENSE1(p17);
AnalogIn LDR_SENSE2(p18);

DigitalIn MANUAL_SW(p22);
DigitalIn CANOPY_SW(p21);