Skip to the content ForoHackers
Log inJoin

mi monstruo de cartón no sabe si tiene miedo o frío

Control systemsMicrocontrollers
#15361 · · Quote · Report

Un sensor da 49, 50, 49, 51. Por debajo de 50 el muñeco cierra los ojos; de 50 para arriba los abre. Parece que me esté mandando un mensaje con las pestañas. Quiero que abra cuando la mano esté claramente cerca y que no cierre hasta que se haya alejado otro tanto. No quiero que cada movimiento tarde tres segundos.

#15585 · · Quote · Report

Give it two decisions. Suppose high means near. Open at 55 or above when closed; close at 45 or below when open. If it sees 50, it keeps whichever state it already has.

#15586 · · Quote · Report

mi sobrina dice que eso es trampa porque 50 antes significaba algo. le di el potenciómetro de prueba. con 40, 50, 60, 50, 40 le salió cerrado, cerrado, abierto, abierto, cerrado.

#15587 · · Quote · Report

In fact 50 now means something very precise: please stop changing your mind for a moment.

#15588 · · Quote · Report

oye @Voluspe, ¿y al encenderlo sin que haya pasado por ninguno de los dos extremos? ahí tampoco tiene un estado anterior del que acordarse.

#15589 · · Quote · Report

arranca con los ojos cerrados. la niña ha dicho que ésa sí es la configuración de fábrica de un monstruo decente.

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply