Mga Master nakabuhat na ba mo ani? Pede maka hangyo if naa mo code and schematic mangayo ta ko or pa tutor ky mag himo ko hardware ani. project man gud ni namo.
Nangita ko sa thread similar to this pero wa man ko kita.
Mga Master nakabuhat na ba mo ani? Pede maka hangyo if naa mo code and schematic mangayo ta ko or pa tutor ky mag himo ko hardware ani. project man gud ni namo.
Nangita ko sa thread similar to this pero wa man ko kita.
Walay master dha?
Study usa sa assembly codes sa imong PIC bro naa na sa datasheet nila aron naa nka basic daan sa mga codes..
it would be better if you paste your code here, and maybe we can tell you what's wrong, and go from there. also, though i might be wrong, i think this is the wrong section.
yah...right..^
1st download eagle software naa didto daghan ready made pic programer..print lang to tapos layout dayun pcb...then download pics programer software naa daghan sa net...then you ready your source code..good luck.
unsa man imu nahibaw.an sa pag himo og circuit? Please show us a schematic diagram, i-sketch lang sa papel, i-scan and post it here..
mo-tabang ko ninyu, pero hinay-hinayun ta mo og tabang...
unsa man inyu gamitun nga hardware components?
unsa man flow sa inyung timer? hatag pud og algorithm..![]()
post nya ko sa akong nabuhat so far mga master. pero wrong section daw ni. asa d i ta pede maka post ani nga thread? Sorry. hehe
sulod diri sis... elab.ph naa diri daghan tutorial
Bro mao ni ako code sa TIMER, 1 second ang interval ani.. via interrupt.. and im using PIC16F877A for the MCU... and MikroC for the coding!
void interrupt() {
TMR0 = 1;
//timer
timeCnt++;
if(timeCnt==30) { timeCnt=0;
seconds++; }
INTCON = 0xA0; //set T0IE, cler T0IF
}
void main() {
ADCON1=0x06;
TRISA=0x00;
TRISB=0x00;
TRISD=0x00;
TRISE=0x00; PORTE=0x00;
OPTION_REG = 0b10000111; // Assign prescaler to TMR0 and set to 1/256
INTCON = 0x00; // disable (GIE + T0IE)
TMR0 = 1;
//INTCON = 0xA0; // to enable the timer interrupt
//INTCON = 0x00; // to disable the timer interrupt
while(1) {
// put your codes here whatever you want to apply
}
}
// post here kung unsa gusto nimo mahitabo sa imo circuit.. then we'll see what we can do... the codes above are showing how to enable the interrupt...
been using this code to my electronic scoreboard..
Wireless Electronic Scoreboard - YouTube
Similar Threads |
|