User Tools

Site Tools


Sidebar

Privacy Policy

News

Version 2.50 is out since Jan 1st 2022


Frequently Asked Questions


Namespaces

Note for contributors

If you wish to create a new page in the DroidScript wiki, please click on the most appropriate namespace above and follow the notes for contributors there.

Because of spam, it has been necessary to add a CAPTCHA to the registration form and the save option for editing pages. You will not need to prove you are human if you are logged in, so please register.

Please feel free to improve any existing page, as well as adding new pages to increase the sum of public knowledge about DroidScript.

Formatting Syntax

built_in:ioio

IOIO control

Methods

Method Description
IOIO.Release()
IOIO.IsConnected()
IOIO.CheckConnection()
IOIO.SetOnConnect( p1 )
IOIO.SetOnError( p1 )
IOIO.CreateDigitalOutput( p1,p2,p3 )
IOIO.CreateDigitalInput( p1,p2 )
IOIO.CreatePwmOutput( p1,p2,p3 )
IOIO.CreateAnalogInput( p1 )
IOIO.CreateUart( p1,p2,p3,p4,p5,p6 )
IOIO.CreatePulseInput( p1,p2,p3 )

IOIOUart object

Methods

Method Description
IOIOUart.Close()
IOIOUart.Write( p1 )
IOIOUart.SetOnReceive( p1 )
IOIOUart.SetSplitMode( p1,p2,p3 )
IOIOUart.SetTimeout( p1 )
IOIOUart.Clear()

IOIODigitalOutput object

Methods

Method Description
IOIODigitalOutput.Close()
IOIODigitalOutput.Write( p1 )

IOIODigitalInput object

Methods

Method Description
IOIODigitalInput.Close()
IOIODigitalInput.Read()
IOIODigitalInput.WatchForValue( p1 )
IOIODigitalInput.SetOnValue( p1 )

IOIOPwmOutput object

Methods

Method Description
IOIOPwmOutput.Close()
IOIOPwmOutput.SetPulseWidth( p1 )
IOIOPwmOutput.SetDutyCycle( p1 )

IOIOAnalogInput object

Methods

Method Description
IOIOAnalogInput.Close()
IOIOAnalogInput.Read() { return parseFloat(prompt( obj.id, “IAI.Read(” )); }
IOIOAnalogInput.GetReference()
IOIOAnalogInput.GetVoltage()
built_in/ioio.txt · Last modified: 2014/12/19 05:45 (external edit)