DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


built_in:ioio

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

built_in:ioio [2014/12/18 20:26]
bcarroll created
built_in:ioio [2014/12/18 21:45] (current)
bcarroll
Line 14: Line 14:
 |IOIO.CreateUart( p1,​p2,​p3,​p4,​p5,​p6 ) | | |IOIO.CreateUart( p1,​p2,​p3,​p4,​p5,​p6 ) | |
 |IOIO.CreatePulseInput( p1,p2,p3 ) | | |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/18 21:45 by bcarroll