Hi mackrackit
Yes I ran that code and it compiled with no errors.
I loaded the HEX code (confirmed write successful) but the LED's didn't light?
I reloaded you earlier HEX file and all three LED's jogging along nicely.
Hi mackrackit
Yes I ran that code and it compiled with no errors.
I loaded the HEX code (confirmed write successful) but the LED's didn't light?
I reloaded you earlier HEX file and all three LED's jogging along nicely.
Yup, different code for different PICs.
When do your 12F683s arrive?
Dave
Always wear safety glasses while programming.
I changed the code from GPIO to TRISIO
RE-compiled, re-loaded the HEX code file and away she ran.....!
Time for me to pause here mackrackit. I need to break your program down and figure out exactly what's going on. That way I can move on.
I'll try and figure it out and if you'd be so kind you can tell me how I got on.
It's the only way for me to learn.
As ever thanks for your help.
Dave
I'll try and figure it out and if you'd be so kind you can tell me how I got on.
I like it when someone wants to learn.
I will be here....
Dave
Always wear safety glasses while programming.
The 12F683's arrived today! I didn't order them until late last night, talk about service, I love the internet....:-)
I changed the 12F675 PIC over to a 12F683 and it ran your program a treat.
I've got a lot to learn still, a huge amount but really enjoying it.
My first project (I'm getting ahead of myself here I know) but my first project will be to make a 12F683 OUTPUT binary coded decimal four bit words and drive a seven segment display. I figure with the 12F683 having six outputs this is a viable project.
Dave
"I like it when someone wants to learn.
I will be here...."
Thanks for that mackrackit I appreciate it. I hope I don't drive you insane during my learning curve.....!
I'm off to bed now to dream of TRISO's.......
Dave
Well....My first project (I'm getting ahead of myself here I know) but my first project will be to make a 12F683 OUTPUT binary coded decimal four bit words and drive a seven segment display. I figure with the 12F683 having six outputs this is a viable project.
I hate to tell you this but I think there is something wrong with your counting...
Or mine![]()
Dave
Always wear safety glasses while programming.
Hi LEDDave,
16F628A might be easier to drive 7 segment as no driver translator chip required ( because it has enough ports ). Your biggest challange will be due to 31 lines of code limitation, in the Demo program.
I do not know if assembly code is counted in that limitation.
If you have that problem I am sure Mackrackit and I would compile a few programs for you, enough so you believe this compiler is worth it's price.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
I know nothing about the PICKit1, can you use ICSP with it ?
OK I just looked at AN258 http://www.microchip.com/stellent/id...pnote=en012103
and it clearly shows PICKit1 using ICSP so he can go OFF BOARD with some jumper wires and program chips.
So is it that the PICKit1 firmware does not support bigger chips ?
This will work, until he get's serious. http://cgi.ebay.com/Microchip-PIC-JD...item1e595bbf81
Probably Won't do 18Fs but will do nearly all 16F & 12F series.
Last edited by Archangel; - 19th February 2010 at 07:55.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks