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: Joining 5 bit variables and splitting them into 8 bit ones later?

    Will take a look tomorrow...
    Meanwhile, added decimal point, C and F sign support...
  2. Re: Joining 5 bit variables and splitting them into 8 bit ones later?

    But I still have an issue - why reading from a bit array from arbitrary position (not byte justified) returns garbage?
  3. Re: Anyone has any experience with HT1632C LED display drivers?

    Thanks!
    I also ordered it, see who's will arrive faster :)
  4. Re: Joining 5 bit variables and splitting them into 8 bit ones later?

    And this is proof of my code working :D
    So if I understood correctly, there is no HSHIFTOUT statement, like HSEROUT ?

    9002
  5. Re: Joining 5 bit variables and splitting them into 8 bit ones later?

    Well, I'm designing fonts for last 30 years, so no surprise mine is better :D
    proof of concept of what?
    Any code was posted?
  6. Re: Joining 5 bit variables and splitting them into 8 bit ones later?

    Yes, SCREEN32 is 32 bit array.
    And why locations only can be from 0 to 3 ?
    There are 32 bits, or what you want to say, that is not possible to write into specific bit of bit array?

    I'm reading...
  7. Re: Joining 5 bit variables and splitting them into 8 bit ones later?

    Oh, and by the way, is there any possibility to increase SPI speed? I'm running 16F886 @ 8mhz, and update rate is clearly not good - forget about scrolling letters and other stuff like that.
  8. Re: Joining 5 bit variables and splitting them into 8 bit ones later?

    Well, I already have buffer, but 32x1 pixels in size, because the data is sent to display line by line.
    But the problem is different, I can't understand why this works only per 8 bit:...
  9. Re: Joining 5 bit variables and splitting them into 8 bit ones later?

    Houston, we're having a problem!

    Below is the code which works, but it works only if bits in array are aligned to bytes. If I want to shift them to make them less spaced (characters used have 4...
  10. Re: Joining 5 bit variables and splitting them into 8 bit ones later?

    I decided to return to this code, and have some advancement, but having issues into reading bits from array into an variable.
    I have a SCREEN[32] bit array, which should be read into 4 consecutive...
  11. Re: Anyone has any experience with HT1632C LED display drivers?

    Thanks!
    Chip might be EOL, but it's clones are still widely made.
    The main reason I want to use it, that I have some compact 8x8 led dot matrix modules (2mm dot pitch) and I want to make 32x8 array...
  12. Anyone has any experience with HT1632C LED display drivers?

    Hello. There are many LED dot matrix displays using this chip. Compared to to MAX7219, there are fewer parts to solder, and whole thing is updated at once, no need to deal with cascaded IC. Anyone...
  13. Re: Joining 5 bit variables and splitting them into 8 bit ones later?

    So here it is, almost finished (not tested in PBP yet, written in notepad).
    Digit data are stored as 4 bit width sequences, each char compromising of 4x8 pixels (width & height). They are stored by...
  14. Re: Joining 5 bit variables and splitting them into 8 bit ones later?

    So it should look like this, right? (have no access to PBP at this moment).


    SCREEN32 VAR BIT[32] 'MAIN VARIABLE
    LINE1=%10101 'VARIABLE WITH BIT DATA
    FOR X=0 TO 4 'READ BITS...
  15. Re: Joining 5 bit variables and splitting them into 8 bit ones later?

    Yes, but have no idea if can use another variable instead of 31 and other digits.
    Like displayvar.X=Y
  16. Re: Joining 5 bit variables and splitting them into 8 bit ones later?

    What if I create 32 bit array, write bits in sequence and then read it in appropriate chunks?
  17. Replies
    2
    Views
    3,382

    Re: Max7219 cascading problem ?

    Having the same issue, I don't think OP is active anymore but...
  18. Joining 5 bit variables and splitting them into 8 bit ones later?

    Hello.
    I'm using a MAX7219 dot matrix display, 8x8 pixels, 4 daisy chained.
    I want to display some numbers on it. I can use 7x7 pixel font, so 4 digits will fit.
    But I want to use 6x7 pixel font,...
  19. Re: Determining variable length (number of digits) possible?

    This requires too many IFs....
    On spectrum we had X=LEFT(Y,Z)....
  20. Re: Determining variable length (number of digits) possible?

    So back to shift.
    How to trim one variable from left to right, to value of another variable?

    say trim 12345 by 3 - mean, make 123 digits from it.
  21. Re: Determining variable length (number of digits) possible?

    I've written a PC based converter, which deals with ASCII conversion. It generates PBP code for EEPROM.
    8971
    8970
  22. Re: Determining variable length (number of digits) possible?

    Forgot to mention, startup shift fixed:
    shiftout datapin,clockpin,1,[X-DLEN+DSTART, y]
  23. Re: Determining variable length (number of digits) possible?

    FOURD=12345
    FOURD=FOURD>>2 should return FOURD=123, right? but it returns 11419 !
  24. Re: Determining variable length (number of digits) possible?

    I'm doing a more featured custom decoder, which will display both letters and digits on max7219 7 segment display. It will also have custom decoder for digital values. The code is below:


    ...
  25. Re: Determining variable length (number of digits) possible?

    Thanks, but will this give me variable length?
    I need to know number of digits in variable, to turn off unused digits on display (instead of showing zeroes there).
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4