diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-05-09 14:49:56 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-05-09 14:49:56 +0200 |
commit | fdc517505b285f970ac6771062408742f08eb9ba (patch) | |
tree | 0325c374d41398c00e6b879c05842c76f23036b9 | |
parent | fre 6 maj 2022 15:23:02 CEST (diff) | |
download | wiki-public-fdc517505b285f970ac6771062408742f08eb9ba.tar.gz wiki-public-fdc517505b285f970ac6771062408742f08eb9ba.tar.xz |
mån 9 maj 2022 14:49:56 CEST
-rw-r--r-- | Raspberry Pi.wiki | 2 | ||||
-rw-r--r-- | Terminal Driver.wiki | 36 |
2 files changed, 37 insertions, 1 deletions
diff --git a/Raspberry Pi.wiki b/Raspberry Pi.wiki index 7051b7c..7f83b41 100644 --- a/Raspberry Pi.wiki +++ b/Raspberry Pi.wiki @@ -2,7 +2,7 @@ https://git.hornquist.se/raspberry-builder/tree/ deb http://archive.raspberrypi.org/debian/ bullseye main deb http://raspbian.raspberrypi.org/raspbian bullseye main contrib non-free rpi - +t sudo debootstrap --foreign --arch=anmhf bullseye PWD/root http://raspbian.raspberrypi.org/raspbian - [[https://github.com/RPi-Distro/pi-gen|How upstream builds packages]] diff --git a/Terminal Driver.wiki b/Terminal Driver.wiki index 9b122c9..f082822 100644 --- a/Terminal Driver.wiki +++ b/Terminal Driver.wiki @@ -100,6 +100,13 @@ pin 1: | 26 | 20 | | GND | 21 | + +gr bl vi sv + 2 3 4 17 + +bl vi gr sv +14 13 12 11 + Mapping | display | pi | @@ -199,3 +206,32 @@ $ fdtdump /boot/bcm2708-rpi-b-plus.dtb $ dtc -I dts -O dtb -o ov.dtbo overlay.dts }}} + + +== Escape codes == +`\e[2J` :: clear display +`\e[H` :: cursor to home +`\e[LD` :: Display ON +`\e[Ld` :: Display OFF +`\e[LC` :: Cursor ON +`\e[Lc` :: Cursor OFF +`\e[LB` :: Blink ON +`\e[Lb` :: Blink OFF +`\e[L+` :: Back light ON +`\e[L-` :: Back light OFF +`\e[L*` :: Flash back light +`\e[Lf` :: Small font +`\e[LF` :: Large font +`\e[Ln` :: One line +`\e[LN` :: Two lines +`\e[Ll` :: Shift cursor left +`\e[Lr` :: Shift cursor right +`\e[LL` :: Shift display left +`\e[LR` :: Shift display right +`\e[Lk` :: kill end of line +`\e[LI` :: Reinitialize +`\e[LG` :: Redefine character ? + + case 'x': /* gotoxy : LxXXX[yYYY]; */ + case 'y': /* gotoxy : LyYYY[xXXX]; */ + |