An open API service indexing awesome lists of open source software.

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

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)