Problem compile DHT11 with 1602 sample

Post Reply
dinokent
Posts: 1
Joined: Tue Aug 14, 2012 10:23 am

Problem compile DHT11 with 1602 sample

Post 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!!
User avatar
techsupport
Site Admin
Posts: 210
Joined: Sat Mar 03, 2012 2:32 pm

Re: Problem compile DHT11 with 1602 sample

Post by techsupport »

Hi friend;

Thanks for your attention. Some characters in the code go wrong when editing, now I've modified.
Your real trustworthy partner in China!!
Email: forum@geeetech.com
Post Reply