Hello Everyone,
so I had my project perfectly working with Arduino IDE 0.23, but now after updating to IDE 1.0, nothing works >:(...I made the changes the explain the website, like adding Arduino.h in my library, and Serial.write not using BYTE anymore (I use this to send my data through my xbee, so I used to have Serial.write(data, BYTE), and now I have Serial.write(data) after they removed BYTE). Compilation goes well and I upload my program into the Arduino FIOs, but nothing works at all. I do not want to loose my time debugging lines of code since I need to finish this project soon that it is actually my thesis! I am just hoping someone run into the same issue and maybe found a solution. This info explains the changes in the Serial class, but I guess I am using Serial in the correct way now...I dont quite get what they mean with the behavior of the Serial.print, but I made the change...I am thinking that this might be the issue here....
-
Serial transmission is now asynchronous - that is, calls to
Serial.print(), etc. add data to an outgoing buffer which is transmitted
in the background. Also, the Serial.flush() command has been repurposed
to wait for outgoing data to be transmitted, rather than dropping
received incoming data. -
The behavior of Serial.print() on a byte has been changed to align it
with the other numeric data types. In particular, it will now print
the digits of its argument as separate ASCII digits (e.g. '1', '2', '3')
rather than a single byte. The BYTE keyword has been removed. To send a
single byte of data, use Serial.write() (which is present in Arduino 0022
as well).
Thank you!
Alex