pages
home
compileur
compilatore di programmi per Arduino
elettricity
appunti di elettronica/elettrotecnica
laboratoy
laboratorio
logggin
user
Processing
Processing
Theremino
Theremino
File
new
open
save
export
pannello di controllo
laboratory
new laboratory
old laboratories
login
Modify
undo
redo
select all
invert selection
deselect all
select settings
select loop
after
riga 1
riga 2
riga 3
riga 4
riga 5
riga 6
riga 7
riga 8
riga 9
riga 10
riga 11
riga 12
riga 13
riga 14
riga 15
riga 16
riga 17
riga 18
l'ultima riga
move
seleted rows.
copy
seleted rows.
past
from clipboard.
copy clipboard
seleted rows,
to use in another code.
trush
seleted rows.
store
Add a variable
specific settings
"Arduino Esplora"
"Arduino Robot"
Danger Shield - Sparkfun
CodeShield
LED
Add a green led
Add a yellow led
Add a red led
Add a blue led
Add a RGB led
Add a bicolor led
Add a matrix of leds
Add a 7 segments led
actuators
Add a speaker
Add a motor with driver
Add a motor
Add a servo
Add a relè
Add a IR
Add a display lcd
sensors
Add a button
Add an interruptor
Add a potenziometer
Add a encoder
Add a photoresistor
Add a sensor for temperature
Add a sensor for humidity
Add a microphone
Add a sensor for ultrasounds
Add a IR remote control
Add a IR sensor
Add a un generic actuator
Add a un generic sensor
actions
wait
turn on / turn off
modulate
rotate a servo
play
read from a sensor
button
impuls
variable
if...then...
repeat n times
create a function
call a function
Add a comment
Add a flag
random number
timer
milliseconds
read from serial port
write on serial port
write on display LCD
View
italian
english
stile
clear
stile
space
stile
classic
bigger font
smaller font
pages
elettricity
help
contacts
messagges
stile modificato
file
file:
con_led
di
note:
style -->
clear
classic
space
language -->
store
actions
modify
select all
invert selection
deselect all
select setting
select loop
copy on clipboard
selected rows.
trush
selected rows.
after
riga 1
riga 2
riga 3
riga 4
riga 5
riga 6
riga 7
riga 8
riga 9
riga 10
riga 11
riga 12
riga 13
riga 14
riga 15
riga 16
riga 17
riga 18
riga 19
ultima riga
move
selected rows.
copy
selected rows.
past
on clipboard.
handbook
piedinature
collegamenti
resistenze
sketches notevoli
circuiti notevoli
i pin di Arduino
error messages
tabelle varie
tabella colori
tavola dei simboli
store
riga:0
pin0
pin1
pin2
pin3˜
pin4
pin5˜
pin6˜
pin7
pin8
pin9˜
pin10˜
pin11˜
pin12
pin13
pinA0
pinA1
pinA2
pinA3
pinA4
pinA5
riga:1
pin0
pin1
pin2
pin3˜
pin4
pin5˜
pin6˜
pin7
pin8
pin9˜
pin10˜
pin11˜
pin12
pin13
pinA0
pinA1
pinA2
pinA3
pinA4
pinA5
riga:2
pin0
pin1
pin2
pin3˜
pin4
pin5˜
pin6˜
pin7
pin8
pin9˜
pin10˜
pin11˜
pin12
pin13
pinA0
pinA1
pinA2
pinA3
pinA4
pinA5
riga:6
pin0
pin1
pin2
pin3˜
pin4
pin5˜
pin6˜
pin7
pin8
pin9˜
pin10˜
pin11˜
pin12
pin13
pinA0
pinA1
pinA2
pinA3
pinA4
pinA5
pin impegnati: 4
variables
riga:4
=
array
riga:5
=
array
loop
:7
nota:
:8
:9
(5 Volt)
il
...
_ledblu
_ledrosso
_ledverde
_ledgiallo
:10
:11
(0 Volt)
il
...
_ledblu
_ledrosso
_ledverde
_ledgiallo
:12
:13
:14
nota:
:15
(usa contatore i)
:16
(5 Volt)
il
...
_ledblu
_ledrosso
_ledverde
_ledgiallo
:17
:18
(0 Volt)
il
...
_ledblu
_ledrosso
_ledverde
_ledgiallo
:19
azioni
//programma: con_led //******* pin ******** const int pin_ledblu=4;//pin del _ledblu const int pin_ledrosso=3;//pin del _ledrosso const int pin_ledverde=2;//pin del _ledverde const int pin_ledgiallo=_1;//pin del _ledgiallo //******* dichiarazioni ******** int A=0;// int B=0;// //********** setup ********** void setup(){ pinMode(pin_ledblu,OUTPUT);// pinMode(pin_ledrosso,OUTPUT);// pinMode(pin_ledverde,OUTPUT);// pinMode(pin_ledgiallo,OUTPUT);// } //********** ciclo ********** void loop() { // accendi un led e poi spegnilo //******************************** digitalWrite(pin_ledblu,HIGH); // delay(3000);// digitalWrite(pin_ledblu,LOW); // delay(3000);// //******************************** // lampeggia velocemente //ripeti 20 volte for(int i=1;i<=20;i++){ digitalWrite(pin_ledrosso,HIGH); // delay(100);// digitalWrite(pin_ledrosso,LOW); // delay(100);// } };//fine del loop //codice creato con "Arduinomio" (C) //www.mastrohora.it
copy/past on Arduino IDE (here Ctrl+C) (on IDE Ctrl+A+V+U)
logout