arduino

HMC5883L Arduino example

/* Analog input 4 I2C SDA Analog input 5 I2C SCL */ #include <Wire.h> #define address 0x1E //I2C 7bit address of HMC5883 void setup(){ Serial.begin(9600); Wire.begin(); //Put the HMC5883 IC…

Read more

Arduino Clock

In this example we will experiment with a DS1307 breakout, a keypad/LCD shield and an Arduino. We will create a simple clock example. The DS1307 real-time clock is a low-power,…

Read more