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:
My select button doesn't work in proteus and i don't find a way to solve it.
CODE IN C:
Code (C):
- #include <reg51.h>
- sbit RS=P3^0;
- sbit RW=P3^1;
- sbit E=P3^2;
- sbit CS=P3^3;
- sbit RDC=P3^4;
- sbit WRC=P3^5;
- sbit INTR=P3^6;
- sbit MINUS=P0^0;
- sbit PLUS=P0^1;
- sbit SELECT=P0^2;
- sbit RELEU=P3^7;
- void lcd_cmd(unsigned...