Download Print this page

Copyright Notice - Velleman VMA330 User Manual

Ir obstacle avoidance sensor module

Advertisement

// CODE BEGIN
void setup() {
Serial.begin (9600);
pinMode (9, INPUT); //Sensor output
}
void loop() {
Serial.print ("Sensor: ");
Serial.println (digitalRead(9)); //print the sensor output
delay (500); //wait half a second
}
// CODE END
8.
More Information
Please refer to the VMA330 product page on
Use this device with original accessories only. Velleman nv cannot be held responsible in the event
of damage or injury resulting from (incorrect) use of this device. For more info concerning this
product and the latest version of this manual, please visit our website www.velleman.eu. The
information in this manual is subject to change without prior notice.
© COPYRIGHT NOTICE
The copyright to this manual is owned by Velleman nv. All worldwide rights reserved. No part of this
manual may be copied, reproduced, translated or reduced to any electronic medium or otherwise without the
prior written consent of the copyright holder.
V. 01 – 05/04/2018
VMA330
www.velleman.eu
for more information.
4
©Velleman nv

Advertisement

loading