This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ESP32-Chimera-Core.h> | |
#define tft M5.Lcd | |
const uint16_t palette[] = { | |
63488, 63520, 63584, 63616, 63680, 63712, 63776, 63808, | |
63872, 63904, 63968, 64000, 64064, 64096, 64160, 64192, | |
64224, 64288, 64320, 64384, 64416, 64480, 64512, 64576, | |
64608, 64672, 64704, 64768, 64800, 64864, 64896, 64960, | |
64992, 65056, 65088, 65152, 65184, 65248, 65280, 65344, | |
65376, 65440, 65472, 65504, 63456, 63456, 61408, 59360, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/*\ | |
Json Package splitter for Arduino IDE and espressif esp32 SDK. | |
Copyleft tobozo 2022 | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Compound oscillation demo for ESP32 | |
// Loosely coded by tobozo (c+) apr 2022 - | |
// Inspired by this GIF | |
// - https://twitter.com/bayraitt/status/1514499189975134210 | |
#include <ESP32-Chimera-Core.h> // https://github.com/tobozo/ESP32-Chimera-Core | |
static LGFX &tft(M5.Lcd); | |
static LGFX_Sprite* spriteLines = new LGFX_Sprite( &tft ); | |
static LGFX_Sprite* spriteMix = new LGFX_Sprite( &tft ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SPIFFS.h> | |
#include <LittleFS.h> | |
#include <vector> | |
struct CacheFile_t | |
{ | |
uint8_t* buffer{nullptr}; | |
size_t len{0}; | |
std::string path; | |
}; |
OlderNewer