Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

111 total results found

Arrays

Programming Tips and Tricks

...ode, as so: var myVariable = 200; console.log(myVariable) ... 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...

Raspberry Pi Image: Retropie for Reviving Vintage Games

Raspberry Pi Raspberry Pi Image

...ie image and add additional software later. It's up to you. We are ...ccordingly, one by one. If you want to skip any button configurat ...SB stick is the most straightforward method. You can find other ways of transferring in RetroPie D ...g the USB stick into the Pi and wait for 5-10 minutes. Remove the ...

How to use an Electromagnet

Physical Computing Tutorials

... Set pin as OUTPUT Serial.begin(9600); } void loop() { // Turn the electromagnet ON digitalWrite(electromagnetPin, HIGH); Serial.println("Electromagnet ON"); delay(2000); // Turn the electromagnet ...n("Electromagnet OFF"); delay(2000); }

How to get started with Textures and Materials in Spark AR

Spark AR Materials and Textures in Spark AR

...ures and Materials in Spark AR Watch this video which explains th ...s and materials in other 3D software like Blender, Cinema4D, and U ..., they probably work in similar ways. However, you should always keep in mind that Spark AR is ... a separate software and might have implemented di...

Radio Communication: How to use RFM69HCW Radio Data Module

Physical Computing Tutorials

... Data Rate 1200 – 19200 bps Up to 300 kbps ...oid setup() { Serial.begin(115200); //while (!Serial) delay(1); ... // Wait for Serial Console (comment o ...oid loop() { delay(1000); // Wait 1 second between transmits, c...

Variables

Python for Beginners

... 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 control Raspberry Pi Pico via Wifi

Raspberry Pi Tutorials

...ome a ubiquitous and convenient way for people to access the inter ...p> </body> </html> """ max_wait = 10 while max_waiwait > 0: if wlan.status() < 0 ...s() >= 3: break max_wait -= 1 print('waiting for connection...') ti...

How to control Arduino without using delay()

Physical Computing Tutorials

... } else { ledTimer.begin(2000); // LED is OFF for 2 seconds ...tors, like giving each person a watch and ask them to action based ... on their own watches. Wiring There are three wires to connect on the Arduino side: LED short pin (-) to Ground LE...

How to use Raspberry Pi Camera Module 3

Raspberry Pi Tutorials

...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...

Making a website for your HTML, JS, CSS or p5.js files

Creative Coding Tutorials

...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

Physical Computing Tutorials

... 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...

How to use DFPlayer mini to play MP3

Physical Computing Tutorials

...e sure you are using .mp3, not .wav or any other audio formats. #i ...nclude "SoftwareSerial.h" #include "DFRobotDFP ... // Connects to module's TX SoftwareSerial softwareSerial(PIN_MP3_RX, PIN_MP3_TX) ...al port for DFPlayer Mini softwareSerial.begin(9600); // Star...

Hello World

Python for Beginners

...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 a Force Sensor

Physical Computing Tutorials

... //sensor value range: 0-1023 //200 is light touch //500 is medium .../800 is hard touch int limit = 200; void setup() { Serial.begin(9600); pinMode(13, OUTPUT); } void loop() { sensorValue = analogRead(sensorPin); Serial.print("Force Level: ");...

Using NEMA17 Stepper motor with Big Easy Driver

Physical Computing Tutorials

... move in fixed steps (typically 200 per revolution), making it idea ...e code demonstrates 4 modes: forward, reverse, 1/16th microstep an ...ain loop void loop() { StepForwardDefault(); ReverseStepDe ...lt(); SmallStepMode(); ForwardBackwardStep(); } //Reset Eas...

Powering an Arduino

Physical Computing Tutorials

...rt low-current charging mode/ always-on mode. These will be suitab ...roller, e.g. Sandberg Powerbank 20000 PD65W 2xQC3.0. (We only tested this one, but other brands and models can do the same.) Motors There are many different types of motors available. Be...

3D Geometry and Parametric Design

Creative Coding Concepts

...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

Games Workshop: Version Control for Games Design

...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: # ===...