Page 5 of 5

Re: SSD1306 I2C with Pic16f1937!

Posted: Sun Sep 08, 2024 1:41 pm
by mnfisher
Jorgen's example tweaked to use rows instead of y co-ordinates.

Martin

▒▒▒▒▒▒▒▒▒▒▒▒
▒▒▒▒▓▒▒▓▒▒▒▒
▒▒▒▒▓▒▒▓▒▒▒▒
▒▒▒▒▒▒▒▒▒▒▒▒
▒▓▒▒▒▒▒▒▒▒▓▒
▒▒▓▓▓▓▓▓▓▓▒▒
▒▒▒▒▒▒▒▒▒▒▒▒

Still trying to shake the image of Iain in the 'pink'... Don't have nightmares (or sunburn)

Re: SSD1306 I2C with Pic16f1937!

Posted: Sun Sep 08, 2024 1:59 pm
by jgu1
Martin the last .FCPX doesnt work, again spaceproblem, so I went back :)

Re: SSD1306 I2C with Pic16f1937!

Posted: Sun Sep 08, 2024 2:15 pm
by mnfisher
Which demo did you try - yours has quite a few strings..

Re: SSD1306 I2C with Pic16f1937!

Posted: Sun Sep 08, 2024 3:02 pm
by mnfisher
The Flowcode component was back. Very odd. Deleted again.

It's all very odd - gone back to only working at 100kHz and then only for a brief while. Gremlins? Rod Serling is sitting in the corner and something very odd is about to occur?

Then - I found and swapped to a 64 pixel display. One of the jumpers 'failed'. (Should have build Iain's 'jumper tester')
The 64 pixel display needs 'interlaced' - so added that. Mines also needs inverted set to true (in the FC component - what I have as 'inverted' is 'if 1' (so always))
Still locking up at 400kHz - I might go for a little lie down in a dark place...

So - working a (rather dim) 64 * 128 pixel display with 8 rows of text too..

Try this:
SSD1306_Min.fcpx
(4.78 KiB) Downloaded 167 times

Re: SSD1306 I2C with Pic16f1937!

Posted: Sun Sep 08, 2024 6:32 pm
by mnfisher
Just tested on an esp32 - i2c running at 1MHz works okay so not sure why Uno is only working at 100kHz :-(

Re: SSD1306 I2C with Pic16f1937!

Posted: Sun Sep 08, 2024 7:38 pm
by jgu1
The last one doesn´t work correctly. Very small font x and y doesn´t work. Martin I use the first you made, this work for me ;)

Jorgen

Re: SSD1306 I2C with Pic16f1937!

Posted: Sun Sep 08, 2024 7:52 pm
by mnfisher
Check the value of interlaced (new property) - off for 32 pixel display on for 64...

y is now row 0..3 (or 0..7)

Re: SSD1306 I2C with Pic16f1937!

Posted: Mon Sep 09, 2024 8:07 am
by jgu1
No change, no matter what setting I use in the config?

I will use the one which working :)

Jorgen

Re: SSD1306 I2C with Pic16f1937!

Posted: Mon Sep 09, 2024 9:15 am
by mnfisher
🙄 Would like to get you up and running with the VU meter too..

Maybe revisit it later..