Go Down

Topic: "Correct" method for migrating libs to Arduino 1.0 (Read 5642 times) previous topic - next topic


BTW, Serial.write(byte) (and other Print sub-classes) should work in 0022 /0023 as well as 1.0.  So if you have code that currently does Serial.print(n, BYTE), you should be able to change it to Serial.write() and maintain compatibility. 

Great! Thanks. I'm not using print(n, BYTE) but I'll write a blog post on how to do the library conversion with what you mentioned above. I'm sure someone will need to do it for some libraries.

Paul Stoffregen

I'm stuck on why using write('\0') won't work in 1.0

I recently fixed this in LiquidCrystalFast, version 1.1.


This same problem was recently fixed in Wire (will become part of Arduino 1.0.1)


Go Up