顯示具有 mblock 標籤的文章。 顯示所有文章
顯示具有 mblock 標籤的文章。 顯示所有文章

2015年10月20日 星期二

A Joystick example for Connecting arduino to mblock (scratch 2.0)(一個arduino連結到mblock的範例-搖桿使用)





       This  example show  how to connect the arduino to mblock(actually,it is scratch 2.0).
       I used one arduino UNO and one joystick.the H/W connection like below <picture 1>.
       please pay attation, I connect the joystick VCC to 3.3V not 5V.  
       than connected the USB to computuer usb port.


<Picture 1> Arduino UNO+ Joystick