MCPcopy Create free account
hub / github.com/kiibohd/controller / loop

Method loop

Lib/host.py:510–523  ·  view source on GitHub ↗

Run Host-side KLL main processing loop N number of times @param number_of_loops: Number of times to run main loop

( self, number_of_loops=1 )

Source from the content-addressed store, hash-verified

508 self.virtual_serialport_process()
509
510 def loop( self, number_of_loops=1 ):
511 '''
512 Run Host-side KLL main processing loop N number of times
513
514 @param number_of_loops: Number of times to run main loop
515 '''
516 loop = 0
517 while loop < number_of_loops:
518 # Refresh callback interface
519 refresh_callback()
520
521 logger.debug("Host_process ({})", loop)
522 self.kiibohd.Host_process()
523 loop += 1
524
525 def refresh_callback( self ):
526 ''&#x27;

Callers 8

animation2.pyFile · 0.80
test.pyFile · 0.80
runMethod · 0.80
run_actionMethod · 0.80
animation.pyFile · 0.80
hidio.pyFile · 0.80
clean_animation_stackMethod · 0.80
stepMethod · 0.80

Calls 1

refresh_callbackFunction · 0.85

Tested by

no test coverage detected