<commit_before>from pydojo import *

# inizializzo
pygame.init()
width = 800
height = 600
SCREEN(width, height)

bianco = [255, 255, 255]

gamepad_control = False
try:
    # creo un oggetto Joystick
    pad = pygame.joystick.Joystick(0)
    # inizializzo il joystick
    pad.init()
    gamepad_control = True
except:
    print("no GamePad found...")

gufo = Actor('example_library/gufo.png')
gufo.goto(width/2, height/2)

uno = Arduino('COM5')

rightPwm = uno.get_pin('d:10:p')
leftPwm = uno.get_pin('d:5:p')
RF = uno.get_pin('d:9:o')
RB = uno.get_pin('d:8:o')
LF = uno.get_pin('d:7:o')
LB = uno.get_pin('d:6:o')

RF.write(True)
RB.write(False)<commit_msg>inverted key-motor bindings<commit_after>from pydojo import *

# inizializzo
pygame.init()
width = 800
height = 600
SCREEN(width, height)

bianco = [255, 255, 255]

gamepad_control = False
try:
    # creo un oggetto Joystick
    pad = pygame.joystick.Joystick(0)
    # inizializzo il joystick
    pad.init()
    gamepad_control = True
except:
    print("no GamePad found...")

gufo = Actor('example_library/gufo.png')
gufo.goto(width/2, height/2)

uno = Arduino('/dev/rfcomm0')
#uno = Arduino('/dev/ttyACM0')

rightPwm = uno.get_pin('d:5:p')
leftPwm = uno.get_pin('d:10:p')
RF = uno.get_pin('d:7:o')
RB = uno.get_pin('d:6:o')
LF = uno.get_pin('d:9:o')
LB = uno.get_pin('d:8:o')

RF.write(True)
RB.write(False)
{'fraction_non_alphanumeric': 0.1706959706959707, 'fraction_numerical': 0.03882783882783883, 'mean_word_length': 4.356862745098039, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6621055', 'n_tokens_mistral': 634, 'n_tokens_neox': 591, 'n_words': 111}