https://github.com/devel0/iot-arduino-utils
arduino utils
https://github.com/devel0/iot-arduino-utils
arduino iot library util
Last synced: about 2 months ago
JSON representation
arduino utils
- Host: GitHub
- URL: https://github.com/devel0/iot-arduino-utils
- Owner: devel0
- License: mit
- Created: 2018-10-11T11:48:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-30T00:23:58.000Z (over 7 years ago)
- Last Synced: 2025-04-02T00:37:35.728Z (about 1 year ago)
- Topics: arduino, iot, library, util
- Language: C++
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# iot-arduino-utils
arduino utils
## prerequisites
- [vscode arduino](https://github.com/devel0/knowledge/blob/master/doc/vscode-arduino.md)
## features
- save precious flash and ram when using serial debugging
## install
```sh
cd ~/Arduino/libraries
ln -s /iot-arduino-utils
```
## usage
- edit [DebugMacros.h](arduino-utils/DebugMacros.h) to define `SERIAL_SPEED` or define `SEARCHATHING_DISABLE` to disable serial debugging
```c++
#include
using namespace SearchAThing::Arduino;
void setup()
{
DPrintln("serial debug");
}
void loop()
{
DPrintln(millis());
delay(1000);
}
```
## references
- [SearchAThing.Arduino.Utils](https://github.com/SearchAThing-old1/SearchAThing.Arduino.Utils/tree/4cf806e9297652ae639bfaca4244a2742fd26a79#dprint)