
sketchy
-
Content Count
4 -
Joined
-
Last visited
Posts posted by sketchy
-
-
Forgive if this is a naive question. I don't want to trample down a hw/sw path that does not work.
Can someone please tell me if indeed it is possible with Launchpad MSP430g2553 w/ Energia (then XCodeEmbedded+ on top of that) to write a .ino sketch that does I2C in the same way it works on an Arduino Uno w/o Energia? i.e.:
#include <Wire.h>
void setup() {
Wire.begin();
Wire.requestFrom(ADDRESS, 2); //assume ADDRESS is defined
}
if so, it seems there are difficulties in getting this interface to work. Is there a list of difficulties with suggestions on resolutions (say a FAQ) for this?
thank you.
-
thanks very much. I did try #include <cstdlib.h> with no success :-(.
-
I am using embedXCode+ on a Launchpad MSP430I am trying to use arduino-menusystem: https://github.com/jonblack/arduino-menusystem. The MenuSystem.cpp uses realloc(). While this works fine if the board is Arduino Uno, I get a "not declared in this scope" when building for the Launchpad.Is there a better dynamic memory allocation routine to use when writing for the Arduino IDE? OR advice on how to fix this? (thank you)
I2C not working MSP430g2553 launchpad
in Energia - MSP
Posted
Thanks. I will follow up with the suggestions. Very much appreciate your advice.