Skip to content
This repository was archived by the owner on Aug 23, 2024. It is now read-only.

Latest commit

 

History

History
31 lines (21 loc) · 333 Bytes

File metadata and controls

31 lines (21 loc) · 333 Bytes

Arduino-Util

Utils in Arudino.

Support platform

  • esp8226
  • esp32

Usage

Begin serial

int montior_speed = 115200;
beginSerial(montior_speed);

Sync time

int KST = 9 * 60 * 60; // UTC = 0;
syncTime(KST);

String to char

String str = "hello!";
char *ret = StringToChar(str);