New game
Download
Get Academic Plan
Share game
Fill in the Blanks
Fill in the Blanks

CÓDIGO

Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

Played 38 %Accuracy 24 Average time 03:54

About this activity

explicacion codigo riego

Created by

Colombia

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
CÓDIGO
 

Fill in the Blanks

CÓDIGOOnline version

explicacion codigo riego

by usuario 1
1

int : Se crea variable entera water . Se usará más para el estado del ( si el suelo está seco o ) .
( )
Esta se ejecuta una vez el se enciende .
setup ( ) {
pinMode ( 3 , ) ;
pinMode ( 6 , ) ;
}

2

? pinMode ( , OUTPUT ) ; : Configura el pin 3 como . Este se conecta al relé que o apaga bomba de agua .
? pinMode ( 6 , ) ; : el pin 6 como entrada . Este recibe señal sensor del .

3

Bucle Principal ( loop )
función se en un ciclo infinito .

void ( ) {
water = ( 6 ) ; : Lee el del pin 6 . es lectura digital , puede dos : HIGH ( 5V ) o LOW ( 0V ) . se guarda en la variable .

4

La Condición ( if - else )
if ( = = HIGH )
{
( 3 , ) ;
}
? Si water es a HIGH : que el detectó humedad ( el está ) .
? digitalWrite ( 3 , LOW ) ; : Envía una señal ( LOW ) pin para el y el .
else
{
( 3 , HIGH ) ;
}
? De lo ( else ) : es LOW , significa el suelo seco .
? digitalWrite ( 3 , HIGH ) ; : Envía una activada ( ) al pin 3 para el y el riego .
delay ( ) ;
}
? delay ( ) ; Pausa la del por milisegundos .

Are you sure you want to leave the page?

If you leave, you will lose the game in progress.