The text-processing tag has no usage guidance.
0
votes
0answers
20 views
Parsing UDP text from a Command using UDP
I want to send a parameter from my computer (i.e using Hercules software) using UDP protocol to my Arduino with Ethernet shield to turn 2 LED on and off (each of them).
The command I'm using is:
...
0
votes
1answer
50 views
How to get string parts from string? [duplicate]
I have this method:
void getWeatherData() {
String resp = "";
Process p;
p.begin("python2.7");
p.addParameter("/root/weather.py");
p.run();
while (p.available() > 0) {
...
0
votes
1answer
3k views
arduino program got error expected //primary-expression before ')' token error: //expected ';' before '}' token E
#include "pulse-sensor-arduino.h"
#include "Arduino.h"
#define PulseSensorbegin
int pulsePin = 0;
int blinkPin = 13;
int fadePin = 5;
int fadeRate = ...
5
votes
1answer
586 views
Serial.write and Serial.println return different values? Cannot use correct ones
I have a text file on an SD card, and I am trying to print the lines to the serial monitor.
This Code Works:
#include <SPI.h>
#include <SD.h>
File myFile;
void setup()
{
...
0
votes
2answers
208 views
Simple word translator, return error: invalid array assignment
I know this is not a good question. But I am clueless with this error : invalid array assignment (at function convert). For extra information, I involved a lot of copying/pasting programs I haven't ...
0
votes
1answer
177 views
Simple Text input using 5 buttons
So I have to get this function done but I'm not so bright and got confused.
(excuse me! I'm total noob)
The function is basically inputing text using five buttons, directional buttons and an ok ...
0
votes
3answers
1k views
Program got so many errors about expected ) or ; before either
This is my first time to try program arduino, and I am clueless. I have a friend who told me about things work, and he told me the programming language is C (or similar to C) which we have learned in ...
0
votes
1answer
480 views
Slice string at “:”
I need to slice a string (eg- 4:288:18464:288:4) at ":" into an array({4, 288, 18464, 288, 4}) I used the following code, but its giving only '4' in the serial monitor when "4:288:18464:288:4," is ...