mramos 0 Posted June 2, 2007 Report Share Posted June 2, 2007 (edited) I have my program running now. I am missing a lot. Is there a manual to get a better idea on setting up a chip. Like the 12F675? I can not figure out the #pragma to get INTOSC to no clock in or how to set the ADC to I/O. Has anyone done this? I am doing it now via my programmer. I would like to use the ICD2, but will live. I have the clock set to 4000000 but the LED it way to fast. So I am looking for a sample program to initialize a 12F675? Edited June 2, 2007 by mramos Quote Link to post Share on other sites
Dave 0 Posted June 2, 2007 Report Share Posted June 2, 2007 mramos, I have my program running now. I am missing a lot. Is there a manual to get a better idea on setting up a chip. Like the 12F675? I can not figure out the #pragma to get INTOSC to no clock in or how to set the ADC to I/O. Has anyone done this? I am doing it now via my programmer. I would like to use the ICD2, but will live. I have the clock set to 4000000 but the LED it way to fast. So I am looking for a sample program to initialize a 12F675? cmcon = 7 Regards Dave Quote Link to post Share on other sites
mramos 0 Posted June 2, 2007 Author Report Share Posted June 2, 2007 mramos,I have my program running now. I am missing a lot. Is there a manual to get a better idea on setting up a chip. Like the 12F675? I can not figure out the #pragma to get INTOSC to no clock in or how to set the ADC to I/O. Has anyone done this? I am doing it now via my programmer. I would like to use the ICD2, but will live. I have the clock set to 4000000 but the LED it way to fast. So I am looking for a sample program to initialize a 12F675? cmcon = 7 Sorry to waste that question. I had cmcom=7, fixed the typo. Any list of the #pragma data commands. I am trying to set int_RC_noclockout. And the speeds. Using config=00000000000b (my 14 bits) did not let me do it either. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.