Design Con 2015

Source Code Library

Share your code

Help us improve the library

upload your code

Download Code

myrandom.c, Linux example driver Michael Eager 04.05.2014

myrandom.c is a Linux driver that creates a virtual device that will return a pseudo-random number when read. This is a similar to the /dev/random virtual device, but simpler, and not to be used in real programs.

For more details: View Description Page

Standalone digital voltmeter uses a multichannel ADC code Branislav Korenko and Marek Cerný, Slovak University of Technology, Bratislava, Slovakia 11.15.2013

Code listings for Design Idea Standalone digital voltmeter uses a multichannel ADC.

For more details: View Description Page

Dhrystone--A VFT perspective (code listings) Neha Srivastava and Aashish Mittal 10.22.2013

The attached zip file named “Dhrystone--A VFT perspective (code listings),” contains all the code examples used in an article on Embedded.com titled “Benchmarking an ARM-based SoC using Dhrystone: A VFT perspective,” by Neha Srivastava and Aashish Mittal, Freescale Semiconductor.

For more details: View Description Page

rinBufS.zip -- Ring buffer basics Ken Wada 08.07.2013

Code for how to create a ring buffer without C++ Standard Template Library.

For more details: View Description Page

Bit-banging a digital-to-analog converter Ken Wada 03.28.2013

How to create a digital-to-analog converter using a

For more details: View Description Page

System tick timer Ken Wada 02.07.2013

Code for an ARM SYSTICK timer that you can adapt for other timers, as decribed in Ken Wada's blog, "System ticks" (February 2013, Embedded.com).

For more details: View Description Page

RT_Linux_demo_2012.rar Le Trung Thang 12.20.2012

The examples included on Page 2 to 8 of Le Trung Thang's article "Comparing the real-time scheduling policies of the Linux kernel and an RTOS." The article shows the different operational mechanisms of the real-time Linux Scheduler in the context of the article.

For more details: View Description Page

Standalone digital voltmeter uses a multichannel ADC code Branislav Korenko and Marek Cerný, Slovak University of Technology, Bratislava, Slovakia 11.15.2012

This is code for the EDN Design Idea "Standalone digital voltmeter uses a multichannel ADC," which offers a design to monitor several different voltages with one instrument.

For more details: View Description Page

Embedded Sys Design Example Analog In Digital Out.zip Baruch Evenor 12.07.2010

Source code and tech description of a design example created using ECCM's Game-Blocks-Code tool.

For more details: View Description Page

MY_SIMPLE_OS_SOURCE_CODE Baruch Evenor 11.15.2010

This code accompanies Baruch Evenor's article on his Lego-Code system that will appear in the December 2010 issue of Embedded Systems Design magazine.

For more details: View Description Page

Motor.c David Austin 11.01.2010

Code from "Generate stepper-motor speed profiles in real time" (David Austin, Embedded Systems Programming magazine, January 2005)

For more details: View Description Page

simon10.zip Dan Simon 10.23.2010

Dan Simon, "From Here to Infinity" (October)

For more details: View Description Page

serial.zip Don Krantz 10.23.2010

Don Krantz, serial data routines for the PIC processors.

For more details: View Description Page

scan.zip Don Krantz 10.23.2010

Don Krantz, serial data routines for the PIC processors.

For more details: View Description Page

crenshaw.zip(95) Jack Crenshaw 10.23.2010

Jack Crenshaw, "Floating-Point Math, Part 1" (November)

For more details: View Description Page

iic.zip Steve Arns and Jack Woehr 10.23.2010

Steve Arns and Jack Woehr (Code by Tom Wheeler), "Exploring I2C" (September)

For more details: View Description Page

ex386.zip Jean Gareau 10.22.2010

Jean Gareau, "Embedded 80386 Programming: Examples" (April)

For more details: View Description Page

sincos.zip Jack Crenshaw 10.22.2010

Jack Crenshaw, "Getting the Sines Right" (February)

For more details: View Description Page

esp118.zip 10.22.2010

Code for November

For more details: View Description Page

SimpleVec2.txt Jack Crenshaw 10.22.2010

Jack Crenshaw, "Completing the vector class" (August)

For more details: View Description Page

rom-mon.txt 10.22.2010

.

For more details: View Description Page

iic.4th Steve Arns and Jack Woehr (Code by Tom Wheeler) 10.22.2010

Steve Arns and Jack Woehr (Code by Tom Wheeler), "Exploring I2C" (September)

For more details: View Description Page

lagrange.zip Don Morgan 10.22.2010

Don Morgan, Matlab Code

For more details: View Description Page

balcom.txt Orv Balcom 10.22.2010

Orv Balcom,"Control Embedded Projects with Software Requirements Specs" (February)

For more details: View Description Page

lamie.txt Bill Lamie 10.22.2010

Bill Lamie, Code associated with "Multitasking Mysteries Revealed" (February)

For more details: View Description Page

Load Load More

Most Read

  • No Articles

Most Commented

  • Currently no items

KNOWLEDGE CENTER