Edit an already written code in MPLAB for PIC16F874A
₹600-1500 INR
완료함
게시됨 1년 이상 전
₹600-1500 INR
제출할때 지불됩니다
It's a device that counts objects that passes by. Pressing the start button on the 4x4 keypad will start the counting of objects. Every time the interrupt is triggered(falling edge), the count should increase by one and be displayed on a 5-digit seven-segment display.
The code is written by another Freelancer who is not available at the moment, and I need minor changes in the code.
Point no. 1: I am using the Up and Down buttons of the 4x4 keypad to set the values by incrementing and decrementing by 1. But if I don't release the button quickly, the count is sometimes incremented 3 to 4 times. I want the code to be changed so that when the button press is detected, it will increment by only 1 value and wait for the pressed button to release.
Point no. 2: The value which is set using the keypad should be saved in memory and be the default value. Whenever the system starts again, it should now work with this newly saved value.
Point no. 3: The full code is already written by another Freelancer and working as expected, so your task is only to edit the code and add points no.1 and point no.2
The task is easy for someone who has good knowledge of using PIC MCUs. Please bid on the project only if you are sure you can edit the code and include the above mentioned points.
I'll share the MPLAB .X file and I expect the updated MPLAB .X file.
Since I've already paid the previous freelancer, I am low on budget, I want someone who can do this task at a low cost.
Hello,
I have mplabx and knows the pic microcontroller. Please send me the project. I will edit the code to implement the changes.
The effort depends on how the code is written with good comments and have modular structure.
try yourself
1. keep last state in anyother variable. if last state not eqaul current then return current state same time store it as last state.
2. eeprom_read, and eeprom_write will do your work
Hi , I am electronic engineer, have 20 years experience in programing micorcontroller like Atmel, microchip, TI, freescale.
Code is write in assembler or C ?
Sebastiàn