Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Replies
    29
    Views
    48,913

    Re: 12F683 2 x PWM Outputs

    Thank you very much Mark.
  2. Replies
    29
    Views
    48,913

    Re: 12F683 2 x PWM Outputs

    Hello Henrik , its the code just before my reply. The one by deodeo.

    I am programming a 12F683 using PBPro , Microcode Studio , MPASM and Pickit2.
    I have selected 12F683 in MicrocodeStudio.
  3. Replies
    29
    Views
    48,913

    Re: 12F683 2 x PWM Outputs

    Hi,
    I copied the program into Microcode Studio and when I compile it I get
    the following errors:

    ERROR: Variable wsave3 position request 416 beyond RAM_END 191.
    ERROR: Variable wsave2 position...
  4. Replies
    2
    Views
    21,536

    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...
  5. Replies
    2
    Views
    21,536

    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 ...
  6. Replies
    16
    Views
    8,797

    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...
  7. Replies
    16
    Views
    8,797

    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...
  8. Replies
    16
    Views
    8,797

    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...
  9. Replies
    16
    Views
    8,797

    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...
  10. Replies
    16
    Views
    8,797

    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...
  11. Replies
    16
    Views
    8,797

    Re: 18F1220 newbie

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

    Thank you
    Hebe
  12. Replies
    16
    Views
    8,797

    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...
  13. Replies
    16
    Views
    8,797

    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....
  14. 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
    ...
  15. Replies
    7
    Views
    5,523

    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,...
  16. Replies
    7
    Views
    5,523

    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...
  17. Replies
    7
    Views
    5,523

    Re: Picbasic Pro divide problem

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

    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 18 of 18