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.
Diff: PinAssignment.h
- Revision:
- 0:0c5c2cbf330a
- Child:
- 1:f058cf4e422a
diff -r 000000000000 -r 0c5c2cbf330a PinAssignment.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PinAssignment.h Mon Mar 08 18:09:21 2021 +0000 @@ -0,0 +1,27 @@ +#ifndef PINASSIGNMENT_H +#define PINASSIGNMENT_H + +//Anemometers +#define PIN_ANEMOMETER A0 + +//Accelerometers +#define PIN_ACCEL_PANEL D0 +#define PIN_ACCEL_R1 D1 +#define PIN_ACCEL_R2 D2 + +//Buttons +#define PIN_BTFN D3 //FN Button +#define PIN_BTINC D4 //INC Button +#define PIN_BTDEC D5 //DEC Button + +//Motor Driver +#define PIN_ENA D6 +#define PIN_ENB D7 +#define PIN_INTP D8 //Tie INT1 and INT3 +#define PIN_INTN D9 //Tie INT2 and INT4 + +//I2C +#define PIN_SDA PTE24 +#define PIN_SCL PTE25 + +#endif \ No newline at end of file