led_pwm

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: Colin Fox, created: 2013-04-10 | updated: 2013-04-10

 

led_pwm is a PWM driver for up to 32 leds, written in prop assembly. It supports optional automatic decay, and 64 brightness levels for the LEDs.

The pwm is done entirely in software, and allows for efficient control of all 32 leds from a single cog. 32 longs are used as control values, and may be updated in realtime by a spin program. These values are read by the assembly language pwm driver and applied to each LED.

 

Original File Upload
AttachmentSize
Package icon led_pwm_v1.0.zip8.04 KB