16 M5.
Display.printf(
"Please push cursor keys.\nButtonA == Left key\nButtonB == Down key\nButtonC == Right key\nButtonPWR == Up key\n");
25 M5.
Display.fillCircle(td.x, td.y, 64, rand());
26 int32_t tone = 880 + td.x + td.y;
50 #if defined ( ESP_PLATFORM ) && !defined ( ARDUINO )
52 int app_main(
int,
char**)
#define M5_LOGI(format,...)
Output Info log with source info.
#define M5_LOGE(format,...)
Output Error log with source info.
#define M5_LOGD(format,...)
Output Debug log with source info.
#define M5_LOGW(format,...)
Output Warn log with source info.
#define M5_LOGV(format,...)
Output Verbose log with source info.
m5::M5Unified M5
global instance.
void begin(void)
Perform initialization process at startup.
void update(void)
To call this function in a loop function.
static void delay(uint32_t msec)
bool tone(float frequency, uint32_t duration, int channel, bool stop_current_sound, const uint8_t *raw_data, size_t array_len, bool stereo=false)
const touch_detail_t & getDetail(std::size_t index=0) const