You are on page 1of 1

Start

GSM will check if data is on or off

GSM will keep receiving data

String = =
“motor
on”
Motor state on = 1

Motor state will be previous


state

String = =
“motor off”
Motor state off = 0

Motor state will be previous


state

String = =
“state
motor” GSM sends message
to web

END

You might also like