newpins.c working version
It works!