| |
| | #1 (permalink) Top | |
| User Data registr.: 31-01-2005
Messaggi: 3
| Citazione:
vediamo se ci riesco,dal manuale del PicBasicPro: PULSOUT PULSOUT Pin,Period Generates a pulse on Pin of specified Period. The pulse is generated by toggling the pin twice, thus the initial state of the pin determines the polarity of the pulse. Pin is automatically made an output. Pin may be a constant, 0 - 15, or a variable that contains a number 0 - 15 (e.g. B0) or a pin name (e.g. PORTA.0). The resolution of PULSOUT is dependent upon the oscillator frequency. If a 4MHz oscillator is used, the Period of the generated pulse will be in 10us increments. If a 20MHz oscillator is used, Period will have a 2us resolution. Defining an OSC value has no effect on PULSOUT. The resolution always changes with the actual oscillator speed. ' Send a pulse 1mSec long (at 4MHz) to Pin5 PULSOUT PORTB.5,100 PWM | |
| | |
![]() |
| Bookmarks |
| |
Discussioni simili | ||||
| Discussione | Autore discussione | Forum | Commenti | Ultimo Commento |
| servo con pic | zippo | Circuiti Elettronici | 10 | 25 ottobre 07 16:37 |
| Servo x GV1 | kzn14d | Elimodellismo in Generale | 1 | 24 maggio 07 00:36 |
| servo HS 422 | yokoama | Aeromodellismo Principianti | 1 | 16 gennaio 07 09:35 |
| ZOOM 400: servo di coda e servo passo | brifa | Elimodellismo Motore Elettrico | 1 | 01 luglio 06 01:10 |
| un servo per ala | Sauro | Aeromodellismo | 1 | 01 agosto 05 13:13 |