Search the Community
Showing results for tags 'energia ide'.
-
So I'm getting an "X" not declared in this scope error. All I'm trying to do is blink the internal LEDs on my launchpad using external buttons. I know this subject has been brought up before but nothing in the other threads were helpful. I am running Energia 1.8.11E23 on windows 10 and I am using a MSP-EXP430F5529LP. My code is as follows: int button1 = P2_5; Int button2 = P2_4; Int button1State =0; Int button2State=0; void loop() { pinMode(LED1,OUTPUT); pinMode(LED2,OUTPUT); pinMode (button1, INPUT); pinMode (button2, INPUT); } void
-
Hi, i'm trying to run AT commands on HC-05 connected to MSP430G2553. The code below works on Arduino but i need to do it with MSP430. I changed the pins to match the MSP, tried to run the code but i see nothing on serial monitor. Total noob here and needs help. #include <SoftwareSerial.h> SoftwareSerial BTSerial(3, 4); void setup() { pinMode(9, OUTPUT); // this pin will pull the HC-05 pin 34 (key pin) HIGH to switch module to AT mode digitalWrite(9, HIGH); Serial.begin(9600); Serial.write("Enter AT commands:"); BTSerial.begin(38400); // HC-05 de
-
here is one of the g++ command lines that gets generated by the energia ide during compilation problem macro name is highlighted in red "E:\programming\MSP430_launchpad\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2 -Wall -Wextra -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=msp430f5529 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430F5529LP -DENERGIA_ARCH_MSP430 -IE:\programming\MSP430_launchpad\energia-1.6.10E18\hardware\tools\msp430/include "-IE:\programming\MSP430_launchpad\energia-1.6.10