Problem compile DHT11 with 1602 sample
Posted: Tue Aug 14, 2012 2:52 pm
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!!
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!!