Go Down

Topic: Problen with module robox IRdirection (Read 2 times) previous topic - next topic

Feder

Sep 11, 2012, 10:03 am Last Edit: Sep 11, 2012, 01:07 pm by Feder Reason: 1
Hi all.
I can not run the following module: http://www.cutedigi.com/robotics/irdirection-ir-breakout-with-uart.html
even with the simple example. I think it's a problem of the libraries. If anyone has ever used or known, please I would appreciate any help. Thank you.

dxw00d

Open Irdirection.cpp and replace
Code: [Select]
#include <WProgram.h>

with
Code: [Select]
#include "Arduino.h"

Feder

Thank you. I've done it, and have resolved all errors and I was able to load the program, but the module does not send any signal to arduino, I think there should be more errors in the library. I'll try to find them.

prashsaka

Hi Feder,

Did you figure out what the problem is and how to solve it? I too am having the same issue where there is no response back from ir.fireway() method. I am guessing it has to do with the line "if(i==97)" in Irdirection.cpp. I am guessing the code changed from 97 to something else.

Thanks.

Feder

Hi prashsaka,
I could not get a response from the module. I have not found the problem. Seek from the line of code that you show me, "if (i == 97)", to see if I find it.

Thanks.

Go Up