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
| # in preinit.be: load("/ov02c10.be") | |
| class CSI_Sensor | |
| var name | |
| var wire | |
| var addr | |
| static REG_END = 0xFFFF | |
| static REG_DELAY = 0xFFFE | |
| def init(name, addr) |
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
| <!DOCTYPE html> | |
| <html><head><meta charset='utf-8'><title>16-Band Visualizer</title> | |
| <style>body{margin:0;overflow:hidden;background:#000}canvas{display:block}</style> | |
| </head><body> | |
| <canvas id='c'></canvas><script> | |
| // ================================================================ | |
| // TUNING | |
| var AMP = 2.75; // wave height multiplier (try 1.0 .. 5.0) | |
| var SPEED = 5.6; // scroll rate rad/s (try 0.1 .. 2.0) | |
| var HZ = 50; // input packet rate Hz (50=dev 5x, 10=real) |
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
| # ES8311 Audio Codec Driver for Berry | |
| # HW: GUITION JC1060P470, may work with the ESP32P4-EV too | |
| # pa_power pin GPIO 20 | |
| class ES8311 | |
| var i2c | |
| var pa_pin | |
| def init(pa_pin) |
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
| #ifndef _UDISPLAY_SPI_CONTROLLER_H_ | |
| #define _UDISPLAY_SPI_CONTROLLER_H_ | |
| #include <Arduino.h> | |
| #include <SPI.h> | |
| #ifdef ESP32 | |
| #include "soc/spi_reg.h" | |
| #include "soc/spi_struct.h" | |
| #include "esp32-hal-spi.h" |
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
| class LVGLBenchmark | |
| var scr, hres, vres | |
| var test_running, current_test, frame_count, start_time, test_duration | |
| var status_label, test_objects, results, anim_counter, anim_loop | |
| var font_small, font_normal, font_large | |
| var header_height, result_line_height | |
| var is_small_screen, is_large_screen, scale_factor | |
| def init() | |
| lv.start() |
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
| #- Web Radio Player UI for Tasmota LVGL -# | |
| #- Beautiful interface for streaming internet radio -# | |
| class WebRadioPlayer | |
| var scr | |
| var hres | |
| var vres | |
| var stations | |
| var current_station_idx | |
| var volume |
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
| #- Dashboard for Tasmota -# | |
| #- Beautiful tile-based smart home control -# | |
| class HomeDashboard | |
| var scr | |
| var hres | |
| var vres | |
| var tiles | |
| var devices | |
| var header_height |
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
| # Two Dots for LVGL | |
| class TwoDotsGame | |
| var scr, layer | |
| var grid, grid_size | |
| var dot_objects | |
| var score, moves, target_score, level | |
| var score_label, moves_label, target_label | |
| var hres, vres, dot_size, grid_start_x, grid_start_y, padding | |
| var current_path, path_lines |
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
| #- 2048 Game for Tasmota LVGL -# | |
| #- Swipe to play -# | |
| class Game2048 | |
| var scr | |
| var grid | |
| var tiles | |
| var score | |
| var best_score | |
| var score_label |
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
| class APPLE_WEATHER_APP : Driver | |
| var data_buffers | |
| var update_index | |
| var pending_widget | |
| var current_values | |
| var last_update | |
| var hourly_forecast | |
| var daily_forecast | |
| static BUFFER_SIZE = 24 |
NewerOlder