Arduino and XM10

Forum about Xanura, Eaton Holec and Marmitek and other brand X10 and A10 devices.
Post Reply
Henk
Member
Member
Posts: 450
Joined: Sat May 06, 2006 10:54 pm
Location: Netherlands

Arduino and XM10

Post by Henk »

I would like to use an XM10 to send X10 commands from the Arduino .... i got some x10 libraries but got problems during the compilation
Anybody with experiences and interest to help me ?

Henk
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Re: Arduino and XM10

Post by Digit »

What problems do you have with compilation, can you be a bit more specific?
Or just send the whole bunch of files (everything) you have to compilerservice at hekkers dot net and I'll see what I can do :wink:
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Re: Arduino and XM10

Post by Digit »

This library is not suitable for the Arduino 1.0 IDE yet. This can be fixed by editing x10.h and x10.cpp where

Code: Select all

#include "WProgram.h"
has to be changed to

Code: Select all

//#include "WProgram.h"
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
Post Reply

Return to “X10, A10 Xanura Marmitek Forum”