![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
pines
Dependencies: HMC5883L111 RF24 RF24Network mbed motoresDC
Fork of RF24Network_Send by
pines.h@4:6341e80540be, 2016-06-10 (annotated)
- Committer:
- tabris2015
- Date:
- Fri Jun 10 22:16:34 2016 +0000
- Revision:
- 4:6341e80540be
pines maple;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tabris2015 | 4:6341e80540be | 1 | #ifdef MAPLE_MINI |
tabris2015 | 4:6341e80540be | 2 | // pines para los motores |
tabris2015 | 4:6341e80540be | 3 | |
tabris2015 | 4:6341e80540be | 4 | // Pines para el driver de motores |
tabris2015 | 4:6341e80540be | 5 | #define PWM_L PA_8 // d27 |
tabris2015 | 4:6341e80540be | 6 | #define CTRL1_L PB_12 // d31 |
tabris2015 | 4:6341e80540be | 7 | #define CTRL2_L PB_13 // d30 |
tabris2015 | 4:6341e80540be | 8 | #define PWM_R PA_9 // d26 |
tabris2015 | 4:6341e80540be | 9 | #define CTRL1_R PB_14 // d29 |
tabris2015 | 4:6341e80540be | 10 | #define CTRL2_R PB_15 // d28 |
tabris2015 | 4:6341e80540be | 11 | |
tabris2015 | 4:6341e80540be | 12 | // pines para el rf |
tabris2015 | 4:6341e80540be | 13 | |
tabris2015 | 4:6341e80540be | 14 | #define nrf_CE PA_3 |
tabris2015 | 4:6341e80540be | 15 | #define nrf_CSN PA_4 |
tabris2015 | 4:6341e80540be | 16 | #define spi_SCK PA_5 |
tabris2015 | 4:6341e80540be | 17 | #define spi_MOSI PA_7 |
tabris2015 | 4:6341e80540be | 18 | #define spi_MISO PA_6 |
tabris2015 | 4:6341e80540be | 19 | |
tabris2015 | 4:6341e80540be | 20 | // pines para el puerto serial |
tabris2015 | 4:6341e80540be | 21 | #define TX3_PIN PB_10 |
tabris2015 | 4:6341e80540be | 22 | #define RX3_PIN PB_11 |
tabris2015 | 4:6341e80540be | 23 | |
tabris2015 | 4:6341e80540be | 24 | |
tabris2015 | 4:6341e80540be | 25 | // pines para bus I2C |
tabris2015 | 4:6341e80540be | 26 | #define SDA_PIN PB_7 |
tabris2015 | 4:6341e80540be | 27 | #define SCL_PIN PB_6 |
tabris2015 | 4:6341e80540be | 28 | #endif |