#NEWLINE# def process_data( self , data ) : #NEWLINE# #INDENT# args = [ ] #NEWLINE# for ( _key , _value ) in data . items ( ) : #NEWLINE# #INDENT# if ( 'pin[' not in _key ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# pinarg = PinArg ( * self . board . get_pwmpinarg_params ( ) ) #NEWLINE# pinpwmarg = PinPWMValueArg ( ) #NEWLINE# pinarg . set_value ( _key [ 4 : ( - 1 ) ] ) #NEWLINE# pinpwmarg . set_value ( _value ) #NEWLINE# args += [ pinarg , pinpwmarg ] #NEWLINE# #UNINDENT# return [ a . get_value ( ) for a in args ]