Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4928

My select button doesn't work in proteus and i don't find a way to solve it.

$
0
0
Hi i'm trying to make a keypad with 3 button, minus,plus and select. When you want a specific temperature, inc/dec and select one which is in variable temp_set. i attached the circuit and the code, and if someone has a solution to this problem don't hesitate.


CODE IN C:

Code (C):
  1. #include <reg51.h>
  2.  
  3. sbit RS=P3^0;
  4. sbit RW=P3^1;
  5. sbit E=P3^2;
  6. sbit CS=P3^3;
  7. sbit RDC=P3^4;
  8. sbit WRC=P3^5;
  9. sbit INTR=P3^6;
  10. sbit MINUS=P0^0;
  11. sbit PLUS=P0^1;
  12. sbit SELECT=P0^2;
  13. sbit RELEU=P3^7;
  14.  
  15. void lcd_cmd(unsigned...
My select button doesn't work in proteus and i don't find a way to solve it.

Viewing all articles
Browse latest Browse all 4928

Trending Articles