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 mbed KL25Z_ClockControl
Fork of EtherCAT by
Diff: EtherCAT/cpuinit.h
- Revision:
- 5:6d75f432a41f
- Parent:
- 2:3dd1240eb938
- Child:
- 8:09dcef3ed467
--- a/EtherCAT/cpuinit.h Thu Dec 11 22:31:10 2014 +0000 +++ b/EtherCAT/cpuinit.h Thu Dec 11 23:12:11 2014 +0000 @@ -41,9 +41,17 @@ #define ET1100_SCK PTD1 #define ET1100_SS PTD0 #define LED_PIN LED_GREEN -//extern Serial shoe_serial; +#define ADC_FL PTB0 +#define ADC_FR PTB2 +#define ADC_BL PTB1 +#define ADC_BR PTB3 + extern DigitalOut led; extern DigitalOut et1100_ss; extern DigitalIn et1100_miso; extern SPI et1100_spi; +extern AnalogIn adcFrontLeft; +extern AnalogIn adcFrontRight; +extern AnalogIn adcBackLeft; +extern AnalogIn adcBackRight; #endif