![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
testing to print % character. DONE
Fork of TestingDHT22sensor by
Diff: main.cpp
- Revision:
- 4:a5d7a7910e35
- Parent:
- 3:6b640fc3ef2a
diff -r 6b640fc3ef2a -r a5d7a7910e35 main.cpp --- a/main.cpp Tue Sep 18 10:09:16 2018 +0000 +++ b/main.cpp Tue Sep 18 10:21:16 2018 +0000 @@ -15,7 +15,7 @@ Error=0; printf("T: %.1f C",dht22.ReadTemperature(CELCIUS)); printf(" H %.1f",dht22.ReadHumidity()); - printf("%"); + printf("%%"); printf("\n\r"); } else {