Introduction: Random Number Game With PIC16F628
Simple game that generates random numbers for you to guess, have sound, I used the PIC16F628
http://youtu.be/-R5jp4M_-YI
I used the compiler PIC C Compiler and Proteus to simulate, the files are attached along with a video project working

Participated in the
Toy Challenge 2
5 Comments
9 years ago on Introduction
i have slightly modified the code, because when you press - when 0 it displays 255, which is a int , and when you pressed + it display 11, 12, 13 and so on.. you have to include an if then... see the code.. :
while(input(PIN_A2)==1){
lcd_gotoxy(14,1);
printf(lcd_putc,"%U ", xute);
if(input(PIN_A0)==0){
if (xute < (nivel*10)){
if (xute >= 1){
xute++;
delay_ms(250);
}
}
}
else
if(input(PIN_A1)==0){
if (xute <= (nivel*10)) {
if (xute > 1){
xute--;
delay_ms(250);
}
}
}
}
10 years ago on Introduction
it would be great to make this project.. but i need the schematic can you please email me : nodoubtman@hotmail.com
thank you so much! :)
marC:)
10 years ago on Introduction
do you have the schematic please?
thank you!
marC:)
10 years ago on Introduction
sorry, missed it, I uploaded
10 years ago on Introduction
Good :)