import machine
from machine import Pin, SoftI2C
import ssd1306
import utime

i2c = machine.SoftI2C(scl=machine.Pin(5), sda=machine.Pin(4))
pin = machine.Pin(16, machine.Pin.OUT)
pin.value(0) 
pin.value(1) 
oled_width = 128
oled_height = 64
oled = ssd1306.SSD1306_I2C(oled_width, oled_height, i2c)

Start_line = 0
print_line = 0
oled.fill(0)

def print_screen():
    oled.text("3", 7, Start_line - print_line)
    print_line -= 10


for Start_line in range(128,1,-1):
    print_line = 64
    oled.fill(0)
    oled.text("Monbulk Peers!", 7, Start_line - print_line)
    print_line -= 10
    oled.text("Dave's 1st line", 4, Start_line-print_line)
    print_line -= 10
    oled.text("WHAT", 50, Start_line-print_line)
    print_line -= 10
    oled.text("TIME", 48, Start_line-print_line)
    print_line -= 10
    oled.text("IS", 56, Start_line-print_line)
    print_line -= 10
    oled.text("IT?", 54, Start_line-print_line)
    print_line -= 10
    oled.show()

while 1:
  oled.fill(1)
  oled.show()
  utime.sleep(0.1)
  oled.fill(0)
  oled.text("RECESS", 44, 20)
  oled.text("TIME!", 44, 35)
  oled.show()
  utime.sleep(0.2)
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT