I have tried to test this code and I can not get either of the switches RA.3 or RC.3 to fire off. Dose anyone know why? Are the registers set correctly?
I have tried to test this code and I can not get either of the switches RA.3 or RC.3 to fire off. Dose anyone know why? Are the registers set correctly?
The Inning isn't over just because you Walk somebody.
If balls = 4 Then over
<hr>
Do you have pull-up resistors on RA.3 and RC.3 ?
Is the PIC even running? Can you Blink an LED ?
<br>
DT
OK, folks I include a layout of the chip and what I'm trying to do.
I used the paint program, It's all I have to draw with..
Again it's a PIC16F684 e/p
Thanks!
TRISA = %00110111
TRISC = %00110111 should set the Pins for digital
I'll remove sled and oled and replace with porta, portc
You are talking about the "CONFIG: CONFIGURATION WORD REGISTER"
bit 5 - 0 = RA3/MCLR pin function is digital input. Right?
Now that I need to set the CONFIG REGSTER, any help with the other 15 bits?
Here are a couple of options, some are freeware, others offer free versions with reduced capabilities/personal use only.
CADSoft Eagle PCB software
The Lite version is freeware for personal use. Size limited to 100 x 80mm or 4 x 3.2 inches. Autorouting, does schematic layout and PCB patterns. Price starts at $99.
http://www.cadsoftusa.com/
DipTrace
Easy to use Schematic / PCB program
http://www.DipTrace.com
FreePCB
An open source layout program, imports PADSPCB format. Stable and usable, but still very basic. Ver 1.01, Windows only at this time.
http://www.freepcb.com
KiCAD
GPL'd Schematic Capture, PCB's up to 16 copper layers and no board size limits, Gerber viewer, Yahoo group
http://www.lis.inpg.fr/realise_au_lis/kicad/
Target 3001
PCB, schematic, simulation CAD, CAE. Several versions from free to hundreds of Euros, based on limitations. German, French, and English.
http://www.ibfriedrich.com/
HTH,
SteveB
Bookmarks