Search Results - MEL PICBASIC Forum

Search:

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

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    897

    Re: PCF8563 date data corrupted

    Thank you very much Richard , your advice fixed my problem.
    I am so happy 'cause I really like this chip.
    Now I can apply my mind to getting an interrupt every minute which
    appears to be quite...
  2. Replies
    2
    Views
    897

    PCF8563 date data corrupted

    PIC16F628, Pic Basic Pro 2.60, Pickit programmer

    Good day ,
    Below is my code to read the PCF8563:

    I2Cread SDA,SCL,rtcadd,rtcloc,[secs,minu,hrs,DoM,doW,mon,year]
    gosub waita ...
  3. Replies
    16
    Views
    4,264

    Re: 18F1220 newbie

    Thank you Henrik, I have now removed the config statements from the PBP 2.6 18F1220.inc file
    and inserted the required config statements into my program. Works like a dream and no more
    interfering...
  4. Replies
    16
    Views
    4,264

    Re: 18F1220 newbie

    Hi Richard , It's blinking now. I changed the config settings in the .inc file that exists in the
    PBP 2.6 folder and I have no config statements in my source program.
    Thank you very much for...
  5. Replies
    16
    Views
    4,264

    Re: 18F1220 newbie

    Hi Richard , thank you for your patience.
    I tried all the changes you suggested but could not get it to work. I reverted back to PBP 2.6 and downloaded
    MPLAB 8.9 which contains MPASM v5.5. I now...
  6. Replies
    16
    Views
    4,264

    Re: 18F1220 newbie

    Hi, I have now installed MPLABX , PBP3 and MCSX. Now I get [ASM ERROR] 18F1220 NOVA BX.ASM (30) : Symbol not previously defined (_INTIO2_OSC_1H) .
    I've tried a lot of permutations and found that...
  7. Replies
    16
    Views
    4,264

    Re: 18F1220 newbie

    Hi Richard, my P18F1220.inc does not look anything like that.
    I tried your config suggestion with slight mod ( see below) but it still does not work. I also tried with a copy of the .inc from...
  8. Replies
    16
    Views
    4,264

    Re: 18F1220 newbie

    Hi Richard, I'm using PBP 2.6. Not sure if my MPASM shipped with it.

    Thank you
    Hebe
  9. Replies
    16
    Views
    4,264

    Re: 18F1220 newbie

    Thank you Louie, I changed to LATA.1 then got a syntax error due to incorrect port use which I fixed. Now I get eleven lines of "error [177].......__CONFIG directives cannot be used with CONFIG...
  10. Replies
    16
    Views
    4,264

    18F1220 newbie

    Hi All, I am trying to convert a 16F88 program to run on a 18F1220. For starters I tried the attached blink LED program but can't get it to work.
    I'm using Pickit2, Microcode Studio and MPASM ver....
  11. Re: Is there a way to see if a DS18B20 is present

    This I use and it works well:


    Start:

    OWOUT DQ, 1, [ $33 ] 'send read Rom command

    OWIN DQ, 2, [ FaM,skip 7] 'read sensor family code, skip ID and CRC
    ...
  12. Replies
    7
    Views
    2,522

    Re: Picbasic Pro divide problem

    Hi Darrel , thanks again. I used your DIV32 remainder tip to do the rounding to 1mm.
    I still have enough flash for my refinements
    circ = puls * 1000
    circ = (DIV32 fctr)
    @ MOVE?WW R2,...
  13. Replies
    7
    Views
    2,522

    Re: Picbasic Pro divide problem

    Hi Darrel , I looked through the PBP manual to get clarity on the "+R2.15" in the code you sent me but I could not find it. I presume that R2.15 means register 2 bit 15 and that it must be used...
  14. Replies
    7
    Views
    2,522

    Re: Picbasic Pro divide problem

    Hi Darrel , thank you very much. It works like a dream and I've saved 263 words.
    Hebe
  15. Replies
    7
    Views
    2,522

    Picbasic Pro divide problem

    Hi All , this is my first post. Any ideas?

    I have written the following code in my program for a 16F88. It works but I need to free up some memory for other routines. Is there a more efficient...
Results 1 to 15 of 15