![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
This code reads a simple temperature value from DHT11 then send via RF24 in every 5 secs.
Dependencies: DHT11 RF24_fork WakeUp mbed
config.h
- Committer:
- Makodan
- Date:
- 2018-05-03
- Revision:
- 0:49273053c399
File content as of revision 0:49273053c399:
#ifndef CONFIG_H #define CONFIG_H //This header contains calibration data #define RadioChannel 90 #define DataAddress 0xF0F0F0F0F0 #define ledpin PA_8 #define unused_pin PA_1 #define nrf_CE PB_4 #define nrf_CSN PB_3 #define spi_SCK PA_5 #define spi_MOSI PA_7 #define spi_MISO PA_6 #define nrf_irq PA_15 #define i2c_sda PB_7 #define i2c_scl PB_6 #define RXD PA_3 #define TXD PA_2 #endif