instruction > Arduino test sketch & circuit

Arduino test sketch & circuit

This is OSC class library for Arduino and simple test sketching.

OSCclass Arduino library ver1.0.1

It is necessary to connect EthernetShiled to Arduino.
Connect the iPhone to a Wi-Fi router.
Arduino connects with a Wi-Fi router by cable LAN.

Please build the Arduino test circuit.



OSCClass Library is

 OSCClass.h
 OSCClass.cpp
 keywords.txt
 example_OSC folder

Please copy these files here
/Arduino-0014/hardware/libraries/Ethernet/



open iOSC_iPhone_test_Arduino_sketch.pde in ArduinoIDE
write this to Arduino.


iOSC setting

startup iOSC,and "Edit"/"+" select No2 set

No2 set


choose new set, and do part&host setting.

parts setting
     Message  type on off
button1 /ard/ledyel int  1 0 :info-AlternateMode "ON" =seems toggle sw
button2 /ard/ledgrn int  1 0
button3 /ard/ledred int  1 0
slider1  /ard/ledpwm int min:0 max:255


host setting
tap "Default Host".
「IP Address」Input your pc IP Address.
「Port」Input "10000"
tap 「Save」

*The host setting is common with all parts.


OK, you will control Arduino!


Arduino OSC Library test