Skip to content

Instantly share code, notes, and snippets.

@pyropeter
Created July 30, 2017 14:12
Show Gist options
  • Save pyropeter/8bae00cea8f05261ad58d0bfbf200a7d to your computer and use it in GitHub Desktop.
Save pyropeter/8bae00cea8f05261ad58d0bfbf200a7d to your computer and use it in GitHub Desktop.
Lorsque le balai du strobesfdsf touche la piste cuivrée (t1), l'entrée D du FF2 monte â "1".
When the strobesfdsf brush touches the coppered track (t1), the D input of FF2 rises to "1".
RC1 assure un flanc "propre" malgré les rebonds de contact.
RC1 ensures a "clean" edge despite the contact bounce.
Lors du premier flanc de ADC aprés RC1, une impulsion, formée par RC2, provoque un presetfdsfds et le moteur est arrêté. (t2)
At the first edge of ADC after RC1, a pulse, formed by RC2, causes a presetfdsfds and the motor is stopped. (T2)
Dés t3, c'est-à-dire aprés RC2, le codeur est prêt à être lu.
After t3, that is to say after RC2, the encoder is ready to be read.
Durant t4-t5, le µP lit l'e'tat du codeur.
During t4-t5, the μP reads the encoder state.
La decision du µP de laisser le moteur arrêté ou de le faire de'marrer intervient en t5 et le transfert se fait en t6.
The decision of the μP to leave the engine stopped or to start it occurs at t5 and the transfer is done in t6.
En t7, le balai du strobefsd quitte la piste cuivrée.
In t7, the broom of the strobefsd leaves the copper track.
RC3 assure un flanc descendant propre.
RC3 ensures a clean descending flank.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment