All related files I’ve uploaded (as of 2014) and code:

I have found I never update this…. you’ll have to look inline with the articles. I tag fairly well anyhow.

CODE:

Right click and Save As…

Files with potential updates can be found at github: https://github.com/chasxmd and NOT here. My other github is https://github.com/chasihler/

All files will have target device included in the file name. They’re either in C (.c) or assembly (.asm). For development I use the Microchip XC8 C compiler.

16F1509_NCO.c
XC8 C based numerically controlled oscillator (NCO)

16F628A_WWVB_generator.asm
This code tests “atomic” clocks that take their signal from WWVB by broadcasting the time code in ASK (OOK). It’s written in assembler but writing it in C from scratch would be a breeze.

16F1509_PWM.asm
Assembly code for basic PWM operation

 16F1509_rotary_encoder.asm
Assembly code for basic rotary encoder use. Output is dumped as an 8bit integer to a port.

OTHER:

%d bloggers like this: