Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Replies
    31
    Views
    70,540

    Erik

    Try using a 1K pull down from the gate to ground on your MOSFET's. I have found that sometimes they get a little flaky with PWM and the 1K seems to make a huge difference.
  2. Replies
    6
    Views
    3,735

    I Found the problem

    Well, turns out the code was not the issue here.. Seems my WinPic tool I use to write to the chip could not find the device files from MPLAB. I reset the path, it found its device files, and now I...
  3. Replies
    6
    Views
    3,735

    This is getting frustrating...

    Here is the latest code bit:

    define osc 4

    CMCON = 7

    TRISA = %11111111
    TRISB = %00000000

    PB0 VAR PORTB.0
  4. Replies
    6
    Views
    3,735

    >>You say : I connect my switches to PortA ......

    >>You say : I connect my switches to PortA ... and you define PortB as the inputs ... while you read Portb.

    I did have PORTA originally. I switched to PORTB for testing.

    same results, no...
  5. Replies
    6
    Views
    3,735

    Need some pointers on 16F628 inputs

    I am trying to get my 628 to read PORTA as input for a BCD switch. I am having problems though.

    I tried CMCON = 7 and TRISA = %00001111

    I set the switch on PORTA.0 - PORTA.3

    Couldnt get...
  6. Replies
    12
    Views
    19,952

    Thanks!

    External pullups aren't a problem, thats easy.
    just had to figure out HOW to tell port A not to be fancy, just be a lowly input pin.


    As for me, Tech no code since 92.. Living in Dallas TX area...
  7. Replies
    12
    Views
    19,952

    Arghhhhhh... documentation is da bomb..

    I found my answer!!!

    CMCON and VRCON control the configuration and behavior of PORTA..

    wow.. love these things, learing a lot just flashing LED's
  8. Replies
    12
    Views
    19,952

    So how would one do this with PORTA on a 16F628?

    I too am a NU B. I understand the coding from Melanies example. But how would I config PORTA 0-3 to read my switch. Seems the option register only controls port B options. I know it is probably uber...
Results 1 to 8 of 8