BlinkenArea - GitList
Repositories
Blog
Wiki
mips_sys
Code
Commits
Branches
Tags
Search
Tree:
420617e
Branches
Tags
master
mips_sys
fw
main.c
added "LEDs" I/O peripheral changed instruction memory from dpram to generated rom improved firmware structure to generate rom VHDL code
Stefan Schuermans
commited
420617e
at 2012-02-10 22:43:28
main.c
Blame
History
Raw
#include "leds.h" int data[10]; int main() { unsigned int i; for (i = 0; i < sizeof(data) / sizeof(data[0]); ++i) data[i] = i; for (i = 0x1; i < 0x100; i <<= 1) leds_set_state(i); return 0; }