Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    3,801

    Re: write to EEPROM and interrupt

    With regard to the "DEFINE WRITE_INT 1" directive, it appears to be available at least from PBP 2.50 onwards. I misspoke above^^^. Apologies.
  2. Replies
    8
    Views
    2,811

    Re: ADC setup on 12F1822 ??

    Thank you^^^. Yes, I got it sorted out. I think my initial confusion resulted from some interaction between PBP3 DEFINEs for the ADC module and some direct settings I was also doing on some...
  3. Replies
    8
    Views
    2,811

    Re: ADC setup on 12F1822 ??

    Yes, it's a WORD. But thanks!
  4. Replies
    7
    Views
    3,801

    Re: write to EEPROM and interrupt

    DEFINE WRITE_INT 1 is used to avoid write errors during a WRITE to EEPROM which might otherwise possibly be caused by an interrupt occurring during the write. The functionality is that it disables...
  5. Replies
    7
    Views
    3,801

    Re: write to EEPROM and interrupt

    Thanks Dave. My "issue" is that I have a 10-mS interrupt running to keep track of elapsed time. I have several EEPROM writes and since EEPROM writes take a while I don't want to lose time by stopping...
  6. Replies
    8
    Views
    2,811

    Re: ADC setup on 12F1822 ??

    Thanks ^^^
    I am doing the same register setups as you show, except that I'm using AN2 (ANSELA=%0100, TRISA=%01100). In addition I have ADCON0.0=1 (enable ADC). I'll try removing this. I'll work on...
  7. Replies
    8
    Views
    2,811

    ADC setup on 12F1822 ??

    Hello!

    Has anyone been successful on getting data from the ADC on a 12F1822? While I can get 8-bit conversions, I cannot get 10-bit results. I have puzzled through the related registers from...
  8. Replies
    7
    Views
    3,801

    Re: write to EEPROM and interrupt

    I'm going to try this. Thanks!

    Also, does the same apply to EEPROM reads? I assume a READ instruction can get messed up if the interrupt occurs at just the right time during the READ?
  9. Replies
    14
    Views
    8,784

    Re: Direct PIC to PC without MAX232

    Back to my original question:
    Turns out that the 12F1xxx family (and likely others) have an option to invert data from the TX/CK pin. The control is the SCKP bit (bit 4) in the BAUDCON register,...
  10. Replies
    6
    Views
    2,488

    Re: Code verify on 12F683

    I may be using the wrong terminology. All I meant was that I send the hex code along with the gerbers and BOM and the assembly house includes loading the chips with my hex code as part of the...
  11. Replies
    6
    Views
    2,488

    Re: Code verify on 12F683

    Actually, a partial answer to my own question. Turns out that some of the 12(L)F1xxx family parts are available in 8-pin packages and have self-programming capability. However, for use with meLabs...
  12. Replies
    6
    Views
    2,488

    Re: Code verify on 12F683

    Thanks. This would be fine for one or a few instances. In my case a PCB assembler will be gang-programming many chips. Plus, once out in the field I would like the program to not run at all if,...
  13. Replies
    6
    Views
    2,488

    Code verify on 12F683

    Hello all!

    I haven't had any luck searching on this topic. I have a RBPro 2.50A program running on a 12F683. Program runs fine. I want to add a short section of code at the top of the program...
  14. Replies
    14
    Views
    8,784

    Re: Direct PIC to PC without MAX232

    Of course you're right! Why didn't I think of that? ;-\
    I'm just using a 3-wire connection, so I suppose, aside from a dedicated RS232 translator chip (MAX232 etc), I could use any scheme to...
  15. Replies
    14
    Views
    8,784

    Re: Direct PIC to PC without MAX232

    Thank you for this idea!!

    Also, would the following work:

    HSEROUT - First invert all bits in the data byte, then send with HSEROUT.
    HSERIN - Read the data as usual, the invert the data byte...
  16. MicroCode Studio header/footer on output???

    Hello all,

    I have MicroCode Studio Plus v 3.0.0.0. On the printer output I would like a footer which gives "page x of y" and the date/time. But, I only get the header, which shows the program...
Results 1 to 16 of 16