Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: Replacing array member on the fly (big LCD characters idea)

    https://item.taobao.com/item.htm?spm=a1z09.2.0.0.3fd92e8dTB6Lqm&id=567609161459&_u=p2otmf3i3dd2

    Yellow one from video above was bought exactly from that link.
  2. Re: Replacing array member on the fly (big LCD characters idea)

    It is 21st century, and Nextion using cheapest TN+Film panels, but asking premium prices is just a funny thing :D They can do at least IPS, for better angles and contrast. For the touch screen, a...
  3. Re: Replacing array member on the fly (big LCD characters idea)

    Unfortunately, nextion displays are junk in several aspects:

    1. Low display brightness, bad viewing angles, zero daylight visibility, bad contrast. Can't be compared to OLED in this field. And who...
  4. Re: Replacing array member on the fly (big LCD characters idea)

    This is 1602 OLED, using WS0010 controller, and besides the standard mode, it also has Graphical mode. So you can write whatever you want. Or you can use a trick - Draw something with these 8 custom...
  5. Re: Replacing array member on the fly (big LCD characters idea)

    And almost forgot - 1602 OLEDs also support mixed mode - having both character and graphic mode together. So you can save on memory when displaying the text and digits, and use graphics only where...
  6. Re: Replacing array member on the fly (big LCD characters idea)

    Yes, why not?
    Here I was having fun with animation process - direct reading from EEPROM is a new thing for me. I already have clock code written to use these 2x2 chars, will post it after I'll tidy...
  7. Re: Replacing array member on the fly (big LCD characters idea)

    'font data, left side start, going down, then right side going down
    data %00000,%00000,%00000,%00000,%00000,%00000,%00000,%00000,%00000 '0 1
    data...
  8. Re: Replacing array member on the fly (big LCD characters idea)

    Actually, it works on any 1602 LCD too, just animation is not so smooth. Will post code a bit later.
  9. Re: Replacing array member on the fly (big LCD characters idea)

    https://www.youtube.com/watch?v=jp5oeGZj1ho
  10. Re: Replacing array member on the fly (big LCD characters idea)

    Yes, but on LCD it is usually empty. On OLED - it is filled with different garbage on each power up.
    Anyways, problem solved, also did some nice animation, will post code and video later.
  11. Re: Replacing array member on the fly (big LCD characters idea)

    Found interesting thing. On power up, custom character area in normal LCD are empty, but on WS0010 OLED displays, they are filled with random numbers on power up.
  12. Replies
    21
    Views
    4,380

    Re: Better code check before compile?

    Found another "bug" - if you put more DATA lines in code, than size of built-in eeprom, it will compile without errors, but PicKit 3 programmer will show you "Warning: Hex file loaded is larger than...
  13. Re: Replacing array member on the fly (big LCD characters idea)

    Yes, but I was thinking about either <<, >> or DIG() operators...
  14. Re: Replacing array member on the fly (big LCD characters idea)

    Also it is possible to separate and replace some similar blocks with additional indexes - this should save additional 10-20%...
  15. Re: Replacing array member on the fly (big LCD characters idea)

    Just did a rough estimation - the above idea should save 30-40% of EEPROM space. Not bad.
  16. Re: Replacing array member on the fly (big LCD characters idea)

    Wanted to store above font in EEPROM. each character takes 2x13 bytes. so 260 byte of memory are needed, but most chips have only 256 bytes of eeprom available.
    I come up with run length encoding...
  17. Replies
    11
    Views
    926

    Re: Sample code for USB - MIDI

    Activity goes down and down here.....
  18. Re: Replacing array member on the fly (big LCD characters idea)

    Here's 2x2 font for 1602 OLED (Here you can write bytes directly, not limited by 8 custom chars).

    8964
  19. Re: Replacing array member on the fly (big LCD characters idea)

    Yes, there are 8 custom characters and char #255 - Full block is used.
  20. Re: Replacing array member on the fly (big LCD characters idea)

    Thanks. I have experience of making pseudographics (so called ASCII art) since early 80s. That set of characters also can be used to display most latin alphabet letters, except some. Regarding the...
  21. Re: Replacing array member on the fly (big LCD characters idea)

    Here is my font for 20x4 LCD displays. Far better than posted in the link above.
    8962
  22. Re: Replacing array member on the fly (big LCD characters idea)

    Yes and I have done way better font for 2004 LCD, but here we're talking about 1602 parallel LCD, not serial, as in 1st link.
  23. Replies
    21
    Views
    4,380

    Re: Better code check before compile?

    Yes the example I have is static, not runtime occurrence.
  24. Re: Any elegant way of text string handling?

    Nice idea, but I have to have all entries for next string marked, so this makes no big difference.....
  25. Replies
    21
    Views
    4,380

    Re: Better code check before compile?

    Another "bug" found - you can easily refer to out of array bounds and it won't give any error during compile
    like

    MAS var byte[5]
    MAS[10]=20

    Won't give any error or warning.
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4