very good. you would have to wonder why the 12f1840 did not work
the code works up t0 64mhz and can write the 4 digits in less than 50uS
Type: Posts; User: richard; Keyword(s):
very good. you would have to wonder why the 12f1840 did not work
the code works up t0 64mhz and can write the 4 digits in less than 50uS
.
WORKS just fine for me, even at 3v
pic18 version [can't believe how many changes it needed]
this works for me ,its for a 12f1822 and should run on a 12f1840 as is
if you post your code I will look at it,
'****************************************************************
'* Name...
MY code is for a pic16 with enhanced core it needs some changes to operate on older chips and/or pic18
moviw fsrx ++ can be replaced with
MOVF INDFx,W
INCF FSRx
brw becomes
addwf PCL, F ...
its all about rmw errors , 12f683 has no lat regs
https://www.microchip.com/webinars.microchip.com/WebinarDetails.aspx?dDocName=en556253
the corrected version of your code I posted works for me
the code I posted here works
http://www.picbasic.co.uk/forum/showthread.php?t=23417
sheldons code posted here works
...
Mike is correct
try this , it works on a 12f1822
note leds 2,3 and 4 show random crap since nothing is written to them
and not using lat regs is asking for trouble
nearly forgot dispnum = 146...