I want to build a clapper and I found this tutorial online, https://embedded-lab.com/blog/?p=6439
But he is using a PIC12F683p and I want to use PIC16F628. Can't find any with a PIC16.. :/
I have one at home and have worked a little bit with it before so I want to use.
Can i use the PIC16 or do i need to change the whole circuit?
And do i just connect the wires to the same names on the pins? (PIC12 is VSS pin8 and on PIC16 is VSS pin5, so i connect it to PIC16 pin5).
The two processors are almost identical apart from their pin counts. Yes, use the pins with the same name but you will also have to compile the program for the '628 processor. There will be minor differences such as the configuration bytes but otherwise little has to be done.
Do you think you can help me with the code? Tried to edit by myself but cant make it work... :sad:
Read the datasheet but had a hard time understand it.