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.
Dependencies: MODSERIAL ModbusSlave232 mbed mbed-rtos millis
pin_definitions.h
- Committer:
- AfdhalAtiffTan
- Date:
- 2016-07-28
- Revision:
- 1:77e7cf856fae
File content as of revision 1:77e7cf856fae:
//should be compatible with arduino sketch v2
//leds for debug purposes
DigitalOut led1(PA_13);
DigitalOut led2(PA_14);
DigitalOut led3(PA_15);
DHT dht22(D2,DHT22);
DS1820 water_temp(D3);
DigitalOut R0(D4);
DigitalOut R1(D5);
DigitalOut R2(D6);
DigitalOut R3(D7);
DigitalOut R4(D8);
DigitalOut R5(D9);
DigitalOut R6(D10);
DigitalOut R7(D11);
SoftSerial CO2sensor(D13, D12);
TSL2561_I2C lux_sensor(D14, D15);
AnalogIn water_pH(A0);
AnalogIn water_EC(A1);
DigitalIn shell_switch(A2);
DigitalIn window_switch(A3);