Hello,
I don't understand one thing.
If the SSd1306 has not character generator.
Who or How the text is generated on Display????
Missing code??
How is possible this line of code works:
--------------------------------------------------------------
* Call Display8x16str(0 , 0 , "Hello World")
Sub Display8x16str(byval Page As Byte , Byval Column As Byte , Byval Char As String * 16)
I2cstart
I2cwbyte Oled_address
I2cwbyte Oled_8x16str
I2cwbyte Page
I2cwbyte Column
For A = 1 To 16
C = Mid(char , A , 1)
B = Asc(c)
I2cwbyte B
Next
I2cstop
End Sub
-----------------------------------------------------------------------------------------------------------
Example:
Data &H26 , &H49 , &H49 , &H49 , &H3E ' 9
Data &H00 , &H33 , &H33 , &H00 , &H00 ' :
Data &H00 , &H53 , &H33 , &H00 , &H00 ' ;
Data &H00 , &H08 , &H14 , &H22 , &H41 ' <
Data &H14 , &H14 , &H14 , &H14 , &H14 ' =
Data &H41 , &H22 , &H14 , &H08 , &H00 ' >
Data &H06 , &H01 , &H51 , &H09 , &H06 ' ?
Data &H3E , &H41 , &H49 , &H15 , &H1E ' @
Data &H78 , &H16 , &H11 , &H16 , &H78 ' A
Data &H7F , &H49 , &H49 , &H49 , &H36 ' B
Data &H3E , &H41 , &H41 , &H41 , &H22 ' C
Data &H7F , &H41 , &H41 , &H41 , &H3E ' D
THX.
↧