Pages: [1]   Go Down
Author Topic: problem with sensornet of maniacbug, anyone can help me !!!!  (Read 732 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I download sourcecode from http://maniacbug.github.io/RF24Network/index.html . In examples sensornet, I can't complie it.
This error :
sensornet:99: error: 'Timer' does not name a type
sensornet:102: error: 'Button' does not name a type
sensornet:105: error: 'Button' does not name a type
sensornet:147: error: expected class-name before '{' token
sensornet.ino: In member function 'virtual void StartupLEDs::onFired()':
sensornet:166: error: 'disable' was not declared in this scope
sensornet.ino: In constructor 'StartupLEDs::StartupLEDs(const LED**, int)':
sensornet:170: error: class 'StartupLEDs' does not have any field named 'Timer'
sensornet.ino: At global scope:
sensornet:179: error: expected class-name before '{' token
sensornet.ino: In constructor 'CalibrationLEDs::CalibrationLEDs(const LED**, int, long unsigned int)':
sensornet:196: error: class 'CalibrationLEDs' does not have any field named 'Timer'
sensornet:198: error: 'Timer' has not been declared
sensornet.ino: In member function 'void CalibrationLEDs::begin()':
sensornet:202: error: 'Updatable' has not been declared
sensornet.ino: In member function 'void CalibrationLEDs::reset()':
sensornet:208: error: 'Timer' has not been declared
sensornet.ino: In member function 'void CalibrationLEDs::disable()':
sensornet:214: error: 'Timer' has not been declared
sensornet.ino: In function 'void setup()':
sensornet:325: error: 'ButtonA' was not declared in this scope
sensornet:326: error: 'ButtonLong' was not declared in this scope
sensornet:336: error: 'send_timer' was not declared in this scope
sensornet:337: error: 'class StartupLEDs' has no member named 'begin'
sensornet.ino: In function 'void loop()':
sensornet:361: error: 'theUpdater' was not declared in this scope
sensornet:402: error: 'send_timer' was not declared in this scope
sensornet:478: error: 'send_timer' was not declared in this scope
sensornet:481: error: 'send_timer' was not declared in this scope
sensornet:491: error: 'send_timer' was not declared in this scope
sensornet:491: error: no match for 'operator!' in '!startup_leds'
sensornet.ino:491: note: candidates are: operator!(bool) <built-in>
sensornet:564: error: 'ButtonA' was not declared in this scope
sensornet:569: error: could not convert 'startup_leds' to 'bool'
sensornet:588: error: 'ButtonLong' was not declared in this scope


Anyone know clear about this, can help me fix that, I'm really grateful
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

up!!!!!!!!!!!!!!!!!!!!!!!!
Logged

Belgium
Offline Offline
Newbie
*
Karma: 2
Posts: 25
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The first error indicates that the compiler can't find the library in your path.
Did you place the library in the 'libraries' folder?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

anyone can help me !!!
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Have You tictocs library?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have different problem - I cannot setup my arduino to act as a master... when I send 00N via serial (to setup an address) I get "ERROR: This sketch cannot run on node 00″  every time..

Anyone can configure base station wit 00 address?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thank, I download tictoc lib and it run. Thank for help me ^^
Logged

Pages: [1]   Go Up
Jump to: