software che funziona in base all'ora

L'altra cosa che dovresti fare prima di scrivere e saper cercare e capire un datasheet. :roll_eyes:
http://www.datasheetcatalog.org/datasheet/texasinstruments/l293d.pdf