Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    9,010

    ERROR: Macro MOD?TCB not found in macro file. Whooops!!

    Darrel,

    I apologize for mis-spelling your first name. I was so excited after finding my problem that I used my nephews spelling of the name. Sorry

    John P
    Virginia Beach, VA. USA

    PS I...
  2. Replies
    3
    Views
    4,330

    Clearing info in an array

    Currently in my program I am creating the first array of only 8 bytes (x255), but that will expand depending on ease of operation and speed. I'd like to be able to clear the the whole 8 byte array...
  3. Replies
    4
    Views
    9,010

    ERROR: Macro MOD?TCB not found in macro file.

    Darryl,

    Thank you!! Thank you!!! Thank you!!!

    Only with your help could I find the problem. There was a problem with calculating a modulus 10. My PCs have been running a little jerky...
  4. Replies
    3
    Views
    4,330

    Clearing info in an array

    :confused:Is there a way to clear data in an array with one instruction? I get tired of spending code space and time on creating a loop to clear the array cells one at a time.

    John P
  5. Replies
    4
    Views
    9,010

    ERROR: Macro MOD?TCB not found in macro file.

    ERROR: Macro MOD?TCB not found in macro file.


    Does anyone know what this compile error refers to? It gives no line number or traceable information.

    I've been programming 18F4620 PICs using...
  6. Replies
    4
    Views
    3,977

    It happens to...

    Steve,
    It supposed to happen to everybody


    ELSE!!

    John P
  7. Replies
    4
    Views
    3,977

    Additional info....

    Re-reading my post I left out the following:

    Variable: Volts10 VAR Word

    I am assuming to get an ADC result ranging from 0 to 1023 () VDC to 20 VDC)

    The SEROUT command displays the...
  8. Replies
    4
    Views
    3,977

    18f4620 & ADC confusion

    I've been working with the 16F877A and haven't had any ADC problems. Now with the 18F4620 I can't seem to read any ADC voltages. I'm trying to monitor certain voltages including the voltage at the...
  9. Replies
    7
    Views
    4,824

    Nick, BINGO!!!! I knew it had to be...

    Nick,

    BINGO!!!!

    I knew it had to be something stupid!! The program waited for the command to finish and the watchdog timer reset the PIC! Disabling the watchdog timer made everything just...
  10. Replies
    7
    Views
    4,824

    Steve, I see what you mean. I turned off all...

    Steve,

    I see what you mean. I turned off all analog inputs and tried again with no luck. I also tried switching to ports c.2 and c.5 with same result. As soon as the program hits any XOUT...
  11. Replies
    7
    Views
    4,824

    multiplex stuff??

    Steve,

    I'm not sure what you are referring to when you say "Multiplex stuff". I have no connections to the porta pins for RA1 and RA2. I executed a trisa %00000000 before issuing the XOUT...
  12. Replies
    7
    Views
    4,824

    X-10 and the proper XOUT statement for 18F2620

    I've been having some problems getting an XOUT command to work.

    Pic: 18F2620
    PBP: 2.46
    MCS: 3.0.0.5
    Prog: MELABS U2
    Code;
    include "modedefs.bas"
    .......
    house = 1
  13. Thread: RS232 problem

    by JohnP
    Replies
    4
    Views
    4,067

    RS232 problem .. additional info

    The cabling is correct since I can transmit to & from Hyperterminal from the PIC (Max232cpe). The data there all looks OK. I've tried various forms of sending the ascii; one character at a time,...
  14. Thread: RS232 problem

    by JohnP
    Replies
    4
    Views
    4,067

    RS232 problem

    I'm confused. I'm trying to send simple ascii data to a video multiplexer that is looking for data in three bytes like:
    /01 display camera 1
    /02 display camera 2
    /pp display picture in...
Results 1 to 14 of 14