playground project testing RP2040 (Pico) with SSD1309 2.42" OLED from AliExpress
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pico-ssd1309-test/oled.h

20 lines
366 B

//
// Created by MightyPork on 2022/12/28.
//
#ifndef TEST_PROJECT_OLED_H
#define TEST_PROJECT_OLED_H
#include <stdint.h>
#include <stddef.h>
void oled_init();
void oled_reset();
void oled_command(uint8_t cmd);
void oled_command16(uint8_t cmd, uint8_t arg);
void oled_invert(bool invert);
void oled_data(uint8_t *data, size_t len);
#endif //TEST_PROJECT_OLED_H