Skip to content

Instantly share code, notes, and snippets.

cpldcpu cpldcpu

Block or report user

Report or block cpldcpu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
cpldcpu / lightsensor.c
Created Sep 29, 2019
Light sensor on PFS154
View lightsensor.c
/* ---------------------------------------------------------------
LED is connected to PA0 (anode) and PA4 (cathode).
Sep 21, 2019 cpldcpu - first release
Sep 29, 2019 cpldcpu - last iteration after many tries. It appears the PFS154
is too noisy for this to work.
------------------------------------------------------------------ */
cpldcpu / candleasm.s
Created Sep 23, 2019
Electronic candle based on Padauk PMS150C
View candleasm.s
; Electronic candle for Padauk PMS150C and SDASPDK (SDCC toolchain)
; LED is connected to PA4, Timer2 is used to drive LED
; Implements algorithm from:
; cpldcpu Jan 2019
.module blinky
.optsdcc -mpdk14
cpldcpu / gist:8387639
Created Jan 12, 2014
WS2812_SCAN - Exercise a WS2812 LED with different timing parameters. For each set of timing parameters (j,k) the following is performed: - Wait 10µs to reset the WS2812 LED - Emit 48 pulses with the given timing Compiles with AVR-GCC for ATtiny85. LED is connected on PB1.
View gist:8387639
* WS2812_SCAN.c
* Created: 10.01.2014 20:46:20
* Author: tim
#include <avr/io.h>
int main(void)
You can’t perform that action at this time.