Micro Python Tutorial
Back to current versionRestore this version
This is a placeholder page for a MicroPython Tutorial.

Here's the URL of the server:#

service.robots.org.nz/wiki/#

from machine import Pin

class Motor: def init(self, name): self.motor_name = name print('motor name: {}'.format(self.motor_name)) print('ready.')

class MotorController: def init_(self): port_forward_motor = Motor('pfwd') stbd_forward_motor = Motor('sfwd') print( 'ready.')