Search the Community
Showing results for tags 'processing'.
-
On the 'Serial Communication' wiki entry, I see that the 'Software UART' case has not been elaborated or explained, unlike the Hardware UART feature available on v1.5 Launchpads. Can it be used to communicate with a Processing sketch running on PC (running Linux) ? Can someone please confirm that they have got the serial communication working (bidrectional) between MSP launchpad ?
- 12 replies
-
- uart
- processing
-
(and 1 more)
Tagged with:
-
I am trying to run an Arduino program on MSP-430G2452 using Energia. My code is sending data to PROCESSING(I.D.E.) on my computer via usb, to change the colour of a box(made using processing) when a switch is pressed. But it seems that the processing is not receiving anything from the board. Can anybody please tell me what wrong I am doing ? The same code is running properly with the Arduino! CODE FOR ENERGIA:- int switchPin = 7; int LEDPin = 13; void setup() { pinMode (switchPin, INPUT); pinMode (LEDPin, OUTPUT); Serial.begin(9600); } void loop() { if (digitalRead(swi
-
I am trying to run an Arduino program on MSP-430G2452 using Energia. My code is sending data to PROCESSING(I.D.E.) on my computer via usb, to change the colour of a box when a switch is pressed. But it seems that the processing is not receiving anything from the board . Can anybody please tell me what wrong I am doing ? The same code is running properly on Arduino ! CODE FOR ENERGIA: int switchPin = 6; int LEDPin = 2; void setup() { pinMode (switchPin, INPUT_PULLUP); pinMode (LEDPin, OUTPUT); Serial.begin(4800); } void loop() { if (digitalRead(switchPin) == HIGH) { Seria
-
Hello everyone I wrote the following code to run a stepper motor in arduino depending upon a UART signal. The UART signal came from processing 2 code. Now instead of an arduino board i want to run the same code on my TIVA C series tm4c123gh6m launch pad what should i do. Note- I used digital pins 8,9,10,11 of the arduino to run the motor. What does 8,9,10,11 refer to in tiva C series? int a=8; int b=9; int c=10; int d=11; void setup() { Serial.begin(9600); pinMode(a, OUTPUT); pinMode(b, OUTPUT); pinMode(c, OUTPUT); pinMode(d, OUTPUT); establishContact(); }