Hi,
Do a search on OLED here, I know I wrote some code that does double size fonts and included a pic of the size difference.
Regards
Tim
Type: Posts; User: timc; Keyword(s):
Hi,
Do a search on OLED here, I know I wrote some code that does double size fonts and included a pic of the size difference.
Regards
Tim
George,
Labx1.inc is just a hardware abstraction include. It helps make testing on different hardware easy.
Since we are not using any LED's, LCD's or analog you can delete the Include and compile...
Here is a pic of the output:
7975
I was able to get the Double size text to work. Also lines. Still fits in 4K but I had to give up PIC16's because of the 256 byte restriction on the lookup table.
Tested the code on more...
If you want Larger fonts one approach would be to use the same tables and work from the pixel level. Just make every pixel multiple times the size. The characters do look boxy but easy to read. ...
This program tests every valid 8bit write address connected to the I2C bus.
- Confirms you have your connections correct
- Confirms your pull-ups are correct
- Tells you what your I2C address is....
The Contrast Init line should read
Set contrast FROM $01 to $FF NOT Set contrast to $01 to $FF.
Therefore $FF is the upper limit.
Good luck
This is a newer version that can use either I2C or SPI. Also a minor improvement to SSD_Clear. Interface handling a little better. Still well under 4K flash. SPI is faster of course. The warnings...
I posted a full demo of a SSD1306 add-in over on the code example forum. elcrcp I think this is what you were asking for earlier.
Best part is you can start to use it like a regular LCD with data...
Just finished an Include for the SSD1306 mono graphics display. No graphics just text. Best part is that it fits within a 4K chip. Tested on 2 different displays. If you can't get it to work I...
Personally I would not alternate different data types in a big character table because you want to make it as simple and small as possible. From the PBP manual it says: "Lookup2 generates code that...
The INIT routine is critical and no single INIT routine will work for all SSD1306 displays. If you get your display to work in under an hour consider yourself lucky. This INIT routine can replace...
Been working on a new char table for the OLED. Problem is the LOOKUP command can only take 255 bytes. This new routine can replace the one from elcrcp above. I have added a few new variables:
...
Alain,
Darrel's great example uses one crystal mine uses 2. And oh if something is sitting there soldered to the dev board and you don't have code to see if it works!!
Thank you Bruce
Smaller, tighter, yet perfect speed. Started the clock last night with your change and so far the PIC18F452 has not gained or lost one second.
Tim C
The earlier versions I wrote had NO asm but lost almost a minute an hour. To make up for that one could re-tune using TMR1H and TMR1L with a larger value. Problem is every change made to the...
Looked all over trying to find an example with a second crystal connected to the TIMER1 overflow. This example uses the earlier 18F452 version of the Olimex PIC-WEB board. Ran the clock for a day...
NTP on port 123 is going to be a LOT to work on. If you have needs for VERY high accuracy it's what you use. Commercial NTP time servers are in the $2K range See:
http://www.ntp.org/
SNTP is...
Good to see this topic I thought I would add my 2cnts.
Start with the hardware layer use my (your) standard names: LABX1_20
Add chip layer ie DS1302, DS1620, one-wire: CLOCK1302
Add util layer...