Hi guys,
I have searched high and low and it seems no one really uses Jal
anymore and thus no one could help me. I have a problem with Jalv2,
when I compile the following code:
include 16f628a
pin_b1_direction = output
pin_b2_direction = output
pin_b3_direction = output
pin_a1_direction = input
var byte leds = 0
portb = 0
forever loop
if pin_a1 then
leds = leds <<1
leds = leds + 1
delay_1s(1)
portb = leds
end if
end loop
It compiles ok, but when I try to program it then I get an error:
error write config - w, wrote 3D02 read 3F02. Then after I click ok
pin B1 and B2 lights up and does not go off no matter what I do. I
tried 3 brand new pics and also a JDM style programmer and a Velleman
K8048 but still the same problem persists. The program runs ok appart
from the above mentioned pins. What could be the problem? Inc file?
please if there is anyone out there to help me then it would be highly
appreciated.
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en.