1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2025-02-03 09:21:08 +02:00
Werner Almesberger 6d8c8dd951 ubb-vga: use a free-running counter instead of resetting it for each line
Two benefits:
1) We don't accumulate errors from the delay between the timer reset and
   the deadline preceding it
2) In the future, we may use WAIT to wait for timer expiration, which
   should cause less bus activity and is should also reduce jitter

- regs4740.h (TFR. TFSR, TFCR, TDHR): added more timer registers
- ubb-vga.c (until): renamed to "delay" and changed to measure relative
  to the last deadline
- ubb-vga.c (line, hdelay, frame): replaced "until" with "delay"
- ubb-vga.c (hdelay, frame, session): reset the timer only once, at
  the beginning of the session
- ubb-vga.c (frame): we didn't wait for the horizontal back porch of
  the last image line
2011-05-02 06:11:29 -03:00
2010-09-01 04:02:24 -03:00
2011-01-31 19:02:50 -03:00
2011-01-31 19:02:50 -03:00
2011-01-17 12:45:42 -03:00

Ben Blinkenlights
=================

This project is a proof of concept implementation of Rikard Lindstrom's
idea of using the Ben's 8:10 card slot as a general extension interface
also for devices that don't speak MMC or SD/SDIO. The application is a
simple LED circuit, as suggested by David Samblas.

The 8:10 card slot gives access to six GPIOs, a 3.3 V supply that can
be switched on and off by software, and ground. We use a simple form of
multiplexing to drive ten LEDs with this interface.

Note that one should only light one LED at a time. If multiple LEDs are
lit, they will share the current though the common resistor, and will
thus be less bright than a single LED.
Description
Blinkenlights, Demonstrate the use of the uSD slot for DIY hardware
http://projects.qi-hardware.com/index.php/p/ben-blinkenlights/
Readme 402 KiB
Languages
C 84.9%
Makefile 7.3%
Perl 3.2%
Shell 2.2%
HTML 1.7%
Other 0.7%