Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds; generated 44 minute(s) ago.

  1. Replies
    4
    Views
    9,265

    Re: Problem with PIC161519 / XC8

    Hi Dymentional, as has already been stated this might not be the right place but being familiar with xc8; I think you need to place the following

    #define _XTAL_FREQ 8000000 // OSC FREQUENCY IN Hz...
  2. Replies
    42
    Views
    38,999

    Re: Delay without using pause

    Thanks so much amgen, i want to give this a try, looks much simpler. i am trying to convert the flowchart you posted to code, i will let u know how it turns out.

    i will see if my original trial...
  3. Replies
    16
    Views
    8,226

    Re: Help with GOSUB

    One thing i have learnt about pbp;

    NEVER use GOSUB without a matching RETURN;
    NEVER use RETURN without a matching GOSUB

    but when using ASM, i seem to get away with using goto with return and...
  4. Replies
    42
    Views
    38,999

    Re: Delay without using pause

    hi amgen, pls any suggestions you have is welcome. my aim was to let you guys understand what i'm trying to do; i am not good at coding so that is where i need help: how best to go about it to get...
  5. Replies
    42
    Views
    38,999

    Re: Delay without using pause

    Exactly! It could be made simpler. That is the crux of the matter.

    You are right i didn't show where i am setting LED0_UPDATE. these flags themselves, at the right time based on certain...
  6. Replies
    42
    Views
    38,999

    Re: Delay without using pause

    THANKS TO YOU ALL FOR TRYING TO HELP.

    I have thrown together some wobbly code to try and explain what i'm trying to do.

    I know it might not be the best way, but i can't seem to wrap my head...
  7. Replies
    42
    Views
    38,999

    Re: Delay without using pause

    THIS IS AN EYE OPENER.

    Thanks so much for explaining. Now i understand why it didnt work. I have learn a great deal from your post.

    Thanks for the tips, i think option B is what I will go for....
  8. Replies
    42
    Views
    38,999

    Re: Delay without using pause

    Thank so much Henrick,

    i am so glad that someone understood what i was trying to say. Elated to hear that it is doable even in the ms range.

    But to answer some of your questions:

    1) By...
  9. Replies
    42
    Views
    38,999

    Re: Delay without using pause

    hi all, i have been scratching my head thinking of how to avoid pbp pause in my routines bcos the command;

    1) seems to change system registers (correct me if i'm wrong),
    2) is the main cause...
  10. Replies
    5
    Views
    8,380

    Re: Usercommand macro generator

    merely looking at the screenshot, i already see the usefullness of this app. well done
Results 1 to 10 of 10