Go Down

Topic: Arduino DUE X10 library (Read 1 time) previous topic - next topic

Apr 08, 2013, 03:14 pm Last Edit: Apr 08, 2013, 04:57 pm by albertoal Reason: 1
Hi everybody,

I'm working on a project where we made use of your X10 library. Actually, we tried to compile this project for the new Arduino DUE but we get the following error (we get the same error if trying to compile one of the x10 examples):

Quote

E:\Alberto\Dropbox\Software\Arduino\Compiladores\arduino_nightly_1.5\libraries\x10\x10.cpp: In member function 'void x10Class::waitForZeroCross(int, int)':
E:\Alberto\Dropbox\Software\Arduino\Compiladores\arduino_nightly_1.5\libraries\x10\x10.cpp:199: error: invalid conversion from 'Pio* const' to 'uint8_t'
E:\Alberto\Dropbox\Software\Arduino\Compiladores\arduino_nightly_1.5\libraries\x10\x10.cpp:203: error: base operand of '->' is not a pointer
E:\Alberto\Dropbox\Software\Arduino\Compiladores\arduino_nightly_1.5\libraries\x10\x10.cpp:204: error: base operand of '->' is not a pointer
E:\Alberto\Dropbox\Software\Arduino\Compiladores\arduino_nightly_1.5\libraries\x10\x10.cpp:207: error: base operand of '->' is not a pointer


I've searched information about this error but I get nothing. So I would like to ask you if do you have any clues in how to solve this error or if there is a DUE ready version ofthe library coming.

madias

Did you ever got a answer about this problem?
I'm struggling with the same problem with a different library, but this is not the only problem. It would be nice for a documentation how to convert libraries from avr to sam. (not only spi...)

Go Up