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. Replies
    22
    Views
    6,437

    Re: Better code check before compile?

    I made a typo, putting = instead of -

    hpwm 2,rmd*rmd=1,20000

    This statement does not produce any errors, as it should. Also, RMD value remains the same :D
  2. Re: Here is example code - PIC12F683 4-dig 7-Segment display - driven by TM1637

    Thanks!
    Nice to see anyone doing new PBP code in 2021.
    What are the advantages over the MAX7219 modules?
  3. Re: My first PBP bootloader (almost) working .. help

    A little off-topic question.

    Say I've built something using PIC, and want it's firmware to be user upgradeable without specific hardware, such as pickit or standalone programmer.
    As I know, some...
  4. Replies
    10
    Views
    752

    Re: Logical AND/OR/ Sequencing question

    It is not my computer where PBP is installed, it belongs to company, so have no idea where any other remaining copies are installed or whatsoever. Regarding my laptop, it is not actually a laptop,...
  5. Replies
    10
    Views
    752

    Re: Logical AND/OR/ Sequencing question

    Well as I've said previously, sometimes I have no access to machine where PBP is installed. I tried to get a student license for my laptop, but it never works.
    So sometimes, I write code on the...
  6. Replies
    10
    Views
    752

    Re: Logical AND/OR/ Sequencing question

    So my question will be split into things like

    IF A=1 AND B<6

    OR B<6 AND A=2

    I want to make it such way, than if A=2, then it would not care about whenever B is less than 6 or not.
  7. Replies
    10
    Views
    752

    Re: Logical AND/OR/ Sequencing question

    Nope, it is still on the way, will get it in week or so.
  8. Replies
    10
    Views
    752

    Logical AND/OR/ Sequencing question

    Hello.

    Say here is a logical structure like this

    IF A=1 AND B<6 OR A=2 THEN

    The first part is clear, if a=1 and b is less than 6, then do something
    but what about OR?
    when I add that OR...
  9. Re: Anyone did a simple 1 channel midi file import routine?

    I have no issues with generating the sound, I'm having issues with automating it's import into PBP. In fact, I need more a PC software, which will parse midi file and convert it to byte sequence.
  10. Anyone did a simple 1 channel midi file import routine?

    Hello.
    I'm making an LED clock for my daughter, and she wants for alarm tune to be "never gonna give you up", played in 1 channel beeper sound.
    I have appropriate midi, and by looking into music...
  11. Re: Change variable increment/decrement into mid-loop?

    And yes, CNT=1 should be added in the beginning, or absolutely unexpected behavior will be generated (just tested) :D
  12. Re: Change variable increment/decrement into mid-loop?

    Yes, thanks!
    On spectrum, I was doing this by changing the sign of increment variable, but since in PBP we have no negative numbers....
  13. Change variable increment/decrement into mid-loop?

    Hello.
    There is a some loop, which monitors keypress, updates display, etc.
    Also in loop is variable, which should increase from 1 to 100 and then decrease from 100 to 1.
    Is there any way to do it...
  14. 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...
  15. 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?
  16. Re: Anyone has any experience with HT1632C LED display drivers?

    Thanks!
    I also ordered it, see who's will arrive faster :)
  17. 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
  18. 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?
  19. 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...
  20. 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.
  21. 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:...
  22. 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...
  23. 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...
  24. 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...
  25. 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...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4