schematic Quickpost this image to Myspace, Digg, Facebook, and others! code working: If you press any button in the matrix keyboard it controller will scan the corresponding ascii code that will send serially to the port pin specified . Corresponding ascii code we can see in LED blinkings. #include /* add the headers here */ #define COL P2 #define ROW P1 void msdelay(unsigned int value); void sertx(unsigned char); unsigned char keyboard[4][4]={ '7','8','9','/', '4','5','6','*', '1','2','3','-', 'a','0','=','+' }; void main() { unsigned char colloc,rowloc; TMOD=0x20; TH1=-24; SCON=0x50; TR1=1; COL=0xff; while(1) { do { ROW=0x00; colloc=COL; colloc&=0x0f; } while(colloc!=0x0f); do { do { msdelay(20); colloc=COL; colloc&=0x0f; }while(colloc==0x0f); msdelay(20); colloc=COL; colloc&=0x0f; } while(colloc==0x0f); while(1) { ROW=0xfe; colloc=COL; colloc...
Popular posts from this blog
8051 Development Setup:MIDE-51 Installation
1. Installing MIDE-51 MIDE-51 is freeware Integrated Development Environment (IDE) for MCS-51 microcontroller. The full package already comes with: Assembler : ASEM-51 by W.W.Heinz (v1.3)C compiler : SDCC: Small Device C Compiler (v2.5.4)Simulator : TS Controls 8051 Emulator v1.0 evaluation (Owner : http://www.tscontrols.com was gone)Simulator : JSIM-51 Simulator by Jens Altmann (v4.05) Just downloads midepack0258.exe and executes this file, everything will setup completely. Feature on MIDE-51: Syntax highlighter on ASEM-51 reserved word & addition register on selected device (devices listed on ASEM51/MCU folder) Syntax highlighter on SDCC reserved word & MCS-51 standard register Support multi document workspace Support standard editor feature and shortcut key such as Cut , Copy, Paste, Find, Replace and Windows tile & cascade Editor font style and size selectable Save recent file(s) opened in list Shortcut to ASEM-51 html manual Shortcut to SDCC html & PDF manual ...
Jio free Internet Trick: 100% working hack for 4g
what you need : You just require only 3 things to use your free jio internet in 2017: 1. Jio Sim card 2. An Android Smartphone 3.Rs 1 balance Methods to Get Jio Free Internet 2017: Below are the two Jio Free Internet Trick for 2017: Using Free Recharge App VPN Trick 1. Using Free Recharge App This is the best way to get Free Internet Recharge and even I use it regularly. Here we are going to use an app called True Balance. The main purpose of this app is to give you important information about your sim like Internet Balance, Main balance etc. But True Balance has an amazing program where you get Rs.10 on signup and then gives thousands of Rupees on refer and earn. You just have to download True Balance App and you will get Rs.10 instantly. Now, You can earn even more by sharing this app with others through whatsapp or facebook. Note: You can earn upto Rs.10000, by using the referral method. Not only this, you can also take Rs 10 emergency loan balance from t...
Comments
Post a Comment