| | #23 (permalink) Top |
| User Data registr.: 14-05-2005 Residenza: bergamo
Messaggi: 1.278
|
ciao,grazie x avermi risposto cavolo,non so se ho troppe cose in testa x il lavoro o sono diventato un infermo mentale....non riesco a capire niente x MSchiepp intendi questo x testare il bit? char a; void main() { TRISA=0b00000; TRISB=0b00000001; PORTA=0; PORTB=0; OPTION_REG=0b00000010; do{ TMR0 = 0; }while (!RB0); // aspetta che RB0 sia a 1 e tiene TMR0 a 0 while (RB0); // aspetta che RB0 sia a 0 mentre TMR0 conta a = TMR0; // salva il valore raggiunto dal timer } uso il debugger x controllare se il tmr0 si incrementa,ma non succede nulla
__________________ NUOVO DRONE TAGLIATO AL LASER CO2 https://www.youtube.com/watch?v=cBgCVNyPH5c&t=7s GRUPPO LASER https://www.facebook.com/groups/1880460478909243/ |
| | |
| Bookmarks |
| |
Discussioni simili | ||||
| Discussione | Autore discussione | Forum | Commenti | Ultimo Messaggio |
| modificare linguaggio menù mc3030 | ravenlinux2000 | Radiocomandi | 0 | 24 aprile 07 20:03 |
| info | francescospina | Elimodellismo in Generale | 0 | 26 ottobre 06 11:41 |
| Linguaggio E Versioni Simulatore Reflex Xtr | ctenos | Simulatori | 1 | 30 novembre 05 16:02 |