Category : arduino-uno

Actually I have created a node server for storing data, and i want to implement web socket connection from nodemcu to node.js server. For that I’m using SocketIoClient library, following is the code: #include <Arduino.h> #include <ESP8266WiFi.h> #include <ESP8266WiFiMulti.h> #include <SocketIoClient.h> #define USE_SERIAL Serial ESP8266WiFiMulti WiFiMulti; SocketIoClient webSocket; void event(const char * payload, size_t length) ..

Read more

What is the Mac OS X alternative to HANDLE, COMSTAT and DWORD in the SerialPort.hpp? The files are for my game pad controller which I am going to use for my Arduino Uno Gamepad 😀 Note: The files are from Manish Kumar Mandal’s Blog, his GitHub for serial port communication. Code: 1)SerialPort.cpp 2)SerialPort.hpp Thanks 😀 ..

Read more

I’ve been pulling my hair out trying to figure out what’s wrong with my setup/code here. I have an Arduino UNO controlling a 5M RGB LED strip connected to a PC with a custom application to send serial data to control it. For the purpose of testing though, I’m using the Arduino serial monitor to ..

Read more

So I am doing a project which involves serial communication between a rsp and an arduino Uno. The code for spitting the string uses this line: sp = strchr(data, ‘ ‘); However my compiler chucks an error saying that sp is not declared in this scope. I tried to put it before the loops but ..

Read more