Or, if synchronization is needed, use this command in an infinite while loop with a sleep function, and instead of IDLE, write ONESHOT_STILL.
Or, if synchronization is needed, use this command in an infinite while loop with a sleep function, and instead of IDLE, write ONESHOT_STILL.