Month: April 2022
Serial.find() – Arduino Reference was last modified: April 21st, 2022 by
arduino-examples/SerialEvent.ino at main · arduino/arduino-examples · GitHub
| /* | |
| Serial Event example | |
| When new serial data arrives, this sketch adds it to a String. | |
| When a newline is received, the loop prints the string and clears it. | |
| A good test for this is to try it with a GPS receiver that sends out | |
| NMEA 0183 sentences. | |
| NOTE: The serialEvent() feature is not available on the Leonardo, Micro, or | |
| other ATmega32U4 based boards. | |
| created 9 May 2011 | |
| by Tom Igoe | |
| This example code is in the public domain. | |
| https://www.arduino.cc/en/Tutorial/BuiltInExamples/SerialEvent | |
| */ | |
| String inputString = ““; // a String to hold incoming data | |
| bool stringComplete = false; // whether the string is complete | |
| void setup() { | |
| // initialize serial: | |
| Serial.begin(9600); | |
| // reserve 200 bytes for the inputString: | |
| inputString.reserve(200); | |
| } | |
| void loop() { | |
| // print the string when a newline arrives: | |
| if (stringComplete) { | |
| Serial.println(inputString); | |
| // clear the string: | |
| inputString = ““; | |
| stringComplete = false; | |
| } | |
| } | |
| /* | |
| SerialEvent occurs whenever a new data comes in the hardware serial RX. This | |
| routine is run between each time loop() runs, so using delay inside loop can | |
| delay response. Multiple bytes of data may be available. | |
| */ | |
| void serialEvent() { | |
| while (Serial.available()) { | |
| // get the new byte: | |
| char inChar = (char)Serial.read(); | |
| // add it to the inputString: | |
| inputString += inChar; | |
| // if the incoming character is a newline, set a flag so the main loop can | |
| // do something about it: | |
| if (inChar == ‘\n‘) { | |
| stringComplete = true; | |
| } | |
| } | |
| } |
Source: arduino-examples/SerialEvent.ino at main · arduino/arduino-examples · GitHub
arduino-examples/SerialEvent.ino at main · arduino/arduino-examples · GitHub was last modified: April 21st, 2022 by
Fatal Errors – ESP32 – — ESP-IDF Programming Guide latest documentation
Source: Fatal Errors – ESP32 – — ESP-IDF Programming Guide latest documentation
Fatal Errors – ESP32 – — ESP-IDF Programming Guide latest documentation was last modified: April 21st, 2022 by
Build your own linux kernel
Lxf287
Build your own linux kernel was last modified: April 17th, 2022 by
Arduino – Serial port buffer size mod
Arduino – Serial port buffer size mod was last modified: April 17th, 2022 by
Rockchip based TV-Players – FreakTab
Rockchip based TV-Players – FreakTab was last modified: April 16th, 2022 by
Firmware upgrade — Firefly Wiki
https://wiki.t-firefly.com/en/Firefly-RK3128/Flash_Image.html
Firmware upgrade — Firefly Wiki was last modified: April 16th, 2022 by
Geolocation – Home Assistant
https://www.home-assistant.io/integrations/geo_location/
Geolocation – Home Assistant was last modified: April 14th, 2022 by
Getting started with socat, a multipurpose relay tool for Linux
Source: Getting started with socat, a multipurpose relay tool for Linux | Enable Sysadmin
Getting started with socat, a multipurpose relay tool for Linux was last modified: April 13th, 2022 by
Dandelion: Health Benefits and Side Effects
Маслачак, глуварче
https://www.healthline.com/nutrition/dandelion-benefits#TOC_TITLE_HDR_2
Dandelion: Health Benefits and Side Effects was last modified: April 12th, 2022 by
How to load balance Microsoft Windows FTP Server with HAProxy
Source: How to load balance Microsoft Windows FTP Server with HAProxy
How to load balance Microsoft Windows FTP Server with HAProxy was last modified: April 11th, 2022 by
networking – How to configure haproxy port range to range one by one? – Stack Overflow
ShareFollow
Source: networking – How to configure haproxy port range to range one by one? – Stack Overflow
networking – How to configure haproxy port range to range one by one? – Stack Overflow was last modified: April 11th, 2022 by