We've created a super-easy installation script that will install all pre-requisites and get your Dot3k up and running in a jiffy, just type this into a terminal or LXTerminal:
curl get.pimoroni.com/dot3k | bashfrom dot3k import lcd
lcd.write('Hello World!')from dot3k import backlight
backlight.sweep(0.5)
backlight.update()from dot3k import joystick
@joystick.on(joystick.UP)
def handle_joystick_up(pin):
print("Joystick up!")