Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    3,005

    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
  2. Replies
    4
    Views
    3,005

    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...
  3. Replies
    13
    Views
    5,237

    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...
  4. Replies
    13
    Views
    5,237

    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...
  5. Replies
    42
    Views
    10,694

    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...
  6. Replies
    42
    Views
    10,694

    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...
  7. Replies
    42
    Views
    10,694

    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?
  8. Replies
    42
    Views
    10,694

    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...
  9. Replies
    42
    Views
    10,694

    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...
  10. Replies
    42
    Views
    10,694

    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...
  11. Replies
    42
    Views
    10,694

    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 ...
  12. Replies
    47
    Views
    33,443

    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!
  13. Replies
    47
    Views
    33,443

    Re: Interfacing with Arduino I2C LCD

    PCF8574AT is the number on my IC.
  14. Replies
    47
    Views
    33,443

    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!
  15. Replies
    47
    Views
    33,443

    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...
  16. Replies
    47
    Views
    33,443

    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...
  17. Replies
    47
    Views
    33,443

    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...
  18. Replies
    47
    Views
    33,443

    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
    ...
  19. Replies
    47
    Views
    33,443

    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 :...
  20. Replies
    8
    Views
    3,482

    Re: Is this a valid statement?

    Thank you, that fixes my problem.
  21. Replies
    8
    Views
    3,482

    Re: Is this a valid statement?

    Can anyone tell me why this does not work:

    if var8 = 1 then goto beper : J = 3

    The if statement works but J does not = 3 ?
  22. Replies
    6
    Views
    4,194

    Re: Ebay HC-12 wireless transceivers

    Thank you, Richard the link was helpful as was yours and Charlie’s comments .My project is back on track with the code below

    Transmitter Code 16F616:
    Tx:
    SEROUT PORTC.5,2,[2] 'sends 2 to the...
  23. Replies
    6
    Views
    4,194

    Re: Ebay HC-12 wireless transceivers

    It works for sure when wired direct.
    If you take a look at the third 9600bps mode " http://melabs.com/resources/ser2modes.htm " you will find that 16468 is indeed 9600 inverted when using serin2...
  24. Replies
    6
    Views
    4,194

    Re: Ebay HC-12 wireless transceivers

    It works as expected when wired direct.
  25. Replies
    6
    Views
    4,194

    Ebay HC-12 wireless transceivers

    HC-12 wireless transceivers

    Has anyone used the HC-12 wireless RS-232 modules on ebay? My modules seem to work fine with Arduino but I am having no luck using a 16F628A/16f616. Very simple code...
Results 1 to 25 of 53
Page 1 of 3 1 2 3