- 2

#define Trigpin 10 #define Echopin 11 #define buzzer 8 void setup(){ pinMode(Trigpin, OUTPUT); pinMode(Echopin, INP

Pleas this quesion amswer

27th Apr 2021, 5:26 PM
Sadik Sadik
Sadik Sadik - avatar
6 Answers
+ 1
What is that? Arduino setup?
27th Apr 2021, 5:57 PM
Michal Doruch
+ 1
Why arduino uses C++. I heard that C is better choice for development boards
27th Apr 2021, 9:05 PM
🌀 Shail Murtaza شعیل مرتضیٰ
🌀 Shail Murtaza شعیل مرتضیٰ - avatar
+ 1
Martin Taylor I get it. Object Oriented Programming makes it easier to use.
27th Apr 2021, 10:52 PM
🌀 Shail Murtaza شعیل مرتضیٰ
🌀 Shail Murtaza شعیل مرتضیٰ - avatar
+ 1
Martin Taylor I didn't knew that arduino's standard library uses that much Object Orientation. That's why I thought that C is better choice. Thanks! That explains everything.
27th Apr 2021, 11:56 PM
🌀 Shail Murtaza شعیل مرتضیٰ
🌀 Shail Murtaza شعیل مرتضیٰ - avatar