Pages: [1]   Go Down
Author Topic: accendere led a tempo senza delay  (Read 397 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: 143
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Global Moderator
Italy
Offline Offline
Brattain Member
*****
Karma: 327
Posts: 22720
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: 86
Posts: 4916
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: