Skip to content

Instantly share code, notes, and snippets.

View e-Gizmo's full-sized avatar
👩‍🏫
Conducting FREE Seminar and Workshop for Educators https://bit.ly/2XAGOvb

e-Gizmo Mechatronix Central e-Gizmo

👩‍🏫
Conducting FREE Seminar and Workshop for Educators https://bit.ly/2XAGOvb
  • e-Gizmo Mechatronix Central
  • 2/F VSC Building, 2313 Corner Castro St. Taft Ave., Malate, 1004 Manila, Philippines
View GitHub Profile
/*
MPL115A1 SPI Digital Barometer Test Code
Created on: September 30, 2010
By: Jeremiah McConnell - miah at miah.com
Portions: Jim Lindblom - jim at sparkfun.com
This is a simple test program for the MPL115A1 Pressure Sensor (SPI version).
Hardware: ATmega168, ATmega328
Powered at 3.3V or 5V, running at 8MHz or 16MHz.
/*
3-Axis GYRO
Sample codes functions
for Gyroscope ITG3205.
Codes by;
e-Gizmo Mechatronix Central
http://www.e-gizmo.com
/*
4 Digit Display v 2.0
This sample program functions
as a 4 digit 7 segment display
counter.
Codes by:
e-Gizmo Mechatronix Central
http://www.e-gizmo.com
/*
ADXL345 Software Interface
by e-Gizmo Mechatronix Central
http://www.e-gizmo.com
This program uses a special software technique
to allow direct and safe interfacing of a 3.3V ADXL345
device (e-Gizmo ADXL345 breakout board) with the
5V logic interface of the gizDuino/Arduino I/O bus
/*
ITG3205 3Axis Gyroscope
Sample codes function
for Gyroscope ITG3205.
Codes from:
http://www.varesano.net
Modified by:
/*
e-Gizmo 16 Channel Servo Driver
Sample codes function for
16 Channel Servo driver.
Codes by:
e-Gizmo Mechatronix Central
http://www.e-gizmo.com
//************************************************************************
// Nokia Shield
//************************************************************************
//* Edit History
//* <MLS> = Mark Sproul msproul -at- jove.rutgers.edu
//************************************************************************
//* Apr 2, 2010 <MLS> I received my Color LCD Shield sku: LCD-09363 from sparkfun
//* Apr 2, 2010 <MLS> The code was written for WinAVR, I modified it to compile under Arduino
//* Apr 3, 2010 <MLS> Changed LCDSetPixel to make it "RIGHT" side up
//************************************************************************
//************************************************************************
//
// LCD_driver.c: Interface for Nokia LCD
//
//************************************************************************
//************************************************************************
//* Edit History
//* <MLS> = Mark Sproul msproul -at- jove.rutgers.edu
//************************************************************************
//* Apr 2, 2010 <MLS> I received my Color LCD Shield sku: LCD-09363 from sparkfun
#define PHILLIPS
//#define EPSON
#ifdef __cplusplus
extern "C" {
#endif
//********************************************************************
//
// General Function Definitions
void delay_us(int x);
void delay_ms(int x);
void ioinit(void);
void reset(void);
// New
//************************************************************************