Advanced Search
Search Results
102 total results found
What are GPIO pins on Raspberry Pi?
...s on Python here. Below are two codes using two different libraries ...t very compatible to merge with codes from other libraries as well. ... it will be fine. RPi.GPIO is a code library that allows Python to communicate with the GPIO. It is widely used ...
Project Proposal Form
...h information as possible so we may evaluate your project accurately. You can scan the following QR code to be directed to the form. You will need your UAL login details to access the page. >Or click here to access the Project Proposal Form directly.<
Understanding Arduino software
...tails of each button, but the Arrow button is the upload button to upload the code to the Arduino board. In the la ...e use this button to upload the code to the Arduino. Go to the next ... part, Using built-in example code and Reading the hookup diagram
How to use a Neopixel strip
...talled, you can use the example code for a test run. Before uploadi ...ng the code to Arduino, one change has to b ... to find the below lines in the code. // How many NeoPixels are attached to the Arduino? #define LED_COUNT 60 You have to make sure how ...
How to install libraries
...no libraries are collections of code that are designed to provide ad ...ch for libraries to use in your code. Only a few libraries are currently available this way, as this feature is relatively new. You will often have to manually download and install a l...
Introduction to Python
...ython was designed to emphasize code readability and ease of use, ma ...ssential skills to write Python code and take advantage of the features provided by an Intergrated Development Environment (IDE). By the end of this course, you will be able to create ...
Installing the software
..."My Licenses", on the right, from here "Create Key" by typing in your system code and machine name, this will com ...e Key" by typing in your system code and machine name, this will come up in a window on Touchdesigner when you first try launching it.
Sending data to Arduino
...ill later see. To load the code choose "File" > Examples, then ...the arrow button to upload the code. In Touchdesigner A Firmata COMP is available in Touchdesigner to send and receive data through Arduino. To access it open the Palette and sel...
Using a TCS34725 RGB Color Sensor
... Serial Port Before you run the code in Processing, we have to set u ...usbmodem14601" so I changed the code like this. port = new Serial(this, "/dev/cu.usbmodem14601", 9600); You can find your port name at the bottom of your Arduino IDE or go to Tools > ...
How to use a rotary encoder
What is a rotary encoder? A rotary encoder is an electromechanical device ...ion, and speed, making rotary encoders a key component in many types ...g Different models of rotary encoders will have different colour codes. I am using an Incremental Rot...
Using an MFRC522 RFID reader
...ing the MFRC522 library. Please see this tutorial to learn how to install libraries. Getting started We will be using the example code, DumpInfo, from the library to ...} We will be using the example code, DumpInfo, from the library to read an RFID Tag.
How to connect a Light Dependent Resistor (LDR)
... Getting started The following code uses analogRead() to get a inte ...ere 0 is 0V and 1023 is 5V. The code below uses the serial port to output the value every 50ms to the Serial Monitor. #define ldrPin A0 int value; int limit; void setup() { Serial.b...
Introduction
...llow along with the instructions below. In this workshop, you will learn: Understanding Arduino hardware Understanding Arduino software Using built-in example code and Reading the hookup diagram ...nic distance sensor Combining codes & circuits
How to use a Servo Motor
...ng started - Regular Servo This code is getting the eight servo moto ...eed counterclockwise. The below code is getting the servo motor 1 rotates clockwise for 1 second and stop for 1 second. #include "PCA9685.h" #include <Wire.h> ServoDriver servo; void...
Radio Communication: How to use APC220 Radio Data Module
...nect APC220 RXD to Arduino TX if they use different logic levels (some APC220 modules are 3.3V-only). Getting started Arduino Leonardo - Sending This code is getting the eight servo moto ...no RX0/TX1 pins while uploading code—use SoftwareSerial instead.
Using the serial monitor and serial logger
...re than acceptable level. This code example outputs the value of all 6 analog input pins on the Arduino: void setup() { Serial.begin( 9600 ); } void loop() { Serial.print( analogRead( A0 ) ); Serial.print( "," ); Serial.print( analogRead(...
AR with Unity - Step #3 - Adding content to your project
... Now click over the license key code to copy it to your clipboard. Back in Unity, please select the Vuforia camera and press the "Open Vuforia Engine Configuration" button in the Inspector and paste your License Key inside of the License key field. C...
Workshop exercise: Clone, commit, pull, push
...even though you can see all the code right now, you won't be able to push any of your changes until you've been added. Setting up the git user Before we can start using git, we have to tell it our name and email address. Weirdly, this isn't actually rel...
Accessibility Statement
...em altogether Some interactive code examples are not fully accessible to screen reader software or using just a keyboard Feedback and contact information If you need information on this website in an alternative, more accessible format please contact cr...
How to connect a push button or switch
...ons to your Arduino sketch. The code here adds two major changes, first it tracks the current and previous button state through each loop meaning it can see if the button has changed from LOW to HIGH, and then adds a delay of 75ms to allow the button to se...