This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Breakout game | |
from machine import Pin,SPI,PWM,ADC | |
import framebuf, gc | |
import time, array, _thread | |
from time import sleep, ticks_us, ticks_diff | |
from lcd_1_8 import LCD_1inch8 | |
from random import randint | |
from sys import exit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cave | |
from machine import Pin,SPI,PWM,ADC | |
import framebuf, gc | |
import time, array | |
from time import sleep, ticks_us, ticks_diff | |
from lcd_1_8 import LCD_1inch8 | |
from random import randint | |
from sys import exit | |
import _thread | |
from uctypes import addressof |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gc9a01 | |
from machine import Pin, SPI, PWM, WDT, mem32 | |
import framebuf | |
from time import sleep_ms, sleep_us, ticks_diff, ticks_us, sleep | |
from micropython import const | |
import array | |
from usys import exit | |
import gc | |
from math import sin,cos,pi,radians | |
from uctypes import addressof |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mandelbrot Set | |
import gc9a01 | |
from machine import Pin, SPI, PWM, WDT, mem32 | |
import framebuf | |
from time import sleep_ms, sleep_us, ticks_diff, ticks_us, sleep | |
from micropython import const | |
import array, gc, _thread | |
from usys import exit | |
from math import sin,cos,pi,radians,tan | |
from uctypes import addressof |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from machine import Pin, SPI, WDT | |
import gc9a01 | |
import framebuf, array | |
from micropython import const | |
buffer = bytearray(240*240*2) | |
MAXSCREEN_X = const(240) | |
@micropython.viper |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Racetrack - based on interpolator code from boochow | |
# https://github.com/boochow/pico_test_projects/tree/main/interpolator2 | |
# http://blog.boochow.com/ | |
from machine import Pin, SPI, WDT | |
import gc9a01 | |
import framebuf, array | |
from time import sleep, ticks_diff, ticks_us | |
from math import sin,cos,radians | |
from micropython import const |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from machine import Pin, SPI | |
import gc9a01 | |
import framebuf, array | |
from time import sleep, ticks_diff, ticks_us | |
from math import sin,cos,radians | |
from micropython import const | |
from uctypes import addressof | |
import gc | |
from usys import exit | |
from random import randint |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from machine import Pin, Timer | |
from time import sleep_ms, sleep_us, ticks_diff, ticks_us, sleep, localtime | |
from usys import exit | |
import framebuf, array | |
from uctypes import addressof | |
from micropython import const | |
import _thread | |
from random import randint | |
import gc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from machine import Pin, Timer | |
from time import sleep_ms, sleep_us, ticks_diff, ticks_us, sleep, localtime | |
from usys import exit | |
import framebuf, array | |
from uctypes import addressof | |
from micropython import const | |
import _thread | |
from random import randint | |
import gc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gc9a01 | |
from gc9a01 import color565 | |
from machine import Pin, SPI, PWM, WDT, freq | |
import framebuf | |
from time import sleep_ms, sleep_us, ticks_diff, ticks_us, sleep | |
from micropython import const | |
import array | |
from usys import exit | |
import gc | |
from random import randint |