Skip to content
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

need help with compile and upload #7

Open
DDNRN opened this issue Jan 23, 2015 · 6 comments
Open

need help with compile and upload #7

DDNRN opened this issue Jan 23, 2015 · 6 comments

Comments

@DDNRN
Copy link

DDNRN commented Jan 23, 2015

I tried to compile and upload from Arduino Ide to an UNO under Win7 but doesn't work.
First copied the 4 folders "DHTlib; Keypad; ... " with its files from "libraries" into the Arduino "libraries" folder, looks like all folders and files in there. They are listed in the IDE under Library-Menu-List.
Then open the "homeduino.ino" file from folder on desktop.
When I try to compile (check) or Upload there ar a lot of err messages starting with "'RFControl' has not been declared" :

In file included from homeduino.ino:7:
/rfcontrol.h: In function 'void rfcontrol_loop()':
rfcontrol.h:7: error: 'RFControl' has not been declared
... 
In file included from homeduino.ino:12:
/dht.h: At global scope:
dht.h:4: error: 'dht' does not name a type
/dht.h: In function 'void dht_command()':
dht.h:23: error: 'DHT' was not declared in this scope
...
homeduino:133: error: 'RFControl' has not been declared

can you help me?

@DDNRN DDNRN changed the title need help with compile an upload need help with compile and upload Jan 23, 2015
@DDNRN
Copy link
Author

DDNRN commented Jan 24, 2015

OK its running.
I did it from Raspi side following the instructions on pimatic-homeduino site.

but:
a) there are no messages after "make monitor", even not a PING.
So I lost a lot of time just because I thought it is not working, inside Pimatic everything works fine.
Using some PIN -Switches and DHT22 .. and maybe more today ...

b) It is still not working from Arduino IDE under Windows

Maybe anyone can fix the two points to help following people ;-)

@flybysun
Copy link

I also had the problem with compiling the project in Windows.
Directly on the raspberry running wheezy it worked fine the way you described it.
Maybe one could give some advice on how to compile it with the Win-Arduino IDE.

@Icesory
Copy link
Contributor

Icesory commented Mar 25, 2015

In the arduino IDE you have to implement the librarys direct to the sketch.
Look there
https://github.com/Icesory/homeduino/blob/master/homeduino.ino#L1-L4

@flybysun
Copy link

Perfect, thanks a lot! Somehow I completely forgot about that.
Now it's working fine, even in Windows.

@bjoerns1983
Copy link

Maybe this should be merged into the regular Master?

@Icesory
Copy link
Contributor

Icesory commented Apr 12, 2015

A pull request is open for this.

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

No branches or pull requests

5 participants