From 4e773191d447ac434536262a6f204dd991d4ad77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 11 Nov 2015 15:26:01 +0100 Subject: tmp --- examples/dht22usart/dht22.c | 2 +- examples/dht22usart/makefile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/dht22usart/dht22.c b/examples/dht22usart/dht22.c index 97a91ee..ec643aa 100644 --- a/examples/dht22usart/dht22.c +++ b/examples/dht22usart/dht22.c @@ -3,7 +3,7 @@ #include #include #include "../../usart.h" -#include "../../sensor_dht22.h" +//#include "../../sensor_dht22.h" void rec(uint8_t data) { if (data == '\r') { diff --git a/examples/dht22usart/makefile b/examples/dht22usart/makefile index 214aa63..fb69068 100644 --- a/examples/dht22usart/makefile +++ b/examples/dht22usart/makefile @@ -15,7 +15,8 @@ IOE_CFLAGS = -Os -ffunction-sections -fdata-sections -fshort-enums -Wall \ -DCONFIG_IOE_USART_STOPBIT=USART_STOPBIT_SINGLE \ -DCONFIG_IOE_USART_DATABITS=8 \ -DCONFIG_IOE_TIMERS \ - -DCONFIG_IOE_SENSOR_DHT22 + -DCONFIG_IOE_SENSOR_DHT22 \ + -DCONFIG_IOE_SENSOR_DHT22_TIMER=COUNTER0_PWM all: dht22.hex @echo Now you can flash dht22.hex to your chip. -- cgit v1.2.3