Pages: [1]   Go Down
Author Topic: accendere led a tempo senza delay  (Read 409 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 38
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

salve io vorrei poter mantenere un led acceso quando si verifica una condizione per un tempo di circa mezzo secondo diciamo ma senza far attendere quel mezzo secondo ad arduino è possibile???
Logged

Fidenza (PR)
Offline Offline
Full Member
***
Karma: 3
Posts: 145
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

http://playground.arduino.cc/Code/AvoidDelay
Logged

Global Moderator
Italy
Online Online
Brattain Member
*****
Karma: 335
Posts: 23131
Logic is my way
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Ho scritto un articolo a tal proposito:
http://www.leonardomiliani.com/2013/programmiamo-i-compiti-con-millis/
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 38
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

grazie è ottimo smiley
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 38
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

un'unica cosa a cosa serve unsigned???
Logged

ivrea (to)
Offline Offline
Faraday Member
**
Karma: 87
Posts: 5057
miaaao ^-^
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Variabile senza segno.

int  => -32768+32767
unsigned int => 0-65535
Logged

my name is IGOR, not AIGOR

Offline Offline
Newbie
*
Karma: 0
Posts: 38
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

giusto mi pare ovvio smiley-lol grazie  smiley
Logged

Pages: [1]   Go Up
Jump to: