GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mwdmwd/ledspire: Programmable LED strip controller

BranchesTags
Open more actions menu

Latest commit

 

History

72 Commits
72 Commits

Folders and files

NameName
Last commit message
Last commit date
fs
fs
 
 
src
src
 
 
util
util
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
config.example.mk
config.example.mk
 
 
config.mk
config.mk
 
 

Repository files navigation

ledspire

Programmable LED strip controller with ESP8266/Arduino.

Example programs are in fs/prog.

There are 10 registers: v0 through v9. Command reference (:r means a register, :v means a register or an immediate value):

wait delay:v - wait delay milliseconds
fade r:v g:v b:v time:v - linear fade from the current color to r,g,b in time milliseconds
stop - stop the interpreter
rand dest:r min:v max:v - set dest to a random number between min and max inclusive
call label - call a subroutine
ret - return from a subroutine
rgb r:v g:v b:v - set LED color to r,g,b
add dest:r src:v - add src to dest
sub dest:r src:v - subtract src from dest
inc dest:r - increment dest
dec dest:r - decrement dest
mul dest:r src:v - multiply dest by src
div dest:r src:v - divide dest by src
cmp a:v b:v - set condition flags according to the result of a - b. Note: only cmp updates the flags.
jmp label - jump to a label
(jne, jge, jle, je, jg, jl) label - conditionally jump to a label
ld dest:r src:v - load src into dest

About

Programmable LED strip controller

Resources

Readme
GPL-3.0 license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.