This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* --------------------------------------------------- | |
Ultra Low Power LED flasher | |
LED is connected to PA4 and is high active. | |
Jan 16th, 2021, CPLDCPU - Initial version | |
---------------------------------------------------- */ | |
#include <stdint.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* --------------------------------------------------------------- | |
ligthsensor.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. | |
------------------------------------------------------------------ */ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;-------------------------------------------------------- | |
; Electronic candle for Padauk PMS150C and SDASPDK (SDCC toolchain) | |
; LED is connected to PA4, Timer2 is used to drive LED | |
; Implements algorithm from: | |
; https://github.com/cpldcpu/CandleLEDhack/blob/master/Emulator/CandeflickerLED.c | |
; | |
; cpldcpu Jan 2019 | |
;-------------------------------------------------------- | |
.module blinky | |
.optsdcc -mpdk14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* WS2812_SCAN.c | |
* | |
* Created: 10.01.2014 20:46:20 | |
* Author: tim | |
*/ | |
#include <avr/io.h> | |
int main(void) |