Skip to content

Instantly share code, notes, and snippets.

@oaadebile
oaadebile / Digital_Voltmeter_using_8051_VoltageSensor_ADC0804.c
Created January 14, 2021 16:51 — forked from elktros/Digital_Voltmeter_using_8051_VoltageSensor_ADC0804.c
Code for Digital Voltmeter using 8051 Microcontroller, Voltage Sensor and ADC0804.
#include<reg51.h>
#define lcd P3
#define dat P2
sbit rs=P1^6;
sbit e=P1^7;
void delay (int);
void display (unsigned char);
void cmd (unsigned char);