Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20634

Share your working BASCOM-AVR code here : OLED Display using SSD1306 with i2c. Char Mode 16x4 : REPLY

$
0
0
Yes, I use BASCOM. Statistics on different models (black / white or other mono color) displays I have not tested, this feature of my possible copies. Tried to use the frequency 1.2MHz, but the display was behaving not correctly, on the screen were visible artifacts and offset errors of data and is not always included. The code is as usual, initialization: [code:1:c27b10a295]Open "twic" For Binary As #1 Config Twic = 1100000 I2cinit #1 [/code:1:c27b10a295] After each packet transmission is completed using: [code:1:c27b10a295] I2cstop #1 Bitwait Mit , Set ' waiting for the end of all the tasks display [/code:1:c27b10a295]

Viewing all articles
Browse latest Browse all 20634


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>