Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    5,408

    Use the on-board EEPROM. If I remember right, the...

    Use the on-board EEPROM. If I remember right, the '84 has 64 bytes available.

    Arch
  2. Replies
    4
    Views
    5,915

    Well... when I was writing code for my LANC...

    Well... when I was writing code for my LANC control a while back, I used some blinking LED's as very basic debugging indicators - it looks like this code does the same.
    After various commands, etc,...
  3. Replies
    8
    Views
    5,489

    LOL - That's how most of my problems get fixed...

    LOL - That's how most of my problems get fixed too! :-()

    Arch
  4. Replies
    22
    Views
    19,230

    Hi ghoot, Not sure if it would save any code...

    Hi ghoot,
    Not sure if it would save any code space overall, but you might want to look into the "LOOKUP" command too.

    Also, in your code where you limit "Refresh" to 8...


    Refresh = Refresh +...
  5. Replies
    68
    Views
    135,234

    Thanks mister_e! That's a great program - sure to...

    Thanks mister_e! That's a great program - sure to used often :-)

    Arch
  6. Replies
    3
    Views
    3,204

    I think it would be very helpful if MELabs...

    I think it would be very helpful if MELabs offered a PDF manual that could have annotations added - then various users could swap & add annotations.
  7. Replies
    15
    Views
    9,480

    I'll try 2 & 3... For CounterA = 1 To 20 ...

    I'll try 2 & 3...



    For CounterA = 1 To 20 ; "CounterA" keeps track of the loop count for the first FOR/NEXT loop

    For CounterB = 1 To 10 ; "CounterB" keeps track of the loop count for...
  8. Replies
    12
    Views
    17,760

    Have you set the device configuration word (or...

    Have you set the device configuration word (or 'fuse') to the appropriate value for the 20MHz osc?

    Arch
  9. Replies
    15
    Views
    6,593

    Have you defined all the variables? ie: B0 VAR...

    Have you defined all the variables? ie:

    B0 VAR BYTE
    B1 VAR BYTE
    etc

    ... or included the appropriate 'include' file for Basic Stamp compatibility?

    Arch
  10. Replies
    3
    Views
    2,862

    Good to hear you found the problem :-) I've...

    Good to hear you found the problem :-)
    I've never figured out why the line numbers don't match up, but the problem is usually nearby somewhere - as you found out.

    Arch
  11. Replies
    3
    Views
    2,862

    Hi Alec, Assuming you're using PM (not...

    Hi Alec,



    Assuming you're using PM (not MPASM), you can find a list of error descriptions in your PBP directory in a file called "pm.txt" (sometimes the descriptions don't help all that much)....
  12. Replies
    8
    Views
    6,773

    Not as cheap as the LDR... TAOS (Texas Advanced...

    Not as cheap as the LDR... TAOS (Texas Advanced Optical Systems - or something like that) has some light-to-voltage & light-to-frequency converters for a few US$.

    http://www.mouser.com stocks...
  13. Replies
    6
    Views
    6,625

    Here is a small refinement to your IF-THEN-ENDIF...

    Here is a small refinement to your IF-THEN-ENDIF


    Temp = Seconds + Minutes + Hours + Seconds_Alarm_Set_Point + _
    Minutes_Alarm_Set_Point + Hours_Alarm_Set_Point
    IF Temp <> 0...
  14. Replies
    6
    Views
    6,625

    Another way to do it that might work... Since...

    Another way to do it that might work...
    Since you're checking to see that all those variables = 0, you could just first add them all (making sure that the Temp variable size won't be exceeded), then...
  15. Replies
    9
    Views
    7,136

    Hi Woodzy, Have you tried compiling some known...

    Hi Woodzy,
    Have you tried compiling some known good sample code as a test?

    If you've already tried that - can you post your code - maybe somebody can help out.

    Arch
  16. Replies
    12
    Views
    6,347

    The subroutine executes just like a regular...

    The subroutine executes just like a regular section of code. Hardware PWM will keep on going as usual (unless your sub changes the HPWM settings). Even the 'pause' would not stop HPWM (It's...
  17. Replies
    2
    Views
    4,411

    Hi Bill, Site still appears for me... ...

    Hi Bill,
    Site still appears for me...

    http://www.picallw.com/

    But the software is no longer updated and may not support newer devices.

    EDIT
    Just checked version 1.6, and it does show...
  18. As far as any possible differences, Microchip has...

    As far as any possible differences, Microchip has documents on their web site that discuss 'migrating' to newer and/or upgraded devices.

    Arch
  19. Hi emmett brown Try: IF b0 < b1 THEN ...

    Hi emmett brown
    Try:



    IF b0 < b1 THEN
    pval = pval -1 'run pval backwards
    EndIF
  20. Hi Blaine, That's a fairly easy one - just start...

    Hi Blaine,
    That's a fairly easy one - just start a thread with an appropriate title, and start adding ideas as they come up.
    Problem is that after a while the thread will be as long as an average...
  21. Replies
    6
    Views
    5,385

    Hi jetpr, Here's a link with some info: ...

    Hi jetpr,
    Here's a link with some info:

    http://www.rentron.com/Myke1.htm

    Arch
  22. Replies
    4
    Views
    3,132

    I've not used ADCIN much, but here's some other...

    I've not used ADCIN much, but here's some other things to check:

    I don't see anywhere in your code that sets the pins as inputs - you might try setting up the TRISIO register as needed.

    In the...
  23. Replies
    4
    Views
    3,132

    Hi Scott, I'm not too familiar with the '675,...

    Hi Scott,
    I'm not too familiar with the '675, but don't you need to set your ANSEL register so that GP.1 is an analog input? It looks like only GP.0 is set as analog in.

    Arch
  24. Replies
    10
    Views
    11,168

    Hi waterlee2000, This section is devoted to...

    Hi waterlee2000,
    This section is devoted to peoples "wishes" for PBP functionality. For help with code, try one of the other sections, like the PicBASIC or PicBASICPro forums.

    Arch
  25. Replies
    13
    Views
    7,608

    Hi modifyit, If you check the app note section:...

    Hi modifyit,
    If you check the app note section:

    "FIGURE 1: FIRMWARE FLOW DIAGRAM"
    there is a flowchart describing how the code works... RESET > TestWDT > Etc

    This is from the 12F675 data...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4