Skip to content

Instantly share code, notes, and snippets.

@mteletin
mteletin / raspberry-tft-9.95-ili9488.md
Created January 3, 2023 10:08 — forked from actuino/raspberry-tft-9.95-ili9488.md
Cheap 3.95 TFT Screen with ili9488 from mcufriend on a Raspberry Pi Zero
@mteletin
mteletin / README.md
Created October 17, 2021 21:01 — forked from triangletodd/README.md
k3s in LXC on Proxmox

On the host

Ensure these modules are loaded

cat /proc/sys/net/bridge/bridge-nf-call-iptables

Disable swap

sysctl vm.swappiness=0
swapoff -a
@mteletin
mteletin / rc2014.md
Created August 26, 2020 00:56 — forked from jblang/rc2014.md
RC2014 Links
@mteletin
mteletin / ILI9341_1.ino
Created September 9, 2018 11:03 — forked from calogerus/ILI9341_1.ino
Arduino UNO + 2.4 TFT-LCD-Display-Shield-Touch-Panel-ILI9341-240x320-for-Arduino-UNO-MEGA
void LCD_write(uint8_t d) {
// ILI9341 reads data pins when WR rises from LOW to HIGH (A1 pin on arduino)
PORTC = PORTC & B11111101; // WR 0
// data pins of ILI9341 connected to two arduino ports
PORTD = (PORTD & B00000011) | ((d) & B11111100);
PORTB = (PORTB & B11111100) | ((d) & B00000011);
PORTC = PORTC | B00000010; // WR 1
}