Remove Text Formatting
Loading...

Search:

Type: Posts; User: timc; Keyword(s):

Search: Search took 0.07 seconds.

  1. Replies
    11
    Views
    4,591

    Re: SSD1306 Include example

    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...
  2. Replies
    11
    Views
    4,591

    Re: SSD1306 Include example

    Here is a pic of the output:

    7975
  3. Replies
    11
    Views
    4,591

    Re: SSD1306 Include example

    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...
  4. Replies
    11
    Views
    4,591

    Re: SSD1306 Include example

    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. ...
  5. Thread: I2C Ping program

    by timc
    Replies
    0
    Views
    2,489

    I2C Ping program

    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....
  6. Replies
    21
    Views
    6,746

    Re: Cannot drive I2C Oled :(

    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
  7. Replies
    11
    Views
    4,591

    Re: SSD1306 Include example

    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...
  8. Replies
    21
    Views
    6,746

    Re: Cannot drive I2C Oled :(

    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...
  9. Replies
    11
    Views
    4,591

    SSD1306 Include example

    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...
  10. Replies
    21
    Views
    6,746

    Re: Cannot drive I2C Oled :(

    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...
  11. Replies
    21
    Views
    6,746

    Re: Cannot drive I2C Oled :(

    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...
  12. Replies
    21
    Views
    6,746

    Re: Cannot drive I2C Oled :(

    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:

    ...
  13. Replies
    19
    Views
    10,425

    Alain, Darrel's great example uses one crystal...

    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!!
  14. Replies
    19
    Views
    10,425

    Thank you Bruce Smaller, tighter, yet perfect...

    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
  15. Replies
    19
    Views
    10,425

    The earlier versions I wrote had NO asm but lost...

    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...
  16. Replies
    19
    Views
    10,425

    Working clock example using 32K watch crystal

    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...
  17. NTP on port 123 is going to be a LOT to work on. ...

    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...
  18. Replies
    25
    Views
    5,125

    Good to see this topic I thought I would add my...

    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...
Results 1 to 18 of 18