Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. programming cable lenght solved

    problem is found. custom made programmer cable too long. Using the three inch ribbon cable, it works!


    Case closed.
  2. programmer said cannot find target device

    Odd behavioral now... cant program 18f2550 but can program 16f886 no problem.

    I am using PBP 2.60 and MSASMWIN 5.20 and programmer 4.31.

    the other code used for 16f886 and programmed fine on...
  3. Replies
    8
    Views
    13,543

    It was the prgrammer U2 fault!

    AFter reading other forum, I put default for the programmer U2 and the problem solved! Now that my completed unit is back to life! The TRIS has to do nothing with for using with LCD but the unused...
  4. Replies
    8
    Views
    13,543

    LCD damaged by hardware/software?

    I use LCDOUT with DB4-DB7 on PORTB.0-PORTB.3, RS on PORTC.1, Ebit on PORTC.0 on 16F886. Starting BIT is set to 0. Will setting TRISB and TRISC even not set correctly can damage the LCD as well the...
  5. Replies
    7
    Views
    6,147

    That way it been erratic behavior and You are...

    That way it been erratic behavior and You are right about that the led should not blink when GPIO.5 is opened. that way when I opened the path from ground, the led still blinks. After I added...
  6. Replies
    7
    Views
    6,147

    Works

    Got it working, added INTCON=7. changed input to PULSIN. Everyting is working well.

    OOPS should be INTCON=0 not INTCON=7.
  7. Replies
    7
    Views
    6,147

    12F683 internal pull up

    Seems that internal pull up resistors not working?

    Simple code to work with. I am using GPIO.5 as input as digital. The LED still blinks from GPIO.2. The internal pull up dont work as expected to...
  8. Thread: 16f886

    by hvacrtech
    Replies
    12
    Views
    8,601

    Is CM1CON0=0 the same as CM1CON0.7 = 0?

    Is CM1CON0=0 the same as CM1CON0.7 = 0?
  9. Thread: 16f886

    by hvacrtech
    Replies
    12
    Views
    8,601

    Got it working partially. Will work on it...

    Got it working partially. Will work on it tomorrow.
  10. Thread: 16f886

    by hvacrtech
    Replies
    12
    Views
    8,601

    Somehow the RA.5 randomly stays high since I use...

    Somehow the RA.5 randomly stays high since I use RA.5 as pulseout. Even that ADC is disabled, comparator disabled.

    Include "bs2defs.bas"
    define lcd_dreg portc
    define lcd_dbit 0 '0
    define...
  11. Thread: 16f886

    by hvacrtech
    Replies
    12
    Views
    8,601

    Mssp

    I need help on 16F886, is there config to disable MSSP?
  12. Replies
    772
    Views
    593,875

    16F689 and DT INT14

    After reviewing all posts on INT14.



    Added

    RBIF = RABIF
    RBIE = RABIE to after ASM and just before INT_LIST.

    @ INT_ENABLE RBC_INT
  13. Thread: 16f886

    by hvacrtech
    Replies
    12
    Views
    8,601

    Port settings

    My code works. This is really interesting difference between typing in ports on 16F689 and 16F886 like 6 on 16F689 while porta.6 on 16F886 (lower cap works!) and will be sure all are Upper Cap.

    I...
  14. Thread: 16f886

    by hvacrtech
    Replies
    12
    Views
    8,601

    Making this LED flashing

    Here is the code,

    Similar idea as first post and still cant get LED flashing even after adding a line for device, i do get RA.6 low but still dont flash yet. without this device line, the pin...
  15. Thread: 16f886

    by hvacrtech
    Replies
    12
    Views
    8,601

    16f886

    I upgraded from 16F689 to 16F886 due to memory space. Complied fine and i am stuck with all RA's ports. I had no plm with 16F689 using RA5 as clock for shiftin command on RC.6 and RC.7. LCD commands...
  16. Yeah. I read a thread relating to this error and...

    Yeah. I read a thread relating to this error and i just actually ignore it all the times.

    I will have the checkbox marked disable errors in MCS.
  17. Programmer error with memory sizing on 16F68x

    I noticed that programming 16F689 and the MicroCode Suite showed me that code crosses boundary at 0800h. Well the PIC ran fine with no problems. I read the 16F68x manual and I see that 16F689 has...
  18. Wish it as full 16x1 instead of running 8x2 program.

    I had it working before anyone posted my question. I using code what was used for 8x2 and 16x2, it filled out correctly but uses more codes to do this instead of regular 16x2.
  19. Cannot write whole 16 characters using 16x1 lcd

    I have no problem with 16x2 LCD but when I swap to 16x1 unit, cannot do whole 16 character fill in and cuts off after 8th charactor on a single line.

    Any solution?

    Code: Default for 16x2,
    ...
Results 1 to 19 of 19