Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    772
    Views
    594,597

    Re: Instant Interrupts - Revisited

    Hello,
    i have a working code which uses
    CMP_INT and TMR1_INT.

    I want when TMR1_INT event triggered ,
    to change the period (or Frequency as entered) and reload the TMR1 with a new value.

    Is...
  2. Replies
    12
    Views
    12,996

    Re: RMW Read modify write

    Thank you guys!

    Very clear response...
  3. Replies
    12
    Views
    12,996

    RMW Read modify write

    This is simple Led-blink code that does not work.

    LED5 flashes normally, and LED 4 stable HIGH.................

    Using a 12F1822 (RA4 is not open collector in this PIC).
  4. Replies
    39
    Views
    49,243

    Re: 16F726 Capacitive sensing module

    OK !
    It is not so difficult to read.

    Thanks again!
    Lakis from Thessaloniki.
  5. Replies
    39
    Views
    49,243

    Re: 16F726 Capacitive sensing module

    Ioannis , geia !

    Is it possible to post the modified optimized code for the 16F1827?

    Thank you.
    Lakis.
  6. Replies
    17
    Views
    13,572

    Re: PBP Support for 12F1840 8-Pin Device?

    springtank's solution worked for me totally fine on pbp 2.6 (Thanks one more time!)

    A compiled .hex file of 1822 , also worked 'as is' on the 1840!

    I used many registers in my program (can't...
  7. Replies
    17
    Views
    13,572

    Re: PBP Support for 12F1840 8-Pin Device?

    Thank you!

    I thought the differences in the .inc were also about the registers ,
    so i had to verify that aaaaaall the registers of the 12F1840 are in same addresses as the 16F1828. :numbness:
    ...
  8. Replies
    17
    Views
    13,572

    Re: PBP Support for 12F1840 8-Pin Device?

    Would it be too much if i ask you to attach the modified .inc file ?

    Thank You in any case !
  9. Re: Building an I2C monitor ... but i think it is not Slave....

    I must note i used a 12F1822 @32 MHz and the I2Cbus was running at slow speed !. I don't think the code is fast enough for a 400KHz bus! :(
  10. Re: Building an I2C monitor ... but i think it is not Slave....

    ASM
    __CONFIG _CONFIG1, _FOSC_INTOSC & _WDTE_ON & _PWRTE_ON & _MCLRE_OFF & _CP_OFF & _CPD_OFF & _BOREN_OFF & _CLKOUTEN_OFF & _IESO_OFF & _FCMEN_OFF
    __CONFIG _CONFIG2, _WRT_OFF & _PLLEN_ON &...
  11. Replies
    17
    Views
    13,572

    Re: PBP Support for 12F1840 8-Pin Device?

    Hello , did you finally managed to play with the 12F1840 ?

    I mean you used 12F1822 Hex ?

    But i think Microcode Studio wouldn't give error (and quit) when try to write more than 2048 words ?
    ...
  12. Re: Building an I2C monitor ... but i think it is not Slave....

    I am happy to say that the bit-banging I2C monitor is done.

    It is written all in PBP , and uses interrupts for the input-bit sensing using a...12F1822 at... 32MHz of course.

    Tommorow i will...
  13. Re: Building an I2C monitor ... but i think it is not Slave....

    While speed-optimizing an IRQ Bit-bang routine i am working on now , i though it would be useful to use the EUSART Synchronous Slave Reception mode (asuming using the 2 EUSART pins of course).
    Eg.
    ...
  14. Re: Building an I2C monitor ... but i think it is not Slave....

    Many many Thank you for the replies.

    I thought that reading the Addresses and Data but instead of ACK , i would always use byte NACKing (though it was invisible on the bus)
    as it is referred in...
  15. Building an I2C monitor ... but i think it is not Slave....

    Building an I2C monitor with a 12F1822 and i want to monitor at least 4 addresses.

    I use SSP1MSK = 000001 for that , and then i filter the 4 addresses from the SSP1BUFF.

    But i think that I2C...
  16. Sticky: Re: Presetting Configuration Fuses (PIC Defines) into your Program

    Problem solved!

    I had to use

    ASM
    __CONFIG _CONFIG1, _FOSC_INTOSC & _WDTE_OFF & _PWRTE_ON & _MCLRE_OFF & _CP_OFF & _CPD_OFF & _BOREN_OFF & _CLKOUTEN_OFF & _IESO_OFF & _FCMEN_OFF
    ...
  17. Sticky: Re: Presetting Configuration Fuses (PIC Defines) into your Program

    Overwriting previous address contents (8007) :(
  18. Sticky: Re: Presetting Configuration Fuses (PIC Defines) into your Program

    Nop ,
    these configs are for the MPASM assembler - which i use ,
    since PM (of the PBP 2.60c i use) does not support the 12F1822.

    ps. just saw you're from Thessaloniki too :)
    so , Kalo...
  19. Sticky: Re: Presetting Configuration Fuses (PIC Defines) into your Program

    Oh , it's been 7 years and this thread is still hot!
    Here is my configuration problem using PIC12F1822.

    As long as i red the manuals i guess the correct is

    @ __CONFIG1 _FOSC_INTOSC & _<blah...
  20. Re: 16f88 configuration ..... and pickit2 configuration word warning....

    Thanks for the interest but all these are for MPASM.... i am not sure if i can handle MPASM.... if until tommorow morning have no reply i will try using MPASM.
  21. Re: 16f88 configuration ..... and pickit2 configuration word warning....

    unfortunately as i said i don't use MPASM ....

    (PBP 2.60C)
  22. 16f88 configuration ..... and pickit2 configuration word warning....

    @ DEVICE PIC16F88, INTRC_OSC_NOCLKOUT
    @ DEVICE PIC16F88, WRT_OFF
    @ DEVICE PIC16F88, DEBUG_OFF
    @ DEVICE PIC16F88, CCPMX_OFF
    @ DEVICE PIC16F88, MCLR_OFF
    @ DEVICE PIC16F88, PROTECT_OFF
    @ DEVICE...
  23. Replies
    2
    Views
    2,537

    Re: 12F510 CALL subroutine problem ...

    :angel: T H A N K S !!!! ..... THAT WAS IT! :angel:

    (and solved all the problems ... including the strange behaviour of GPIO.0....)
  24. Replies
    2
    Views
    2,537

    12F510 CALL subroutine problem ...

    Hello to all,
    i am having a headache using CALL in 12F510...see that...

    The PIC gets a continuous CLK in pins GPIO.3 and .4
    (This is only a testing part of the full program , in order to...
  25. with a small 40pin ICsocket > 6pin breadboard......

    with a small 40pin ICsocket > 6pin breadboard...

    I retried second time to use 2.55 still not working, so back to 2.40 for sure.

    I suspect is a bug of the Firmware 2.32.00 used both in 2.61 and...
Results 1 to 25 of 30
Page 1 of 2 1 2