Search Results - MEL PICBASIC Forum



THE BOOK of DT's INTERRUPTS is an organization of interrupt service routines and other works written by Darrel Taylor, RIP.

Interrupt routines are arranged per Darrel's original list. Darrel Taylor's Instant Interrupts are an extension of the work of Tim Box whom in October of 2002 wrote INT_CTRL.pbp

Many of the forum members felt this is a long overdue project.

THE BOOK of DT's INTERRUPTS
will be a valuable resource and a tribute to Darrel Taylor the "Fanatical Contributor".

THE BOOK of DT's INTERRUPTS is located at http://dt.picbasic.co.uk/

Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    4,162

    Re: Request : meCONFIG

    I would very much like to see this tool make a comeback!
  2. Replies
    8
    Views
    5,251

    Re: selecting the correct micro controler to use

    Will we have support for the PIC16F18446 soon?
  3. Replies
    7
    Views
    14,812

    Re: Config & Oscon settings 16F1825

    This fixed my problem. I did not notice I had ticked 16fl1847 not 16f1847 in MeConfig . I changed "OSCCON = %11100000" to "OSCCON = %01110000" and added "DEFINE OSC 8". I am glad I figured it out...
  4. Replies
    7
    Views
    14,812

    Re: Config & Oscon settings 16F1825

    I am trying to use a 16f1847 and can not get it to blink an led I am sure this is a config problem but just can't make it work. this is my config and blink program below.

    Thanks!

    ...
  5. Replies
    8
    Views
    7,310

    Re: How do I use 10 bit A/D on 8 bit Pic? 12F675

    I got it fixed it was a hardware issue. Thank you!
  6. Replies
    8
    Views
    7,310

    Re: How do I use 10 bit A/D on 8 bit Pic? 12F675

    Can anyone tell me what I am doing wrong? This code just returns " 0 0 " with 3 volts on gpio.0

    DEFINE ADC_BITS 10
    DEFINE ADC_CLOCK 3
    DEFINE ADC_SAMPLEUS 50

    CMCON = 7
    ANSEL = %00000001...
  7. Replies
    4
    Views
    18,343

    Re: Code doesn't work on 16F648A

    Sorry I got it because it was a 10mhz oscillator I needed to use "cfg = _HS_OSC" I found the answer in this pdf.
    http://ww1.microchip.com/downloads/en/AppNotes/00849a.pdf
  8. Replies
    4
    Views
    18,343

    Re: Code doesn't work on 16F648A

    I am having problems using an external oscillator on a 16f648a. I can use the internal oscillator with no problem however when I try to use an external ceramic oscillator the code does not run. On...
  9. Replies
    13
    Views
    21,586

    Re: Input problems with 12F629?

    I just found my problem. It was these two lines

    SYMBOL RTOUT = GPIO.4

    SYMBOL PEIZO = GPIO.5

    I had changed my board on the last run and forgot to change the pin numbers in the code. The...
  10. Replies
    13
    Views
    21,586

    Re: Input problems with 12F629?

    I have read this thread several times and looked at the datasheet several time as well. I am having problems with code that has worked fine in the past and suddenly I can not make GPIO.0 and GPIO.3...
  11. Replies
    42
    Views
    45,678

    Re: 18F2550 and Blink Led

    So this means all of the wpu are turned off on portb if any pin is a output on portb? I guess I thought because the data sheet said "The weak pull-up is" not "The weak pull-ups are turned off it...
  12. Replies
    42
    Views
    45,678

    Re: 18F2550 and Blink Led

    What I was attempting to say with that comment was that by using TRISB = %00001111 after the line containing INTCON2.7 = 0 you would set the bottom 4 bits to outputs causing those 4 bits to no...
  13. Replies
    42
    Views
    45,678

    Re: 18F2550 and Blink Led

    Is this close?
    INTCON2 = %00000000 ' makes all of portb have WPU ? INTCON2<7> 'page 116
    TRISB = %00001111 'B. 0:3 are now outputs WPU is now off?
  14. Replies
    42
    Views
    45,678

    Re: 18F2550 and Blink Led

    Thank you, I will make an order on Monday. I should have asked before I started this project.
    I have tried to use the pic comparison page with some luck...
  15. Replies
    42
    Views
    45,678

    Re: 18F2550 and Blink Led

    I was not aware of the 18F25K22. I should have asked for advice before I made the change. Sometimes selecting a new device can be very confusing. I will look at the data sheet for the 18F25K22 , do...
  16. Replies
    42
    Views
    45,678

    Re: 18F2550 and Blink Led

    Thank you for your reply. You are right I am trying to use the internal oscillator and have no idea how to setup the oscillator section. I do not plan to use any of the special features “usb ” of...
  17. Replies
    42
    Views
    45,678

    Re: 18F2550 and Blink Led

    No blinky what am I doing wrong? The below config come from meconfig.exe.


    ;----[18F2550 Hardware Configuration]-------------------------------------------
    #CONFIG
    CONFIG PLLDIV = 5 ...
  18. Replies
    47
    Views
    64,617

    Re: Interfacing with Arduino I2C LCD

    Thank You, I will try your code. I went another direction but I will order another display just to try this. Thanks again!
  19. Replies
    47
    Views
    64,617

    Re: Interfacing with Arduino I2C LCD

    PCF8574AT is the number on my IC.
  20. Replies
    47
    Views
    64,617

    Re: Interfacing with Arduino I2C LCD

    This is the init command from my working Arduino sketch "LiquidCrystal_I2C lcd(0x3F, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE)" all three jumpers are open A0:2.

    Thanks!
  21. Replies
    47
    Views
    64,617

    Re: Interfacing with Arduino I2C LCD

    I see on the data sheet for the PCF8574 you are right I used the Arduino i2c address finder to get the address. I have tried it using the 4E address and get nothing however with the 7E I do get some...
  22. Replies
    47
    Views
    64,617

    Re: Interfacing with Arduino I2C LCD

    Richard thank you for your help.

    I have read most of the threads but will read them again. I will find and download both version of the include. On Arduino this is the Initialization for my...
  23. Replies
    47
    Views
    64,617

    Re: Interfacing with Arduino I2C LCD

    Sorry, I should have said 16F628A. I did set my pins as digital? I want to display data from my program but that seems far away at this point?? I cut the program down to the below lines and I get a...
  24. Replies
    47
    Views
    64,617

    Re: Interfacing with Arduino I2C LCD

    I did delete these two lines

    ARRAYWRITE LCD_Buff,[" LCD PCF8574"] : LCD_WriteBuff

    ARRAYWRITE LCD_Buff,[$FE,$C0,"Count = ",DEC LoopCount," "] : LCD_WriteBuff

    and Change this line
    ...
  25. Replies
    47
    Views
    64,617

    Re: Interfacing with Arduino I2C LCD

    I am trying to make this code work with a 16F629A and all I get is a blinking back light with the modified code below.I am probably missing something simple?

    Thanks,

    ; Filename :...
Results 1 to 25 of 59
Page 1 of 3 1 2 3