elizabeth ann
Junior Member level 2
my topic subject says it all, how do i access/write to a 100-element array?
i am using PIC16F877A, the keypad is the input and a 16x2 LCD for the display.
initially, the array is blank. the contents should be the 100 alarm events which will be entered by the user and will be stored in the array. the contents will be in hours (0-24). the interrupt has to check from time to time if any of the elements match the recent time, and if it does, it will signal an alarm (such as a blinking LED or a buzzer).
what are the things that i need to do first? is it possible for the microcontroller to scan the entire 100 element (alarms) by merely using an interrupt?
are there any suggestions?....thanks a lot....
i am using PIC16F877A, the keypad is the input and a 16x2 LCD for the display.
initially, the array is blank. the contents should be the 100 alarm events which will be entered by the user and will be stored in the array. the contents will be in hours (0-24). the interrupt has to check from time to time if any of the elements match the recent time, and if it does, it will signal an alarm (such as a blinking LED or a buzzer).
what are the things that i need to do first? is it possible for the microcontroller to scan the entire 100 element (alarms) by merely using an interrupt?
are there any suggestions?....thanks a lot....