• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in Internet of Things IoT by
Q:
What is the syntax to read analog and digital data from a sensor in Arduino?

1 Answer

0 votes
by

digitalRead() and digitalWrite() are respectively used to read and write digital data to the sensors. analogRead() and analogWrite() are respectively used to read and write analog data to the sensors.

Related questions

0 votes
asked Dec 17, 2019 in Internet of Things IoT by Robindeniel
0 votes
asked Feb 18, 2020 in Internet of Things IoT by MBarbieri
...