Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    12
    Views
    1,460

    Re: Serin after instant interupt?

    Any chance to use a PIC with two USARTs?

    Ioannis
  2. Replies
    12
    Views
    1,460

    Re: Serin after instant interupt?

    Say that you use the low-going edge as an interrupt trigger.

    Then you start the Serin command that waits for the negative going edge. My guess is that it will loose the first byte and then will...
  3. Thread: Goodbye

    by Ioannis
    Replies
    56
    Views
    7,753

    Re: Goodbye

    So, C it is?

    Ioannis
  4. Replies
    2
    Views
    435

    Re: LCD serial terminal

    Nice work Brek! Especially with the effects!

    Ioannis
  5. Replies
    4
    Views
    375

    Re: Me again :) -- latest PBP?

    I am sick of MPLAB-X IPE and for many months now I use Pickit2 and Pickit3 with a stand alone program developed by PICkitPlus Development Team at http://www.pickitplus.co.uk.

    Cost is low and...
  6. Replies
    16
    Views
    2,508

    Re: Nextion LCDs... How to comunicate ???

    I do not know why it is not working for you.

    Please send to me your email and I will reply with the demo file that just work! You can go on and do your mods then.

    Ioannis
  7. Replies
    16
    Views
    2,508

    Re: Nextion LCDs... How to comunicate ???

    There is a new version 0.59. Which version you have?

    Ioannis
  8. Replies
    16
    Views
    2,508

    Re: Nextion LCDs... How to comunicate ???

    In the sta attribute select crop image

    Ioannis
  9. Replies
    21
    Views
    970

    Re: Array error in Hserin

    It is very impressive how much room there is for improvements!

    Thanks,
    Ioannis
  10. Re: Need to drive 4 rgb leds, but have only 1 pin available...

    Yes, you are right. Forgot that, sorry!

    Ioannis
  11. Replies
    21
    Views
    970

    Re: Array error in Hserin

    Received from Charles this very interesting (and I suppose undocumented) tip:

    array.highbyte[i << 1]=adresh
    array.lowbyte[i << 1]=adresl

    OR

    array.highbyte[i * 2]=adresh
    array.lowbyte[i *...
  12. Re: Need to drive 4 rgb leds, but have only 1 pin available...

    With the APA101 clock frequency is not an issue. We did some experiments in this thread:

    http://www.picbasic.co.uk/forum/showthread.php?t=18442&highlight=apa101

    Ioannis
  13. Replies
    7
    Views
    476

    Re: Output directly to input?

    Doing it fast, won't have issues with R-M-W ?

    Ioannis
  14. Replies
    21
    Views
    970

    Re: Array error in Hserin

    Thanks Richard.

    Well this makes things more clear. Once I remember doing things in ASM, the banklsel was a pain...

    Ioannis
  15. Replies
    21
    Views
    970

    Re: Array error in Hserin

    Wow! Thanks for the extensive test.

    I suppose i=1+1 should be i=i+1, but does not matter in this test.

    The MOVE?BA _ADRESLO are macros I guess, but where can I find documentation how to use...
  16. Replies
    21
    Views
    970

    Re: Array error in Hserin

    Yes I noticed that. Still no such reduction.

    Most compact code was obtained with the crude

    word_temp.byte0=adresl
    word_temp.byte1=adresh
    array[i]=word_temp

    Now that I think about it, it...
  17. Replies
    21
    Views
    970

    Re: Array error in Hserin

    Did you tested on 18F or 16F?

    I did on 16F887. Maybe this is why I get more memory usage?

    Ioannis
  18. Replies
    21
    Views
    970

    Re: Array error in Hserin

    And the EXT version... 30 words more!!!

    I think is too much.

    Ioannis
  19. Replies
    21
    Views
    970

    Re: Array error in Hserin

    Thanks Richard.

    Comparing the

    array[i]=(adresh<<8)|adresl

    takes about 10 words more on compilation than

    word_temp.byte0=adresl
    word_temp.byte1=adresh
  20. Replies
    21
    Views
    970

    Re: Array error in Hserin

    I am facing a problem with arrays.

    The task is to grab 10bits of ADC result into array elements.

    This works OK:

    word_temp.byte0=adresl
    word_temp.byte1=adresh
    array[i]=word_temp
  21. Replies
    8
    Views
    418

    Re: Trying to measure TACH pulses.

    You are absolutely right. Too many times it was the reason for erratic behavior.

    Ioannis
  22. Replies
    8
    Views
    418

    Re: Trying to measure TACH pulses.

    Oh I see. I thought that was trivial and eagleman would have correct setup of PIC.

    Ioannis
  23. Replies
    8
    Views
    418

    Re: Trying to measure TACH pulses.

    Maybe I do not see your point Henrik. How does this help?

    Ioannis
  24. Replies
    21
    Views
    970

    Re: Array error in Hserin

    Aha! Thanks Richard.

    pedja089, you mean instead of

    @word_array_asbyte=word_array

    be:

    @ _word_array_asbyte= _word_array
  25. Replies
    21
    Views
    970

    Re: Array error in Hserin

    Got it. It is bytes and it is referenced, somewhat cryptic, on page 47, 3rd line from the bottom in the parenthesis.

    Ioannis
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4