Pages: [1]   Go Down
Author Topic: Arduino + Ethernet Shield - X10, RF, IR Code won't compile...  (Read 2003 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi All,

First time on this forum and I'm a newbie who is probably in over his head.
I have an Arduino Duemilanove ATmega168 and an Ethernet Shield.

The end goal for me was to have a webpage running on the Arduino that would allow me to send X10.

I have managed to get several bits of code to work on the Arduino and currently have the the following code from this website in there working just fine.  It toggles the LED ON/OFF via the webpage perfectly so I know my Arduino + Ethernet Shield are working;

http://code.google.com/p/webduino/

I started with this code because what I ultimately want to do is be able to send/receive X10 via the webpage.  It seems someone has already done it and included the ability to use RF and IR which is a bonus.  See below for the project details and code;

http://load-8-1.blogspot.com/2010/06/x10-plc-rf-ir-and-computer-interface.html
http://code.google.com/p/arduino-x10/

My only problem is that this code wont compile.  I'm using IDE 0022 and have all the required X10 libraries copied into the Libraries Folder.  The error message I'm getting is;

X10_Ethernet.cpp: In function 'void processEthernetRequest()':
X10_Ethernet:407: error: 'class X10ex' has no member named 'setModuleName'

I get this when I choose ATmega168 Mode on the IDE which is what my board is.  Strange this is, when I choose ATmega328, the code will compile but I cannot upload this into the board because its not compatible with what I have.

Any help would be appreciated.

Cheers
Logged

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

Anyone?
Logged

Pages: [1]   Go Up
Jump to: