Page 1 of 1

Getting Keypad EB014 working with Assembler

Posted: Tue Jan 28, 2014 3:03 pm
by Dr T JONES
I have written an assembler program as per the PDF Keyboard Assembly Strategy on Matrixmultimedia website and only the first two keys for each column work i.e. 1, 4 or 2, 5 etc.

I Set portB bit 0 and clear portB bits 1 and 2, then test using BTFSS PORTB,4 then 5,6 ,7 and if any are on output a number to PORTA but only 1 and 4 are working. I have tried two keyboard boards and happens on both.

will not work when testing BTFSS PORTB,6 or bit 7. The strange thing is it works fine with VPIC !!

using the supplied PIC16F88

Changed the chip to a 16F84 and it works fine. Is there a setting i need changing? i had Listed that the chip was 16F88 and in the settings.

Am i missing something?

Re: Getting Keypad EB014 working with Assembler

Posted: Sun May 25, 2014 11:06 am
by Dr T JONES
After reading the datasheet for the PIC16F88 realised i hadn't set PORTA bits as digital inputs not analogue or CCP inputs, which isn't an issue with the PIC16F84.

All working now.