Add ADC example to cc26xx-web-demo
This commit is contained in:
parent
55f3a92211
commit
22b262ce73
5 changed files with 101 additions and 1 deletions
|
@ -79,6 +79,13 @@
|
|||
#else
|
||||
#define CC26XX_WEB_DEMO_NET_UART 1
|
||||
#endif
|
||||
|
||||
#ifdef CC26XX_WEB_DEMO_CONF_ADC_DEMO
|
||||
#define CC26XX_WEB_DEMO_ADC_DEMO CC26XX_WEB_DEMO_CONF_ADC_DEMO
|
||||
#else
|
||||
#define CC26XX_WEB_DEMO_ADC_DEMO 0
|
||||
#endif
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/* Active probing of RSSI from our preferred parent */
|
||||
#if (CC26XX_WEB_DEMO_COAP_SERVER || CC26XX_WEB_DEMO_MQTT_CLIENT)
|
||||
|
@ -146,6 +153,7 @@
|
|||
#define CC26XX_WEB_DEMO_SENSOR_MPU_GYRO_X 12
|
||||
#define CC26XX_WEB_DEMO_SENSOR_MPU_GYRO_Y 13
|
||||
#define CC26XX_WEB_DEMO_SENSOR_MPU_GYRO_Z 14
|
||||
#define CC26XX_WEB_DEMO_SENSOR_ADC_DIO23 15
|
||||
/*---------------------------------------------------------------------------*/
|
||||
extern process_event_t cc26xx_web_demo_publish_event;
|
||||
extern process_event_t cc26xx_web_demo_config_loaded_event;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue