Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 777 Bytes

notes.md

File metadata and controls

25 lines (21 loc) · 777 Bytes

this is notes mostly for me but u can use this

GPIO

  • use raw BCM pinouts - gpiozero uses raw BCM pinouts, and so does FastIO
  • gpiozero has 100khz polling rate; FastIO has 2mhz polling rate (tested with ./debug/gzmaxio.py and ./core/pio/fastio.py, respectively)

spi

add dtoverlay=spi1-2cs to /boot/config.txt

programming

               // PIL.ImageDraw
               ||
tinyPillow -> draw, disp, image  
                     ||    \\
                     ||     PIL.Image
                     ||
                 DisplayDriver (e.g. ./core/screens/sh1106.py)
                     ||
               DisplayDriver.gui
                     \\
                      BasePwnhyveScreen (e.g. ./menus/flipper.py)

6/19/24 pls get python3-dev using apt