Page 1 of 1

sk40c used up spi pin for button connection

PostPosted: Sun May 14, 2017 11:28 am
by hayview
Hi

SK40C had used up SPI SCK and SPI SDI for button 1 and button 2.

it is being pulled high all the time,
is there any other way, i can still use it for spi communication?

Re: sk40c used up spi pin for button connection

PostPosted: Thu May 18, 2017 10:38 pm
by Idris
Hi hayview,

Which PIC model did you used? Because most of 8-bit 40 pins PIC, SPI pins is located at RC3, RC4 and RC5.

Re: sk40c used up spi pin for button connection

PostPosted: Sat May 20, 2017 1:23 pm
by hayview
hi

i am using pic18f4550.
I think most pic18f 40 pins with usb peripheral are using RB0 and RB1.