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)
			
							SSD1306 I2C with Pic16f1937!
- 
				mnfisher
 - Valued Contributor
 - Posts: 1694
 - http://meble-kuchenne.info.pl
 - Joined: Wed Dec 09, 2020 9:37 pm
 - Has thanked: 146 times
 - Been thanked: 789 times
 
Re: SSD1306 I2C with Pic16f1937!
- Attachments
 - 
			
		
		
				
- Martins SSD1306 Component Test.fcfx
 - (14.28 KiB) Downloaded 194 times
 
 
- 
				mnfisher
 - Valued Contributor
 - Posts: 1694
 - Joined: Wed Dec 09, 2020 9:37 pm
 - Has thanked: 146 times
 - Been thanked: 789 times
 
Re: SSD1306 I2C with Pic16f1937!
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:
			
			
									
						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:
- 
				jgu1
 - Posts: 849
 - Joined: Thu Dec 03, 2020 8:25 pm
 - Location: Denmark
 - Has thanked: 744 times
 - Been thanked: 186 times
 
Re: SSD1306 I2C with Pic16f1937!
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
			
							Jorgen
- Attachments
 - 
			
		
		
				
- SSD1306_Min.fcpx
 - (4.34 KiB) Downloaded 194 times