![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
NRF version of the "BabaTalp" code. (The original radioless code is in python)
Dependencies: BNO055_fusion RF24 mbed
Fork of L053R8_mux_BNO by
config.h@1:01b7a386487e, 2017-02-24 (annotated)
- Committer:
- gume
- Date:
- Fri Feb 24 00:21:06 2017 +0000
- Revision:
- 1:01b7a386487e
- Parent:
- 0:a573c39fe4e8
- Child:
- 2:65b259a97e52
Rewrite
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Makodan | 0:a573c39fe4e8 | 1 | #ifndef CONFIG_H |
Makodan | 0:a573c39fe4e8 | 2 | #define CONFIG_H |
Makodan | 0:a573c39fe4e8 | 3 | |
Makodan | 0:a573c39fe4e8 | 4 | #include "BNO055.h" |
Makodan | 0:a573c39fe4e8 | 5 | |
Makodan | 0:a573c39fe4e8 | 6 | //This header contains calibration data |
Makodan | 0:a573c39fe4e8 | 7 | |
gume | 1:01b7a386487e | 8 | //#define NodeID 6 |
Makodan | 0:a573c39fe4e8 | 9 | #define RadioChannel 90 |
Makodan | 0:a573c39fe4e8 | 10 | #define SendDelay 3 //ms |
Makodan | 0:a573c39fe4e8 | 11 | |
Makodan | 0:a573c39fe4e8 | 12 | |
Makodan | 0:a573c39fe4e8 | 13 | #define ledpin PA_8 |
Makodan | 0:a573c39fe4e8 | 14 | #define unused_pin PA_1 |
Makodan | 0:a573c39fe4e8 | 15 | |
Makodan | 0:a573c39fe4e8 | 16 | #define nrf_CE PB_4 |
Makodan | 0:a573c39fe4e8 | 17 | #define nrf_CSN PB_3 |
Makodan | 0:a573c39fe4e8 | 18 | #define spi_SCK PA_5 |
Makodan | 0:a573c39fe4e8 | 19 | #define spi_MOSI PA_7 |
Makodan | 0:a573c39fe4e8 | 20 | #define spi_MISO PA_6 |
Makodan | 0:a573c39fe4e8 | 21 | #define nrf_irq PA_15 |
Makodan | 0:a573c39fe4e8 | 22 | |
Makodan | 0:a573c39fe4e8 | 23 | #define i2c_sda PB_7 |
Makodan | 0:a573c39fe4e8 | 24 | #define i2c_scl PB_6 |
Makodan | 0:a573c39fe4e8 | 25 | |
Makodan | 0:a573c39fe4e8 | 26 | #define RXD PA_3 |
Makodan | 0:a573c39fe4e8 | 27 | #define TXD PA_2 |
Makodan | 0:a573c39fe4e8 | 28 | |
Makodan | 0:a573c39fe4e8 | 29 | |
Makodan | 0:a573c39fe4e8 | 30 | |
Makodan | 0:a573c39fe4e8 | 31 | #endif |
Makodan | 0:a573c39fe4e8 | 32 | |
Makodan | 0:a573c39fe4e8 | 33 |