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
    4
    Views
    208

    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...
  2. Replies
    16
    Views
    2,025

    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
  3. Replies
    16
    Views
    2,025

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

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

    Ioannis
  4. Replies
    16
    Views
    2,025

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

    In the sta attribute select crop image

    Ioannis
  5. Replies
    21
    Views
    686

    Re: Array error in Hserin

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

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

    Yes, you are right. Forgot that, sorry!

    Ioannis
  7. Replies
    21
    Views
    686

    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 *...
  8. 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
  9. Replies
    7
    Views
    314

    Re: Output directly to input?

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

    Ioannis
  10. Replies
    21
    Views
    686

    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
  11. Replies
    21
    Views
    686

    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...
  12. Replies
    21
    Views
    686

    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...
  13. Replies
    21
    Views
    686

    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
  14. Replies
    21
    Views
    686

    Re: Array error in Hserin

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

    I think is too much.

    Ioannis
  15. Replies
    21
    Views
    686

    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
  16. Replies
    21
    Views
    686

    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
  17. Replies
    8
    Views
    266

    Re: Trying to measure TACH pulses.

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

    Ioannis
  18. Replies
    8
    Views
    266

    Re: Trying to measure TACH pulses.

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

    Ioannis
  19. Replies
    8
    Views
    266

    Re: Trying to measure TACH pulses.

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

    Ioannis
  20. Replies
    21
    Views
    686

    Re: Array error in Hserin

    Aha! Thanks Richard.

    pedja089, you mean instead of

    @word_array_asbyte=word_array

    be:

    @ _word_array_asbyte= _word_array
  21. Replies
    21
    Views
    686

    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
  22. Replies
    21
    Views
    686

    Array error in Hserin

    It seems that Hserin cannot accept a word array in this expression:



    hserin 100,noreceived,[wait("#"),str word_array\2]


    Gives this error:
    PICBASIC PRO(TM) Compiler 3.1.2.4, (c) 1997, 2019...
  23. Replies
    8
    Views
    266

    Re: Trying to measure TACH pulses.

    Maybe Timer module can help you on this?

    The Tachometer pulses will be counted by a timer and the timer will be gated by a controlled time base.

    This is the base of a frequency counter. And you...
  24. Replies
    10
    Views
    971

    Re: Ability to pay per MCU License.

    Nice to have a confirmation on this.

    Though I would like to have on PBP local variables and passing values to subs as C does. This would produce even more efficient code.

    But anyway, I guess...
  25. Replies
    19
    Views
    3,696

    Re: 10-Bit PWM using PIC16F1509

    It is kinda multiplexed PWM signal I think.

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