Detecting the intersection of two convex polygons

Here is the algorithm and some C source code to determine if two convex polygons intersect.  Also includes a function to determine if two line segments are intersecting. (Free for any use)

Detecting the intersection of a circle and a line segment

Here is the algorithm and C source code to determine if a circle and a line segment intersect. (Free for any use)

Chuck's Power Koding

Chuck's Power Koding is a document designed to help programmers fine-tune their techniques in ways they may not have thought of. Revolutionize your koding style now!

SHA1 Hash Implementation

Here's a free implementation of the SHA1 hash algorithm. It is free for any use.

CRC32 Calculation in C

This little piece of code calculates the 32 bit CRC of a buffer. It is free for any use.

AVL Trees in C

Here's a free implementation of AVL trees in C. These are free for any use.

Doubly Linked Lists in C

Here are some free linked lists for you. Doubly linked! These are free for any use.

Magnetic Card Reader

This is a little program for the PIC16F84 that reads data from a magnetic card reader and outputs to RS232 at 2400bps.  It could probably be adapted easily to work on other PICs but I'll leave that as an excercise to the reader. 

PIC Programmer Socket Adapters

The EPIC programmer is the PIC programming hardware that I use and I'm very happy with it. This page contains information on building your own socket adapters for use with this programmer. This information is not specific to the EPIC programmer so it can be used to build socket adapters for any PIC programmer.

Syndicate content