git切换账号推送仓库

# 先移除现有的 origin git remote remove origin # 添加带有用户名的地址 git remote add origin https://该仓库拥有者@github.com/仓库路径.git # 再次尝试推送 git push -u origin main


git学习总结

分支树 git log --graph --oneline --all --decorate 设置别名:git tree git config --global alias.tree "log --graph --oneline --all --decorate" 分支 当前分支 git branc


raspi 5 st7796s driver (drm/fb)

树莓派屏幕线缆连接顺序: DRM显示框架适配(推荐) 创建command.txt # MIPI_DCS_SOFT_RESET command 0x01 delay 150 command 0xF0 0xC3 command 0xF0 0x96 command 0x36 0x68 # MIP


XPT2046/ADS7846触摸的驱动与校准

XPT2046是ADS7846的仿制IC,驱动互相兼容 config.txt dtoverlay=ads7846,cs=1,penirq=16,penirq_pull=2,speed=1000000,swapxy=1,xmin=200,xmax=3900,ymin=200,ymax=3900 校准屏


树莓派调用gpiod.hpp

sudo apt install libgpiod2 libgpiod-dev cmake_minimum_required(VERSION 3.10) project(skaMenu) # 查找pkg-config find_package(PkgConfig REQUIRED) # 使用