Advanced Search
Search Results
108 total results found
Variables
... result of 2. However, you may want to use a certain value more t ... action, we'll keep things this way for now in order to better und ...he second path is the file that was run with this version of Pytho ...second line in our code. Python was able to get to this point in t...
How to use 7-Segment LED Backpack
...e 13 pins (5 'characters' and 8 total segments each) This backpack so ... while (!Serial); // Leonardo: wait for Serial Monitor Serial.p ...done\n"); } delay(5000); // Wait 5 seconds for next scan } Getting started This is modified from Adafruit L...
How to use Raspberry Pi Camera Module 3
...ra Module 3? This tutorial will walk you through setting up and us ...later Requirements Hardware Raspberry Pi (Pi 3 or later) ...upply & HDMI or SSH access Software Raspberry Pi OS Bookworm (64 ...the Ethernet port, metal pins toward HDMI. Insert the ribbon cable...
Week 1 - Coordinates, shapes and colour
...or expertise, you will almost always encounter bugs. Writing code ... code is meant to be doing. The way we do this is by adding commen ...s. Comments can be added in two ways: Single line commentUsing t ...he double forward slash (//) at the beginning o...
Making a website for your HTML, JS, CSS or p5.js files
...something goes wrong, you can always go back to when it did work! ...e. Very important!!!1!!1! The way that GitHub pages work is that ...). For instance, if my username was 'jonny' my GitHub pages URL wi ...uld see the below page. What we want to do is click the link that ...
How to use a relay module
... It is handy when the thing you want to control requires higher po ... In this tutorial, I will use a water pump and a 1-channel 5V rela ... 1 channel relay to control one water pump. Labels on a Relay Modu ...- pin 3 NO - red(+) wire of the water pump COM - red(+) wire of ba...
Using the MAX9814 mic amplifier
...ily detect sound. There are a total of five connections on this mic ...olume is above this threshold a warning comes up in the Serial Monitor Serial.println("Loud noise"); delay(500); } else { Serial.println(MicVolume); } }...
How to use Grove Serial Bluetooth v3.0
...obtaining a copy * of this software and associated documentation ...files (the "Software"), to deal * in the Software without restriction, includin ...nd/or sell * copies of the Software, and to permit persons to who ...m the Software is * furnished to do so, sub...
Hello World
...t the "type" of Python file you want PyCharm to create. For this e ...print(), we provide the text we want Python to print. This text mu ...ere you can type what it is you want to print. In this example, I waited until I had typed out "prin ...own PyCharm's list of potential ways for completing your code. No...
Using an PN532 RFID reader
...al.println(); Serial.println("Waiting for a card......"); } void ...al.println(); Serial.println("Waiting for a card......"); } v ...nt32_t versiondata = nfc.getFirmwareVersion(); if (!versiondata) ....SAMConfig(); Serial.println("Waiting for an NFC card..."); } v...
Arrays
... p5 Editor Now what if we wanted to have a lot of circles, l ...vidually. Going further, say we wanted to manipulate all of our ci ...rcles in a similar way (for example, move them all le ...ing. Arrays in p5 The easiest way to create an array in p5 is a ...
Touch sensor - Using an CAP1188
...elect one of 5 addresses, for a total of 40 capacitive touch pads on one I2C 2-wire bus. Using this chip is a lot easier than doing the capacitive sensing with analog inputs: it handles all the filtering for you and can be configured for more/less sensitiv...
3D Geometry and Parametric Design
...pace and making this content viewable in low-fi VR headsets. I ha ...ve been making a piece of software using openFrameworks to explo ...elling and explain how this software can be used as a tool to expl ...elow is a screenshot of the software: Code available here. Aims ...
Bonus round: putting an existing Unity project into git
...liar with the command line, the way to use it is to type a command ...weird crap in it which we don't want to keep track of. We need a g ...ere's the .gitignore content we want to use - this is the list Git ...f you're working on Mac, you'll want to add this to it too: # ===...
How to control Arduino without using delay()
...0; // will store last time LED was updated // constants won't ch ... // the interval at which you want to blink the LED. unsigned ...tors, like giving each person a watch and ask them to action based ... on their own watches. Wiring There are three wi...
How to get started with Face Tracking in Spark AR
Face Tracking in Spark AR Watch this video which explains the basic features of the Face Tracker in Spark AR. There are multiple different starter templates in Spark AR that make use of face tracking. To make your development easier, choose a template t...
How to get started with World Effects in Spark AR
World Effects in Spark AR Watch this video which explains the basics of World Effects in Spark AR. There are multiple different starter templates in Spark AR that make use of world effects. To make your development easier, choose a template that is most...
Using a Sparkfun MP3 Trigger
...fun electronics that provides a way to play MP3 files from a Micro ...s from the SD card via Serial. Warning If you are using Mac OS X ... Serial.write( i ); // Wait a bit delay( 1000 ); } } Sample MP3 files To help you get up and running...