add sample descriptors

This commit is contained in:
gemu2015 2021-04-11 12:38:45 +02:00
parent 0e7e956a7b
commit 835e7ab2e3
2 changed files with 81 additions and 0 deletions

View File

@ -0,0 +1,50 @@
; name,xs,ys,bpp,interface, spi_nr cs, sclk,mosi,dc, bp ,reset,miso,spi_speed
:H
ILI9341,240,320,16,SPI,1,*,*,*,*,*,*,*,40000000
; splash settings, font, size, fgcol, bgcol, x,y
:S
2,1,1,0,40,20
; initialyze
:I
EF,3,03,80,02
CF,3,00,C1,30
ED,4,64,03,12,81
E8,3,85,00,78
CB,5,39,2C,00,34,02
F7,1,20
EA,2,00,00
C0,1,23
C1,1,10
C5,2,3e,28
C7,1,86
36,1,48
37,1,00
3A,1,55
B1,2,00,18
B6,3,08,82,27
F2,1,00
26,1,01
E0,0F,0F,31,2B,0C,0E,08,4E,F1,37,07,10,03,0E,09,00
E1,0F,00,0E,14,03,11,07,31,C1,48,08,0F,0C,31,36,0F
11,80
29,80
; off
:o
28
; on
:O
29
; set adress window
:A
2A,2B,2C
; rotation
:0
48
:1
28
:2
88
:3
E8
#

View File

@ -0,0 +1,31 @@
; name,xs,ys,bpp,interface, address, scl,sda,reset
:H
SH1106,128,64,1,I2C,3c,*,*,*
; splash settings, font, size, fgcol, bgcol, x,y
:S
0,1,1,0,40,20
; init register settings
:I
AE
D5,80
A8,3f
D3,00
40
8D,14
20,00
A1
C8
DA,12
81,CF
D9F1
DB,40
A4
A6
AF
; switch display off
:o
AE
; switch display on
:O
AF
#