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
@e-Gizmo
e-Gizmo / arduino.h
Created April 7, 2014 05:49
Gizduino + modification Arduino>hardware>cores>gizduino +>arduino.h (copy and replace) //modified by toasted siopao
#ifndef Arduino_h
#define Arduino_h
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <avr/pgmspace.h>
#include <avr/io.h>
#include <avr/interrupt.h>
/*
Sample Codes for
4x2 LED Display Module
Using this code can easily sets the display numbers.
By using this commands:
For Line1 || for Line2
"D" || "d" - display commands
"P" || "p" - point position commands
@e-Gizmo
e-Gizmo / W5100.h
Created March 1, 2014 07:36
Gizduino + modification for W5100 Ethernet Shield (Copy this "W5100.h" modify Arduino\libraries\Ethernet\utility and replace it). //modified by: toasted siopao
/*
* Copyright (c) 2010 by Cristian Maglie <c.maglie@bug.st>
* W5100.h for Gizduino +
* This file is free software; you can redistribute it and/or modify
* it under the terms of either the GNU General Public License version 2
* or the GNU Lesser General Public License version 2.1, both as
* published by the Free Software Foundation.
*/
#ifndef W5100_H_INCLUDED
@e-Gizmo
e-Gizmo / w5100.h
Created March 1, 2014 07:33
Gizduino X modification for W1500 Ethernet Shield (Copy this "W5100.h" under Arduino\libraries\ethernet\utility and replace it). //modified by: toasted siopao
/*
* Copyright (c) 2010 by Cristian Maglie <c.maglie@bug.st>
* W5100 for Gizduino X v 2.0
* This file is free software; you can redistribute it and/or modify
* it under the terms of either the GNU General Public License version 2
* or the GNU Lesser General Public License version 2.1, both as
* published by the Free Software Foundation.
*/
#ifndef W5100_H_INCLUDED
/* OLED Shield Sample Program
This code shows you the sample program
for OLED screen test interfacing with
GizDuino MCU board.
Codes By: Carlos, Cathie & Medel
Visit us at: http://sfpanganibans.blogspot.com/
(Last update October 21, 2011)
/*
Sharp GP2Y0A60SZ0F IR Distance Sensor Sample Program
This program allows the IR sensor to measure deistance
in inches. Conversion from inches to cm is also included.
Codes by:
e-Gizmo Mechatronix Central
August 6, 2013
*/
/* Tri-Axis Accelerometer Sample Program.
Code by:
e-Gizmo Mechatronix Central
September 20, 2013
*/
//describe the pins.
int x = A2; // x- axis
int y = A1; // y - axis
// Library by Dan, e-Gizmo Mechatronix Central
// The library is made to simplify HBridge control
// and pwm frequency setting
/*
Available commands:
HBridge variable(wd_pin,pwm_pin,dir_pin); // Assigns pin
variable.begin(); // Sets wd pin
variable.Forward(speed); // Forward
variable.Backward(speed); // Backward
@e-Gizmo
e-Gizmo / Voice_Kit_II_Sample.ino
Created January 11, 2014 09:04
Voice kit 2 sample code
const byte STX = 0x02;
const byte ETX = 0x03;
char RXMSG[10];
char VER[3];
char MSG[3];
int i = 0;
char iwillplay[5];
char iwillrecord[5];
@e-Gizmo
e-Gizmo / Code_pde.pde
Created January 11, 2014 06:57
WTV sample
/*
Control Arduino Wave
*/
int RST = A3;
int CLK = A4;
int DAT = A5;
void setup() {