Models | Examples |
---|---|
Display ads | Yahoo! |
Search ads |
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
/** | |
* Fetch data from the web and save it into a Google Sheet document | |
* | |
* Requirements: | |
1. NodeJS | |
2. npm install request | |
3. npm install cheerio | |
4. npm install edit-google-spreadsheet | |
* Author: Ido Green | plus.google.com/+Greenido |
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
#include <Servo.h> | |
#define trig 6 | |
#define echo 5 | |
#define motor 3 | |
int distance; | |
Servo servoMain; // Define our Servo | |
int ultrasound(){ | |
int i, temp, distance = 0; | |
for(i=0; i<20; ++i) { |
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
#include <Ultrasonic.h> // This library is licensed under Creative Commons Share alike and Attribution by J.Rodrigo. See: https://github.com/JRodrigoTech/Ultrasonic-HC-SR04 | |
Ultrasonic ultraleft(11,3, 25000); // (Trig PIN, Echo PIN, Time Out in milliseconds- A lower value will limit the maximum distance reading.) | |
Ultrasonic ultraright(6,5, 25000); // (Trig PIN, Echo PIN, Time Out in milliseconds- A lower value will limit the maximum distance reading.) | |
int pwmleft; | |
int pwmright; | |
void setup(){ | |
pinMode(2, OUTPUT); // GND pin |