Skip to content

Update thundercloud.ino #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Update thundercloud.ino #3

wants to merge 1 commit into from

Conversation

gino-demo
Copy link

No description provided.

@gino-demo gino-demo closed this Jan 18, 2017
Copy link

@tikiman24 tikiman24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get these errors when I try to verify the code.

Arduino: 1.8.7 (Mac OS X), Board: "Arduino/Genuino Uno"

In file included from /Users/user/Documents/Arduino/newcloud/newcloud.ino:2:0:
/Users/user/Documents/Arduino/libraries/FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.002.001

pragma message "FastLED version 3.002.001"

                 ^

/Users/user/Documents/Arduino/newcloud/newcloud.ino:66:16: warning: overflow in implicit constant conversion [-Woverflow]
int loopTime = 21600000; //(6H) || 86400000 (24H)
^
/Users/user/Documents/Arduino/newcloud/newcloud.ino: In function 'void loop()':
newcloud:138:26: error: too few arguments to function 'void thunder(int, int, int, int, int)'
case ON: thunder();reset();break;
^
/Users/user/Documents/Arduino/newcloud/newcloud.ino:363:6: note: declared here
void thunder(int intensity, int thunderDelayMin, int thunderDelayMax, int crackDelayMin, int crackDelayMax){
^
/Users/user/Documents/Arduino/newcloud/newcloud.ino: In function 'void detect_thunder()':
newcloud:261:30: error: too few arguments to function 'void thunderburst(int)'
thunderburst();
^
/Users/user/Documents/Arduino/newcloud/newcloud.ino:333:6: note: declared here
void thunderburst(int intensity){
^
/Users/user/Documents/Arduino/newcloud/newcloud.ino: In function 'void setParamsTempest()':
newcloud:398:9: error: 'intensityTempest' was not declared in this scope
intensityTempest = random(20,100);
^
newcloud:401:9: error: 'intensityTempest' was not declared in this scope
intensityTempest = random(60,180);
^
newcloud:404:9: error: 'intensityTempest' was not declared in this scope
intensityTempest = random(190,255);
^
newcloud:407:9: error: 'intensityTempest' was not declared in this scope
intensityTempest = random(140,210);
^
newcloud:410:9: error: 'intensityTempest' was not declared in this scope
intensityTempest = random(180,255);
^
newcloud:413:9: error: 'intensityTempest' was not declared in this scope
intensityTempest = random(90,160);
^
newcloud:416:9: error: 'intensityTempest' was not declared in this scope
intensityTempest = random(20,80);
^
exit status 1
too few arguments to function 'void thunder(int, int, int, int, int)'

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants