code description :
generating 200 random numbers and print it out on the first line of the (16x2) LCD ,while generating numbers if i pressed a push bottom i will save the current random numbe
Random number using PIC 16F877A
generating 200 random numbers and print it out on the first line of the (16x2) LCD ,while generating numbers if i pressed a push bottom i will save the current random numbe
Code (C):
- // LCD module connections
- sbit LCD_RS at RB0_bit;
- sbit LCD_EN at RB1_bit;
- sbit LCD_D4 at RB2_bit;
- sbit LCD_D5 at RB3_bit;
- sbit LCD_D6 at RB4_bit;
- sbit LCD_D7 at RB5_bit;
- sbit LCD_RS_Direction at TRISB0_bit;
- sbit LCD_EN_Direction at TRISB1_bit;
- sbit LCD_D4_Direction at TRISB2_bit;
- sbit...