Author |
Message |
Topic: PIC10F220 CODE |
gutisie
Replies: 14
Views: 17157
|
Forum: General CCS C Discussion Posted: Tue Sep 07, 2010 12:08 pm Subject: PIC10F220 CODE |
hi, at the end, it did not work, so i used another pic the 12f629, and even though the code compiles ok, it does not work.
I believe that the pic, does not count when the switch closes, hence can not ... |
Topic: PIC10F220 CODE |
gutisie
Replies: 14
Views: 17157
|
Forum: General CCS C Discussion Posted: Mon Jul 26, 2010 2:04 pm Subject: PIC10F220 CODE |
Does anybody know the correct osccal value of pic10f220?
I cannot program it.
I have read on the data sheet they come code protected, and need to do a bulk erase, and pickit2 tells me the osccal val ... |
Topic: PIC10F220 CODE |
gutisie
Replies: 14
Views: 17157
|
Forum: General CCS C Discussion Posted: Thu Jul 15, 2010 1:22 pm Subject: PIC10F220 CODE |
ok this is the final code at the moment, it has no compiling issues, and the simulator runs ok.
I will mount the circuit and i will post the results
thanks
#include <10F220.h> //configuraci ... |
Topic: PIC10F220 CODE |
gutisie
Replies: 14
Views: 17157
|
Forum: General CCS C Discussion Posted: Wed Jul 14, 2010 12:27 pm Subject: PIC10F220 CODE |
ok thanks.
I have followed your instructions in that link to set up mplab sim, and it works.
But after following the program running line by line, i have realize that i don't mention that the inpu ... |
Topic: PIC10F220 CODE |
gutisie
Replies: 14
Views: 17157
|
Forum: General CCS C Discussion Posted: Tue Jul 13, 2010 5:15 pm Subject: PIC10F220 CODE |
thanks for the advice!
I like to comment with experts, so I can understand choices that I may have not seen.
You can show me how to fish, but in this case, it is experience the only one which tell ... |
Topic: PIC10F220 CODE |
gutisie
Replies: 14
Views: 17157
|
Forum: General CCS C Discussion Posted: Tue Jul 13, 2010 12:10 pm Subject: PIC10F220 CODE |
now that i think of it....will that pause the mosfet every count or after 3?...
|
Topic: PIC10F220 CODE |
gutisie
Replies: 14
Views: 17157
|
Forum: General CCS C Discussion Posted: Mon Jul 12, 2010 2:09 pm Subject: PIC10F220 CODE |
Ok, this is what I am working on at the moment. I will post results tomorrow probably.
#include <10F220.h> //seting pic config and ports
#define GP0 PIN_B0
#define GP1 PIN_B1
#define GP2 ... |
Topic: PIC10F220 CODE |
gutisie
Replies: 14
Views: 17157
|
Forum: General CCS C Discussion Posted: Mon Jul 12, 2010 12:56 am Subject: PIC10F220 CODE |
Thanks for the advice guys.
GP3 is the ir receiver, and I think it should be set up like an "always on".
Every time the ir barrier is broken by the passing object, GP3 goes low. the coun ... |
Topic: PIC10F220 CODE |
gutisie
Replies: 14
Views: 17157
|
Forum: General CCS C Discussion Posted: Sun Jul 11, 2010 9:29 am Subject: PIC10F220 CODE |
Dear All;
My name is GUTI, I have started programing PICS, I find them interesting, but I have very little understanding of them.
I have some pdfs that are very helpful but I am a bit stuck at th ... |
|