public void readScratchData ( ScratchBank bank , Callback < ScratchData > callback ) { addCallback ( BeanMessageID . BT_GET_SCRATCH , callback ) ; Buffer buffer = new Buffer ( ) ; buffer . writeByte ( intToByte ( bank . getRawValue ( ) ) ) ; sendMessage ( BeanMessageID . BT_GET_SCRATCH , buffer ) ; }
Request a scratch bank data value .