This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() { | |
Serial.begin(9600); | |
pinMode(8, INPUT_PULLUP); | |
} | |
void loop() { | |
int Val = digitalRead(8); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
ServoSweep Sample sketch | |
An example code for ServoSweep. | |
Use SoftwareSerial pin 2 (RX) and 3 (TX). | |
ServoDriver to gizDuino | |
TX --> pin2 (RX) | |
RX --> pin3 (TX) | |
GND --> GND |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
I2C Serial Interface LCD Module Display | |
Sample code | |
*/ | |
#include <Wire.h> | |
// Get the LCD I2C Library here: | |
// https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads | |
// Move any other LCD libraries to another folder or delete them | |
// See Library "Docs" folder for possible commands etc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library IEEE; | |
use IEEE.STD_LOGIC_1164.ALL; | |
--use IEEE.STD_LOGIC_ARITH.ALL; | |
--use IEEE.STD_LOGIC_UNSIGNED.ALL; | |
library machxo2; | |
use machxo2.all; | |
entity blinky is | |
Port ( led_out : out std_logic); | |
end blinky; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library IEEE; | |
use IEEE.STD_LOGIC_1164.ALL; | |
--use IEEE.STD_LOGIC_ARITH.ALL; | |
--use IEEE.STD_LOGIC_UNSIGNED.ALL; | |
library machxo2; | |
use machxo2.all; | |
entity blinky is | |
Port ( led_out : out std_logic); | |
end blinky; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************* | |
* Public Constants | |
*************************************************/ | |
#define NOTE_B0 31 | |
#define NOTE_C1 33 | |
#define NOTE_CS1 35 | |
#define NOTE_D1 37 | |
#define NOTE_DS1 39 | |
#define NOTE_E1 41 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
DIY Christmas Song Sketch | |
Using gizDuino LIN-UNO (Arduino UNO). | |
*/ | |
#include <eGizmo_SerialLCD.h> | |
#include "pitches.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Hello World Sketch | |
On this sample, we will display a simple | |
message on the lcd, to print, printOver, | |
clear and scrolling. | |
Using gizDuino LIN-UNO (Arduino UNO). | |
See the Keyword.txt for more syntax. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Digital Pins Sketch | |
On this sample, we will use the digital pins of | |
Serial LCD II at the same time with display message on it. | |
Using gizDuino LIN-UNO (Arduino UNO). | |
See the Keyword.txt for more syntax. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Radar Project | |
* | |
* Updated version. Fits any screen resolution! | |
* Just change the values in the size() function, | |
* with your screen resolution. | |
* | |
* by Dejan Nedelkovski, | |
* www.HowToMechatronics.com | |
* | |
*/ |