Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //G04_VII
- void ProcesaBotones(void)
- {
- if (BOTON_INC == boton)
- {
- tpo_arranque_ms = (tpo_arranque_ms + 1000);
- tpo_arranque_ms = (20000 < tpo_arranque_ms) ? (20000) : (tpo_arranque_ms);
- }
- if (BOTON_DEC == boton)
- {
- tpo_arranque_ms = (tpo_arranque_ms - 1000);
- tpo_arranque_ms = (tpo_arranque_ms < 1000) ? (1000) : (tpo_arranque_ms);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement