IPST_SE

Page 64

ทดลองควบคุมมอเตอร์ #include <ipst.h> void setup() { sw_OK_press(); } void loop() { motor(1,60); motor(2,60) delay(3000); motor(1,-60); motor(2,-60) delay(3000); if (sw1()) { motor_stop(ALL); } }

64 Wednesday, April 10, 13

www.themegallery.com


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.