# Analog In - OSC
[OSC]

Read the Application Board's Analog Inputs via OSC. More...

Read the Application Board's Analog Inputs via OSC.

## Devices

There are 8 Analog Inputs on the Make Application Board, numbered 0 - 7.

## Properties

The Analog Ins have three properties:

- value
- active
- autosend

Value
  The value property corresponds to the incoming signal of an Analog In. The range of values you can expect to get back are from 0 - 1023. Because you can only ever read the value of an input, you'll never want to include an argument at the end of your OSC message to read the value.
  To read the sixth Analog In, send the message

      /analogin/5/value

  The board will then respond by sending back an OSC message with the Analog In value.

Autosend
  The autosend property corresponds to whether an analogin will automatically send a message when its incoming value changes. To tell the Controller to automatically send messages from analogin 4, send the message

      /analogin/5/autosend 1

  To have the Controller stop sending messages from analogin 4, send the message

      /analogin/5/autosend 0

  All autosend messages send at the same interval. You can set this interval, in milliseconds, by sending the message

      /system/autosend-interval 10

  so that messages will be sent every 10 milliseconds. This can be anywhere from 1 to 5000 milliseconds.

  You also need to select whether the board should send to you over USB or Ethernet. Send

      /system/autosend-usb 1

  to send via USB, and

      /system/autosend-udp 1

  to send via Ethernet. Via Ethernet, the board will send messages to the last address it received a message from.

Active
  The active property corresponds to the active state of an Analog In. If an Analog In is set to be active, no other tasks will be able to read from it as an Analog In. If you're not seeing appropriate responses to your messages to the Analog In, check the whether it's locked by sending a message like

      /analogin/0/active

  You can set the active flag by sending

      /analogin/0/active 1