Skip to content

sangsangfarm/Arduino-Util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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);