« New CLSQL version | Main | Distributing Repositories »

Cluck - New Common Lisp Library

I've been working on several new microcontroller designs and found that I was using a calculator too often to compute optimal parameters for the microcontroller timers. So, I built a small library to automate the computations and now it's quite quick to pick a optimal master clock speed, timer prescalar, timer compare value, and UART divisors.

The library is called cluck (Common Lisp μcontroller ClocK calculator) and is available at http://files.kpe.io/cluck. Its initial functions include:

  • displaying range of frequencies and periods for 8, 16, and 32-bit timers values for a given clock speed
  • displaying prescaler, compare values, and error percentage for a desired millisecond interrupt period
  • displaying UART divisors and error percentage for common serial port speeds

Comments (1)


i like to get new updated library.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


This page contains a single entry from the blog posted on March 9, 2007 1:05 AM.

The previous post in this blog was New CLSQL version.

The next post in this blog is Distributing Repositories.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.