Matrix scankey 3×4 for Lcd 2 line For CSS Compiler
#include <16F877.h> #device adc=8 #FUSES NOWDT ,XT #use delay(clock=4000000) char const s[10]={‘0′,’1′,’2′,’3′,’4′,’5′,’6′,’7′,’8′,’9’}; void init_mcu (void); void display (void); void display1 (void); void calculate (void); void hex_bcd2(int8 k); /*——-define keypad————*/ #define row0 pin_b0 // input #define row1 pin_b1 // input #define row2 pin_b2 // input #define row3 pin_b3 // input #define col0 pin_b4 // output #define […]
Matrix scankey 3×4 for Lcd 2 line For CSS Compiler Read More Β»