9 years ago.

manejo de interrupciones avanzadas

hola que tal, estoy haciendo un contador de numeros hexadecimales, que va desde el 00 hasta el FF, estos numeros los muestro en display de 7 segmentos, ademas tengo 3 pushbuttons, 1 me debe manejar la cuenta ascendente y descendente, es decir, si le pico una vez al push debe contar ascendente y si le pico por segunda vez debe contar de manera descendente, es algo que no he podido.

el segundo push button debe aumentar la velocidad del conteo y aumentar el brillo del led, el tercer push button debe disminuir la velocidad del conteo y disminuir el brillo del del

ojala me pudieran ayudar, gracias.

lo estoy haciendo en KL25Z, y lo programo aqui en mbed, gracias

1 Answer

-deleted-
9 years ago.

Hola Andrés,

Here is some examples for buttons: (He aquí algunos ejemplos de los botones:) http://developer.mbed.org/users/4180_1/notebook/pushbuttons/

and 7 segment displays: (display de 7 segmentos)

https://developer.mbed.org/questions/398/seven-segment-display/

or http://developer.mbed.org/users/amos/notebook/dual-digit-7-segment-display/

or http://developer.mbed.org/users/embeddedartists/notebook/lpc812-max-experiment_7-segment-display/

Interrupt: https://developer.mbed.org/handbook/InterruptIn

I hope this helps and you share your program here. (Espero que esto ayude. Por favor, comparta su programa aquí)

You asked:

Information

"Advanced management interrupts:

hola, I'm making a counter of hexadecimal numbers, ranging from 00 to FF, these numbers show on a 7-segment display, plus I have three pushbuttons, one button should handle upward and downward state, ie if I push once then must be up and if I push second time must be in descending order, is something that I could?

The second push button should increase the speed of the count and increase the brightness of the LED, the third push button must slow down the count and decrease the brightness.

I wish you could help, thanks. I'm doing in KL25Z, and I program here in mbed, thanks"