Comments (3)
Strange. Trying to create a minimal repro lead me to this:
Super_Simple_RGB_WiFi_Lamp.ion
void setup() {
a();
}
void loop() {
}
Config.ino
void a() {
}
Results in:
/home/lm/git/lm/brettl/Super-Simple-RGB-WiFi-Lamp/Super_Simple_RGB_WiFi_Lamp/Super_Simple_RGB_WiFi_Lamp.ino: In function 'void setup()':
Super_Simple_RGB_WiFi_Lamp:2:5: error: 'a' was not declared in this scope
a();
^
exit status 1
'a' was not declared in this scope
It works once I add the forward declaration before the setup function:
void a();
Strange. Really seems the IDE fails to add those forward declarations.
from super-simple-rgb-wifi-lamp.
i have no idea if #13 is a good solution, for me it fixes the problem anyway
from super-simple-rgb-wifi-lamp.
Certainly interesting issues here.
I don't know if because you are using Linux but something may have changed and I haven't heard of this problem from anyone else yet. Although it does seem to be an IDE issue, the solution falls to who ever is writing the sketch. So this is a weird error to patch to say the least.
At this stage i'm not sure that I will just to keep the sketch looking simple to allow more beginner programmers to hopefully follow along. If you have managed to fix your issue in that pull, I will keep it open and potentially merge it in later if the problem persists.
Thanks for the feedback, much appreciated
from super-simple-rgb-wifi-lamp.
Related Issues (19)
- Super-Simple-RGB-WiFi-Lamp (Clock, Night rider and Bell curve error) HOT 3
- Question: Web page implementation HOT 2
- Error in compiling HOT 3
- Feature Request: Create global brightness slider in UI HOT 7
- No web interface HOT 7
- Feature Request: Encapsulate settings / config in extra file HOT 4
- Fadetoblack gives one extra full light glimp HOT 12
- Flickering LEDs + Possible solution HOT 10
- Library Development Discussion
- Switching between config pages allways turns on the Lamp HOT 3
- Add support for Amazon Alexa HOT 4
- Webpage not loading format or responding to light strip interaction HOT 4
- Miss spelling in web page HOT 1
- SaturationFade error HOT 1
- Problem: SSID and Password is not permanent HOT 1
- OTA HOT 3
- OTA not working most of the time HOT 6
- Suggestion HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from super-simple-rgb-wifi-lamp.