Advanced Search
Search Results
102 total results found
How to use Raspberry Pi Camera Module 3
...-t 10000 -o test.h264 Testing Code Python Code Using picamera2 This code will pop a new window of live preview with autofocus. from picamera2 import Picamera2 from libcamera import controls import time picam2 = Picamera2() picam2.start(show_preview=True...
How to Program an ATtiny85 with an Arduino Uno
...o can act as a device to upload code to ATtiny85. File - Examples - ...ine USE_OLD_STYLE_WIRING to the code before setup() UPLOAD! Wiring T ...) Only when you are uploading code to ATtiny85 Put a 10uF capacito ...duino Preference Copy the below code and paste it into Additional Bo...
What is a Raspberry Pi Pico?
... for writing and running Python code. Thonny includes features such ...here. Get Started This example code will blink the built-in LED eve ...d the time module. Put in your code from time import sleep from ma ...e blinking! After testing the code and you are happy about it, sav...
How to make two Raspberry Pi Pico communicate via Wifi
Wifi Communication Before heading to communication between two pico, you can try controlling pico via wifi with your computer first, see tutorial here. Server Code Client Code
How to control Arduino without using delay()
...y the same Arduino and the same code. This often leads to the slow d ...l pin (D3), via 220Ω resistor Code In this code we are adding one more LED to the circuit. The built-in LED will stay the same, on and off every 1 second. The second LED will be one ...
How to use DFPlayer mini to play MP3
...ial library uses delay() in the code, it can be problematic when the ... code is used with other components o ...install a library here. Example code The wiring will be the same as above. For further details of this library API, please visit their github p...
Position-based Tracking using a Webcam
...creating interactive projection mapping projects. In TouchDesigner ...ort", delete the current Python code and paste the following in. The ...art to execute the above Python code at the start of every frame. Your object's x and y co-ordinates are now upda...
Introduction to the PyCharm IDE
...Editor: This is where you write code. The tab bar at the top lets yo ...tion, especially when debugging code to find issues. Run & Debug: ... button (play symbol) runs your code and displays the output in the ...ext "Process finished with exit code 0" indicates that the program r...
How to fix "Internal data stream error" in Processing 4
...vfvideosrc device-index=0" Full Code import processing.video.*; Capture cam; void setup() { size(640, 480); String[] cameras = Capture.list(); if (cameras.length == 0) { println("There are no cameras available for capture."); exit(); ...
What is the Creative Technology Lab?
... Physical Computing, Projection Mapping, Games, and Virtual Reality ...shooting projects and debugging code. Students working in this area often work across both the Creative Technology Lab and the 3D Workshop on a single project accessing staff expertise...
Student works
...) Muse meditation brain sensor, code in Processing interpreting data ... motors, LDR sensors Projection Mapping Projection-mapped suitcases by Bufeng Zhang, M ...Design Communication (2019) MadMapper, Arduino, microswitch VR and AR The Phone by Ryan Yuen,...
How to Configure a Raspberry Pi for the first time
...ss to the internet. 5. Brower Google Chrome and Firefox are both preinstalled, you just need to choose one as your default browser. You can still access the other run from the start menu. 6. Recommended Software Raspberry Pi comes with many essential ap...
Arrays
...e variables to name data in our code, as so: var myVariable = 200 ...lots of lines of really similar code. Wouldn't it be good if we coul ... whenever we use myArray in our code we are actually referring to th ...t to access. Copy the following code into a new p5 sketch, or click ...
Programming and the Patch Editor in Spark AR
...tion like pre-written blocks of code that make it easier for the user to start programming without needing to know underlying programming syntax. The following videos contain information and tutorials about the patch editor in Spark AR. ...
How to hack a brainwave EEG toy - Force Trainer II
... 0; i < length; i++) { byte code = payload[i]; if (code == 0x02) { // Signal Quality ...alQuality); } else if (code == 0x04) { // Attention ...attention); } else if (code == 0x05) { // Meditation int meditation ...
Setting up Kinect in Touchdesigner
... are now presented with a depth map, from the heading select Record and hit the record button. Once you've stopped recording move to the Play section of the interface and change the count to loop your video. Your recording is now ready! Launch Tou...
Week 4 - Other inputs and APIs
...eries of workshops testing your code has involved opening the index. ...e reference. APIs Supporting Code The code to support this section is located in the following directory and is available to view on Github: /19_api_playground/ Here are a lis...
Making a website for your HTML, JS, CSS or p5.js files
...ositories. Repositories contain code, very much just like a folder o ...ository Step 3: Uploading your code Now we need to upload our file ...t, after you have uploaded your code, you should be able to see your website running at .github.io (replacing w...
An Introduction to 2D in Unity 5
...t Now we are going to add some code to the Main GameObject. In th ...cript has been added Adding code to C# script using MonoDevelop ...op and we can start adding some code: The function Start() will run once when the GameObject is created, and ...
"Hello, World!" in Node.js
... up to speed on this topic: Code Academy short course - Code Academy provide a short course ... text editor Add the following code to the top of the file and save: console.log("Hello, world of NodeJS!"); (3) Execute our hello.js script using Nod...