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
| /* | |
| xdrv_99_esp32_webcamberry.ino - ESP32 webcam support for Tasmota | |
| Copyright (C) 2021 Gerhard Mutz and Theo Arends | |
| This program is free software: you can redistribute it and/or modify | |
| it under the terms of the GNU General Public License as published by | |
| the Free Software Foundation, either version 3 of the License, or | |
| (at your option) any later version. |
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 | |
| def init() | |
| import gpio |
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 |
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 WEATHER_DASHBOARD : Driver | |
| var weather_data | |
| var forecast_data | |
| var widget_rotation | |
| var last_update | |
| var widget_content # Global class var to hold widget string | |
| def init() | |
| self.weather_data = nil | |
| self.forecast_data = nil |
NewerOlder