i use 16f628a with pull-ups ..... for test
in circuit row and col have voltage around 0,5 to 3,5v (oscillating ... i don't know why)
than i press one button, 2 pins have 0,0v
i use 16f628a with pull-ups ..... for test
in circuit row and col have voltage around 0,5 to 3,5v (oscillating ... i don't know why)
than i press one button, 2 pins have 0,0v
Hi. While testing Steve's routine, I get many fatal errors. The attached Screen Capture gives the state. Steve if you can have a look...
Includes are OK about names and paths.
Ioannis
Ioannis,
You have to compile with MPASM, not PM.
mpardinho,
You probably miswired something. with your exact program it works fine here. Also.. there's no PORTC on PIC16F628 but you should already know that.
i used this line for my config fuses
Did you tried with OPTION_REG.7=0 without resistor?Code:@ __CONFIG _INTRC_OSC_NOCLKOUT & _MCLRE_OFF & _LVP_OFF & _WDT_OFF & _PWRTE_ON & _BODEN_ON
wich value of pull-up?
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Hello Steve,
Any idea in getting your code to work (compile) with PM. ?
That would be a big help.
thank you for the shareing the code.
regards
Nope, i have no idea and no plan to do it.
I NEVER use PM, it really don't worth to use it anyways... sorry![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I know of NO reason why anyone should still be using PM.
If you don't use ASM then it'll handle PBP just fine. But if you do use ASM, PM will cause nothing but problems. I never use it anymore either.
However, before I found out how much better MPASM is, I used PM for a year or 2, and am probably more familiar with it than Steve.
So here's Steve's Kepad.bas, modified to work with PM.exe
This version will NOT work with MPASM
Don't forget to remove the .txt extension.
HTH,
DT
Bookmarks