Is it possible to code a momentary button's long press at a input?
for instance.. pressing it once turns on a light, pressing it again will turn it off, holding it down for a set amount of time will make it flash.
also on a unrelated topic what do ya'll think about this Mosfet? I should be able to run the gate off a pin right(1k resister in between and 100k gate to source)? and if i were to max out the 15amps, it has a Ipak package how do u heat sink this?
Mosfet http://www.mouser.com/ProductDetail/International-Rectifier/IRLU3410PBF/?qs=sGAEpiMZZMshyDBzk1/Wi5%2bqVgN3%2bWS8UZoRnnZhnhk=
DataSheet http://www.irf.com/product-info/datasheets/data/irlr3410pbf.pdf
for instance.. pressing it once turns on a light, pressing it again will turn it off, holding it down for a set amount of time will make it flash.
also on a unrelated topic what do ya'll think about this Mosfet? I should be able to run the gate off a pin right(1k resister in between and 100k gate to source)? and if i were to max out the 15amps, it has a Ipak package how do u heat sink this?
Mosfet http://www.mouser.com/ProductDetail/International-Rectifier/IRLU3410PBF/?qs=sGAEpiMZZMshyDBzk1/Wi5%2bqVgN3%2bWS8UZoRnnZhnhk=
DataSheet http://www.irf.com/product-info/datasheets/data/irlr3410pbf.pdf
Last edited: