phil99
Guru
Joined: 11/02/2018 Location: AustraliaPosts: 2029 |
Posted: 10:48pm 23 Oct 2022 |
|
|
|
First don't use OPTION Autorun ON until you have everything working properly Type OPTION Autorun OFF
Xmodem F11 Receive In TeraTerm click File > Transfer > XMODEM > Send Then choose your program
Xmodem F12 Send In TeraTerm click File > Transfer > XMODEM > Recieve Then type a name for it.
Your output from the Address Scanner does not show any I2C device, so you must get that sorted out first. Are GP0, GP1, 3.3V and Ground all connected to the right pins? Check with a multimeter.
As OPTION SYSTEM I2C GP0, GP1 does show after OPTION LIST there must be an error somewhere else. If there is a mistake remove it with
OPTION SYSTEM I2C DISABLE. Then type
OPTION SYSTEM I2C GP0, GP1 <Enter>
Individual Options can only be changed by first deleting the old one.
OPTION LCDPANEL DISABLE
Then OPTION LCDPANEL SSD1306I2C, L, 0 <Enter>
Type OPTION LIST <Enter> again to make sure it is all correct.
You can then run the "System I2C Address Scanner" program again, (without any Options in it) it should then show Address 3C
That will indicate the Pico and the display can communicate. Now you can try sending it some commands.
Text 5, 5, "Hello World" Edited 2022-10-24 09:51 by phil99 |