ILI9488 drivers: MM2 and MM+
Author
Message
stanleyella
Guru
Joined: 25/06/2022
Location: United KingdomPosts: 2375
Posted: 05:39pm 24 Nov 2022
phil99 said
' Screen Colours Counter Pixel Test
Dim a$(2)=(" Blues"," Greens"," Reds")
Dim integer b, c, n
For b = 0 To 16 Step 8
n = 0
For c = 0 To 255
Pixel 9, 9, c << b
If Pixel(9,9) = c << b Then Inc n
Next
Print
Print n; a$(b/8); " ="; Log(n)/Log(2); " bits"
Next
Print
what was that for?