Repurposing Media as a proof read diff viewer
Repurposing Media as a proof read diff viewer
| #include <Arduino.h> | |
| #include <U8g2lib.h> | |
| #define LED_PIN 8 | |
| #define I2C_SDA_PIN 5 | |
| #define I2C_SCL_PIN 6 | |
| static unsigned int count = 0; |
| const unsigned char gImage_BW[58080] PROGMEM= { /* 0X40,0X01,0X70,0X03,0X10,0X02, */ | |
| 0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF, | |
| 0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF, | |
| 0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF, | |
| 0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF, | |
| 0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF, | |
| 0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF, | |
| 0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XB7,0X7F, | |
| 0XFB,0XBB,0XFB,0XBB,0X77,0XB3,0XBB,0XFE,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF, | |
| 0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF, |
| #include <Arduino.h> | |
| const int pinCount = 14; | |
| int pins[pinCount] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 21}; | |
| void setup() { | |
| Serial.begin(115200); | |
| delay(3000); | |
| Serial.println("Setup done"); | |
| for (int i = 0; i < pinCount; i++) { |
| # Generated Cmake Pico project file | |
| cmake_minimum_required(VERSION 3.13) | |
| set(CMAKE_C_STANDARD 11) | |
| set(CMAKE_CXX_STANDARD 17) | |
| # initalize pico_sdk from installed location | |
| # (note this can come from environment, CMake cache etc) | |
| #set(PICO_SDK_PATH "D:/Raspberry/Pico-Code/pico-sdk") |
| // #include <M5GFX.h> | |
| #include <LovyanGFX.hpp> | |
| #include <Arduino.h> | |
| #define CHK_PIN 25 | |
| #define SCL_SCLK 26 | |
| #define SDA_MOSI 25 | |
| #define CS_CS 32 | |
| #define DC_DC 33 |
| /** | |
| * @file lv_conf.h | |
| * Configuration file for v8.3.5 | |
| */ | |
| /* | |
| * Copy this file as `lv_conf.h` | |
| * 1. simply next to the `lvgl` folder | |
| * 2. or any other places and | |
| * - define `LV_CONF_INCLUDE_SIMPLE` |
| #include <Arduino.h> | |
| static unsigned int count = 0; | |
| void setup() | |
| { | |
| Serial.begin(115200); | |
| Serial.println("Hello World!"); | |
| } |
| /** | |
| { | |
| "api":1, | |
| "name":"Base64 to bytebuffer", | |
| "description":"Base64 - ByteBuffer", | |
| "author":"palani", | |
| "icon":"01.square.fill", | |
| "tags":"bytebuffer, base64" | |
| } | |
| **/ |