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
    29
    Views
    8,893

    Re: Better code check before compile?

    no, it is not, because if I add GOSUB statement, it is being triggered on IF-THEN condition only.
  2. Replies
    29
    Views
    8,893

    Re: Better code check before compile?

    Found another.

    Here is sample code, both variants should work same, but they don't



    if ticker>150 and ard<140 and atrig=0 then
    ticker=1
    atrig=1
    endif
  3. Re: What is software SPI speed for various OSC speeds?

    Tried some lower speeds with MAX7219 and scan rate definitely causes issues - the moment digits are just going off being registered by high speed camera, so it is hard to guess what is displayed...
  4. Re: What is software SPI speed for various OSC speeds?

    Thanks, I was thinking about that, but just with external transistor, which will drive common pin for 7 segment....
  5. Re: What is software SPI speed for various OSC speeds?

    Well, MAX7219 datasheet says 10mhz clock, that is way faster than 50khz, so I guess, since it supports that, this means it can also display with that speed, right?

    Regarding the current project,...
  6. Re: What is software SPI speed for various OSC speeds?

    This just will be the visual counter, it will show on display numbers from 1 to 9999. The question is, how fast this update can be made.
    I'd prefer it to count from 1 to 9999 in 0.1-0.2 seconds.
  7. What is software SPI speed for various OSC speeds?

    Hello.
    I'm building a project, very fast counter using MAX7219 and 4 digit 7 segment display. It's image will be filmed by high speed camera. So I'm curious, since picbasic communicates with MAX7219...
  8. Replies
    29
    Views
    8,893

    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
  9. 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?
  10. 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...
  11. Replies
    10
    Views
    1,350

    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,...
  12. Replies
    10
    Views
    1,350

    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...
  13. Replies
    10
    Views
    1,350

    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.
  14. Replies
    10
    Views
    1,350

    Re: Logical AND/OR/ Sequencing question

    Nope, it is still on the way, will get it in week or so.
  15. Replies
    10
    Views
    1,350

    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...
  16. 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.
  17. 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...
  18. 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
  19. 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....
  20. 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...
  21. 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...
  22. 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?
  23. Re: Anyone has any experience with HT1632C LED display drivers?

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