Friday, May 13, 2016
Wednesday, May 11, 2016
Monday, April 25, 2016
Sunday, April 24, 2016
Tanner and Ignacio show their Gyro in operation
Uses the Raspberry Pi 2B interfaces with Kootek GY-521 GPU6050 3-Axis Accelerometer and Gyro
Saturday, April 23, 2016
Friday, March 4, 2016
Friday, February 19, 2016
LED ON program - a practice exercise using WiringPi and GPIO pins
// ELEC 494 Mechx DK LED GPIO Intro
//Program: LEDgpio1.c
#include <stdio.h>
#include <wiringPi.h>
// Need wiringPi.h include file for specific instructions for GPIO
int
main(
){
int
i;
wiringPiSetup();
// Sets up the I/O pins and instructions for wiringPi
// Attach my LED and its resistor (diagram is provided
// in your Fritzing wiring Diagram
//Use GPIO 0 pin 11 to turn on and off LED
// Set up my GPIO connector pin 11 to be an OUTPUT
pinMode(0,OUTPUT);
digitalWrite(0,HIGH);
//Turn ON GPIO to 3.3V or HIGH voltage
for
(i=1;i<1000; ++i)
{
//waiting or delay function
}
digitalWrite(0,LOW);
// Turn OFF LED
delay(2000);
// delay 2000 ms
digitalWrite(0,HIGH);
delay(5000);
// delay by 5000 ms
digitalWrite(0,LOW);
printf
(
"\n\n I'm done! All pau! \n\n"
);
}
Wednesday, February 3, 2016
Friday, January 22, 2016
Hi! It's ELEC 494 Mechatronics Engineering!
Yup! It's the Mechatronics Engineering tech elective. Please check the blog regularly - there might be some interesting things posted here.
Subscribe to:
Posts (Atom)