My First Viking Longship
Helm: iButton.c
Home
The Game

Water Craft

Helm

     Software
     Electronics
Communications
Gems of Wisdom
Media
Pseudocode helm.c helmstatemachine.c LED.c iButton.c Test harness

The iButton is a device that encodes a serial number. It utilizes an asynchronous serial communications protocol. This module presents an interface that acts at very specific times to decode the iButton information. The function presented to the state machine requires 30 consecutive valid reads (not 0x00 or 0xFF) before presenting the serial number.

The full collection of C files may be found here. full iButton.c file may be found here.