Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Replies
    73
    Views
    83,016

    Will try HSPLL

    Thank you Sougata. I will give this a try and report back. And thank you for teaching me about HSPLL.
    Regards,
    Bob
  2. Replies
    73
    Views
    83,016

    PS/2 to 18F4620 timing issues isolated to "putkey" routine

    I just isolated the issue! If I eliminate any output going TO the keyboard, everything works just fine! I disabled the "putkey" routine buy placing a "RETURN" immediately after the beginning of the...
  3. Replies
    73
    Views
    83,016

    PS/2 to 18F4620 timing issues with mytekcontrols code?

    Thank you sougata,



    I did allow enough time for the keyboard to start. I see the LEDs flash, so I think that is not the issue.

    I will follow you suggestion and look into the buffer...
  4. Replies
    73
    Views
    83,016

    PS/2 to 18F4620 timing issues with mytekcontrols code?

    Hello!

    I have implemented the wonderful code PS/2 keyboard code from mytekcontrols in my PIC18F4620. It will only work if I set
    TOcntDLY CON to a value of 100 (originally set to 10 per...
  5. PBP array are "dimensioned" differently that other BASICs

    Well, I checked my understand of dimensioning arrays in other forms of BASIC. In other BASICs,
    DIM fish(20)
    creates an array of 21 elements (0 through 20). Hence, the source of my confusion. ...
  6. Array variables and my lack of knowledge

    Thank you, Dick M. Could it be this simple?
    In the manual example in section 4.5 it reads:

    " shark VAR BYTE[10]
    fish VAR BYTE[8]
    The first array location is element 0. In...
  7. Issues remain with array variables - syntax issues?

    Hello!

    Thanks again to all who pointed out that writing to FlashRAM has to be done in blocks and starting at addresses where the last two bits of address are 00!
    That knowledge allowed me to make...
  8. Oops - I "misspoke" about arrays and boundaries

    Oops. I should not have talked about arrays crossing any boundaries since Darrel reminded me that they are in RAM. Sorry.

    Bob
  9. Well, I was careful about arrays, perhaps I missed something.

    Darrel, et al,

    I understand going out of bounds of a dimensioned array, and that arrays start at 0. I believe that my use of array variables was correct, but I will go back and look again. ...
  10. Found the problem - ARRAY variables!

    Hello all!

    Following Darrel Taylor's excellent instructions, I was careful to WRITECODE to 4 word (complete) blocks starting at $1800 (or any other address where the two LSBs are 0's). I still...
  11. Thank you all! Ahhh. I see. I will now: 1)...

    Thank you all!

    Ahhh. I see. I will now:
    1) Start my WRITECODE at an appropriate address (block start boundary).
    2) Make sure that the last of my many consecutive WRITECODE instructions are...
  12. Thanks for the suggestions - still working on it

    To: Peterdeco1
    Thanks for the suggestion, but I do want to write to program RAM (flash RAM) because the EEPROM space will be too small for the 2000 words I want to be able to store eventually.
    ...
  13. Replies
    11
    Views
    6,530

    Waiting for a string within SERIN2

    Hello,
    While I am not an expert, I am confused by the line in your code that reads:
    SerIn2 rxd,Baud,500,delet_sms,[wait ("+8801717101959")]
    That command will wait for that string for 500...
  14. WRITECODE stores wrong 14-bit word values in FlashMEM

    Hello!

    I am using WRITECODE and READCODE at run time in a PIC16F876A. I send in a series of 70 or more words from my PC (none larger than a 14 bit value) and WRITECODE them into upper FlashRAM...
  15. Replies
    11
    Views
    9,522

    Correction on resistor values TX and RX

    I looked at the resistors that I used successfully. My previous post was in error with regard to the resistor value used in the TX line from the PIC. I used a 10k, not a 1k. I don't know if a 1k...
  16. Replies
    11
    Views
    9,522

    Got it to work. Confusion with DEC has abated.

    Joe S. and mackrackit,

    Background: I had written a program with PBCC (PowerBASIC Console Compiler for WinXP) that:
    1) Waits for the PIC to send a "0" to the PC, then
    2) the PC sends 12...
  17. Replies
    11
    Views
    9,522

    Made some progress

    Joe S. and mackrackit,
    I have some success by going farther back to basics (sending ASCII numbers from a terminal). I'll try to post the code and results later today.
    Thank you for your help and...
  18. Replies
    11
    Views
    9,522

    SERIN2 still hangs trying to fill a WORD variable

    Thanks Joe S.

    It will compile but it hangs up like the other efforts.
    I have considered a "resistor problem" and but only 1k receive and 1k transmit resistors work at all (the byte in, byte out...
  19. Replies
    11
    Views
    9,522

    Getting SERIN2 to work?

    Hello.

    This is my first post to this forum. I need help, please.

    I have been programming PICs for a few months successfully (turn things on and off, shift out/in, display on LCD, etc). I have...
Results 1 to 19 of 19