Page 1 of 1

Problem compile DHT11 with 1602 sample

Posted: Tue Aug 14, 2012 2:52 pm
by dinokent
Hi,
I got error when compile the code under:

http://www.geeetech.com/wiki/index.php/ ... sor_module

And shown error:
sketch_aug14a:15: error: stray '\' in program
sketch_aug14a:15: error: stray '\' in program
sketch_aug14a:19: error: stray '\' in program
sketch_aug14a:19: error: stray '\' in program
sketch_aug14a:21: error: stray '\' in program
sketch_aug14a:21: error: stray '\' in program
sketch_aug14a:23: error: stray '\' in program
sketch_aug14a:23: error: stray '\' in program
sketch_aug14a:25: error: stray '\' in program
sketch_aug14a:25: error: stray '\' in program
sketch_aug14a:4: error: 'DHT' does not name a type
sketch_aug14a.cpp: In function 'void setup()':
sketch_aug14a:9: error: 'dht' was not declared in this scope
sketch_aug14a.cpp: In function 'void loop()':
sketch_aug14a:12: error: 'dht' was not declared in this scope
sketch_aug14a:15: error: 'u201cFailed' was not declared in this scope
sketch_aug14a:19: error: 'u201cTemp' was not declared in this scope
sketch_aug14a:19: error: 'u201d' was not declared in this scope
sketch_aug14a:21: error: 'C' was not declared in this scope
sketch_aug14a:23: error: 'u201cHumidity' was not declared in this scope
sketch_aug14a:25: error: 'u201c' was not declared in this scope

Thank you very much!!

Re: Problem compile DHT11 with 1602 sample

Posted: Thu Aug 16, 2012 9:14 am
by techsupport
Hi friend;

Thanks for your attention. Some characters in the code go wrong when editing, now I've modified.