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
    
  
  
    
  | # Star Raiders 240x160 on core 1 | |
| from st7796 import LCD_3inch5 | |
| from gt911 import GT911 | |
| from random import randint | |
| from machine import freq, I2C, Pin | |
| import time, _thread, gc, framebuf , array, math, sys | |
| from time import sleep_ms, sleep_us | |
| from math import sin, cos, radians | |
| from draw_number import Draw_number | |
| from joystick import Joystick | 
  
    
      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
    
  
  
    
  | ================================================================================ | |
| ROBOT CODE DEBUG - 32-bit Opcode Format | |
| ================================================================================ | |
| Robot: ROBOT1 | |
| Active: True | |
| -------------------------------------------------------------------------------- | |
| 1: ; SAMPLE ROBOT 'SCANNER' ; (comment/empty) | |
| 2: ]START ; LABEL -> addr 0 | |
| 3: ] DAMAGE TO D ; [ 0] MOV op1: 4 REG op2: 30 imm: 0 | |
| 4: ]SCAN ; LABEL -> addr 1 | 
  
    
      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
    
  
  
    
  | # template 240x160 on core 1 | |
| from st7796 import LCD_3inch5 | |
| from random import randint | |
| from machine import freq, I2C, Pin, mem32 | |
| import time, _thread, gc, framebuf , array | |
| from time import sleep_ms, sleep_us | |
| MAXSCREEN_X = const(240) | |
| MAXSCREEN_Y = const(160) | |
| SHOWING = const(0) | 
  
    
      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
    
  
  
    
  | # Boulder Dash Pico2 | |
| from st7796 import LCD_3inch5 | |
| from gfx import Gfx | |
| from machine import Pin, PWM, SPI | |
| from uctypes import addressof | |
| from time import sleep, sleep_ms, ticks_us, ticks_diff, ticks_ms | |
| import gc, array, re, _thread | |
| from random import randint, random | 
  
    
      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,PWM, freq, I2C | |
| import framebuf | |
| import time | |
| from time import sleep_ms | |
| import os | |
| ''' | |
| GP2 CLK | |
| GP3 DIN | |
| GP5 CS x | 
  
    
      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
    
  
  
    
  | # template | |
| from lcd_1_8 import LCD_1inch8 | |
| import machine, math | |
| from machine import Pin, PWM, SPI | |
| from uctypes import addressof | |
| from time import sleep, ticks_us, ticks_diff, ticks_ms | |
| import gc, _thread, array | |
| from micropython import const | |
| from random import randint | |
| from math import sin,cos,tan,radians,sqrt | 
  
    
      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
    
  
  
    
  | # minesweeper | |
| from lcd_1_8 import LCD_1inch8 | |
| import machine | |
| from machine import Pin, PWM | |
| from time import sleep, ticks_us, ticks_diff, ticks_ms | |
| import gc, array | |
| from sys import exit | |
| from micropython import const | |
| 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
    
  
  
    
  | # Bubble Darts | |
| from lcd_1_8 import LCD_1inch8 | |
| import machine | |
| from machine import Pin, PWM | |
| from uctypes import addressof | |
| from time import sleep, ticks_us, ticks_diff, ticks_ms, sleep_ms | |
| import gc, _thread, array | |
| from sys import exit | |
| from micropython import const | |
| 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
    
  
  
    
  | # snake_asm | |
| from lcd_1_8 import LCD_1inch8 | |
| import machine, math | |
| from machine import Pin, PWM | |
| from uctypes import addressof | |
| from time import sleep, ticks_us, ticks_diff, ticks_ms | |
| import gc, _thread, array | |
| from sys import exit | |
| from micropython import const | |
| 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
    
  
  
    
  | # Space Invaders | |
| from lcd_1_8 import LCD_1inch8 | |
| import machine | |
| from machine import Pin, PWM | |
| from uctypes import addressof | |
| from time import sleep, ticks_us, ticks_diff, ticks_ms, sleep_ms | |
| import gc, _thread, array | |
| from sys import exit | |
| from micropython import const | |
| from random import randint | 
NewerOlder