Showing posts with label PIC. Show all posts
Showing posts with label PIC. Show all posts

Sunday, 18 January 2009

Pseudo-Random Number Generator with pseudo-random delays.

One of my more recent assembly hack-togethers. Here I created an 8 bit pseudo-random number generator, with pseudo-random delays implementing a software linear feedback shift register. (The code has also been ported over to a 16F887 [video]).

Binary counter using a PIC

My first ever PIC project. An 8 bit binary counter (only the least significant nibble is shown), running on a PIC16F690. Since we're all used to high-level languages these days, this might look a bit trivial, but it takes quite a few lines of assembly language to do this.