Smart Plant Plot

IA Kit Doc

Internal Memory

Appliance Control

Project

Smart Plant Plot

// Fill in the place with /* */

/* include Incipe library*/
bool force_stop = 0;

void setup() 
{
  // put your setup code here, to run once:
  incipe.init();
}

void loop() 
{
  // put your main code here, to run repeatedly:
  incipe.main();
  /* get temperature from sensor*/
  /* print the temperature on IA Kit screen*/
  /* get relative humidity from sensor*/
  /* print the relative humidity on IA Kit screen*/
  /* get light intensity from sensor*/
  /* classify "dark", "moderate" and "bright" using light sensor data*/
  /* print "dark", "moderate" or "bright" on IA Kit screen*/
  if (/* press a button to indicate changes have been made, force the sound to stop*/)
  {
    force_stop = 1;
  }
  while (force_stop == 0)
  {
    if (/* temperature is too low OR temperature is too high OR relative humidity is too low OR light is dark */)
    {
      incipe.PlaySound();
    }
  }
  incipe.screenWriteValue(/* "name of your button" */ , -1);
}

© 2025 INCIPE Academy Limited

Create a free website with Framer, the website builder loved by startups, designers and agencies.