Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds; generated 33 minute(s) ago.

  1. Replies
    2
    Views
    18,067

    Re: big char oled display

    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
  2. Replies
    11
    Views
    33,625

    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...
  3. Replies
    11
    Views
    33,625

    Re: SSD1306 Include example

    Here is a pic of the output:

    7975
  4. Replies
    11
    Views
    33,625

    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...
  5. Replies
    11
    Views
    33,625

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

    by timc
    Replies
    0
    Views
    6,537

    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....
  7. Replies
    21
    Views
    24,445

    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
  8. Replies
    11
    Views
    33,625

    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...
  9. Replies
    21
    Views
    24,445

    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...
  10. Replies
    11
    Views
    33,625

    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...
  11. Replies
    21
    Views
    24,445

    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...
  12. Replies
    21
    Views
    24,445

    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...
  13. Replies
    21
    Views
    24,445

    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:

    ...
  14. Replies
    19
    Views
    21,510

    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!!
  15. Replies
    19
    Views
    21,510

    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
  16. Replies
    19
    Views
    21,510

    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...
  17. Replies
    19
    Views
    21,510

    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...
  18. 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...
  19. Replies
    25
    Views
    13,933

    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 19 of 19