Control an LED
If you haven't already, check the OSC tutorial for a rundown on how messages to and from the board are structured. OSC isn't too complicated, and it will be crucial to working with board in Max.
Controlling an LED on the Application Board is one of the simplest things to do from Max, making it an excellent first thing to try. The name of the LED subsystem on the board is appled - Application LED. There are 4 LEDs, num bered 0 - 3, and the property of theirs that we're concerned with here is their state - whether they're on or off. The argument that comes after the address sets the value of state. So we create an OSC message in the form /subsystem/device/property argument:
/appled/0/state 1
to turn the LED on, and
/appled/0/state 0
to turn the LED off.
Now, we'll take a look at how to send these messages to the board over USB, and over Ethernet.
Via USB
Note - you should only place a single mc.usb object in your entire patch. You can easily get info in and out of it using the send and receive objects if it's not convenient to connect it to other parts of your patch by patchcord.
Set up a simple patch as is shown below. With just these couple of objects, we can send messages to the board to turn an LED on the Application Board on and off. When you place the mc.usb object into your patch and connect the Make Controller Kit to your computer, you should see a message in the Max window that mc.usb connected to your board successfully.
Explanation
- Send the /appled/0/state 1 message to turn the LED on.
- Send the /appled/0/state 0 message to turn the LED off.
- mc.usb sends the message to your board over the USB connection.
Via Ethernet
Sending the message over Ethernet is very similar, but slightly more involved since we need to know the address of our board on the network. The default address of the board is 192.168.0.200, but this may or may not be suitable for your setup. Check this how-to for how to change the network address of your board, and this tutorial for how to connect the board directly to your computer via Ethernet (as opposed to plugging it into your local network).
Explanation
- Send the /appled/0/state 1 message to turn the LED on.
- Send the /appled/0/state 0 message to turn the LED off.
- udpsend sends this message onto your network. Make sure the address matches the address of your board.

