Advanced Search
Search Results
162 total results found
Variables
....py" file and running it: print(1 + 1) As expected, Python tells us ...that 1 + 1 gives a result of 2. However, ...you may want to use a certain value more t ... accessed again later. my_sum = 1 + 1 We have now created a box with ...some solutions. Where we assign 1234 to a variable called print, ...
Raspberry Pi Image: Retropie for Reviving Vintage Games
...ie image and add additional software later. It's up to you. We are ...ed tutorial for imaging the Pi. 1. Using Raspberry Pi Imager Ra ...ccordingly, one by one. If you want to skip any button configurat ...SB stick is the most straightforward method. You can find other wa...
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...
How to use Raspberry Pi Camera Module 3
...ra Module 3? This tutorial will walk you through setting up and us ... Resolution 12MP (4608 × 2592) ...later Requirements Hardware Raspberry Pi (Pi 3 or later) ...-pin), Pi5 will need a 22pin to 15pin ribbon cable Power supply ...
Arrays
...in an ellipse function var x = 100; var y = 100; function setup() { cre ... p5 Editor Now what if we wanted to have a lot of circles, l ...iables for every ellipse: var x1 = 20; var y1 = 100; var x2 = 213; var y2 = 209; var x3 = 100;...
Web App Template for Beginners
...r app to users, ie. clients. If 10 people access your website, th ...ere are 10 frontends in action but only 1 backend. Backend is often built ...hon. Here we use Node.js. Setup 1) Get a code editor if you don’t ...and Express 4) Install Node. 5) Watch videos 12.1. and 12.2. of th...
Making a website for your HTML, JS, CSS or p5.js files
...m anywhere. Bit of background (Feel free to skip) GitHub is a web ...something goes wrong, you can always go back to when it did work! ... Step 1: Signing up for GitHub Go to h ...hrough these. Very important!!!1!!1! The way that GitHub pages ...
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 relay module as an e ... has different models providing 1/2/4/6/8 channel(s). An 8-channe ...utorial, I will be only using a 1 channel relay to control one wa...
How to control Arduino without using delay()
...nds) specified as a parameter. (1000 milliseconds = 1 second.) delay() is very common ...e same result of blinking every 1 second. // constants won't chan ...0; // will store last time LED was updated // constants won't ch ...ange: const long interval = 1000; // interval at which to bl...
Interactive Projections
...t. This can be done in multiple ways, this tutorial will briefly i ...e here: https://www.youtube.com/watch?v=1Uw21Uw2PWTR_XM&t=529s. Begin by con ...he Threshold value; Ideally you want to get completely transparent ... edges = cv2.Canny(gray_8bit, 1, 5) contours, hierarchy = ...
How to get started with Textures and Materials 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...
How to control Arduino without using delay()
...e the FireTimer with a delay of 1000 milliseconds ledTimer.begi ...n(1000); } void loop() { // Chec ...the code to keep the LED on for 1 second and off for 2 seconds us ...eTimer with an initial delay of 1 second (LED ON duration) ledT ...imer.begin(1000); } void loop() { // Chec...
How to use a EMG Muscle Sensor
...connection begin Serial.begin(115200); pinMode(13, OUTPUT); } void loop() { ... if(timer < 0) { timer += 1000000 / SAMPLE_RATE; i ...G_THRESHOLD) { digitalWrite(13, HIGH); } else { digit ...alWrite(13, LOW); } Serial.print...
How to make Animation on NeoMatrix
... +5V to 5V GND to GND Library WarningDownload version 1.9.0 or below of Adafruit Neopix ...started The example shows the upward arrow first and then the anim ... colour-changing pattern. The upward arrow is for identifying the ... a USB power supply (500mA) for 12x12 pixels. #define BRIGHTNESS ...
What are GPIO pins on Raspberry Pi?
...le, the board pin 8 and BCM pin 14 are referring the same pin. Nu ...nguages and libraries you use. 1. BCM numbering BCM numbering ma ...d on the Raspberry Pi, like GPIO14. It is used in most programmin ...from the top left corner as Pin 1, left to right then next line, ...
Using MatrixPortal M4 for animation
... are using CircuitPython 9.0.5 (11/10/2024), all libraries and code ... bitmap spitesheet. If you just want to test the code, you can dow ...bmp and skip this part for now. 1. Piskel Piskel is a free online ...to 64 x 32 px Draw whatever you want Add new frame and draw until...
How to use a Servo Motor
...sition, and it uses an internal feedback system to adjust the motor ...gular (Standard) Servo 0°–180° (sometimes 270°) Angul ...we’ll be using the Seeed Studio 16-channel PWM driver for more st ...es to the GND Library Grove-16-Channel_PWM_Driver-PCA9685 lib...
How to set the sound output in Raspberry Pi
...low will show you two different ways to set the output device. Met ...hod 1: Use Raspberry Pi Configuration ... dropdown, choose: HDMI or HDMI 1 (depending on your Pi model) Cl ...e end indicates HDMI. 0 = Auto 1 = Analog (3.5mm jack) 2 = HDMI ...sudo raspi-config Navigate to: 1. System Options → S2 Audio Cho...