Skip to content

Hardware Emulation

Latest

Choose a tag to compare

@eliasgroll eliasgroll released this 14 Feb 22:07
  • Optimized for small screens
  • Full Hardware emulation
  • Monitored EEPROM shows the last acessed byte

Test new features (press PIN7 after a while):

' {$STAMP BS1}
SYMBOL seed = B0
SYMBOL lights = B1
SYMBOL beat = 200
DIRS=%01111111 'ports 76543210
PINS=%00000000 'ports 76543210

pin:
IF PIN7 = 1 THEN mem
RANDOM seed
lights = seed // 126
PINS = lights
PAUSE beat
GOTO pin

mem:
FOR B0 = 0 TO 255
  B1 = 255-B0
  WRITE B0, B1
  WRITE B1,B0
  NEXT