Advanced Search
Search Results
167 total results found
Using a Adafruit 1.8" TFT Display Shield V2
...d setup(void) { Serial.begin(9600); while (!Serial); // ...XX_GREEN); tft.setCursor(0, 60); tft.print("Up"); bu ...int("1"); buttonhistory |= 16; } if(! (buttons & TFTSHIEL ...rint("3"); buttonhistory |= 64; } if (! (buttons & TFTSHI...
Using a Joy-IT TFT LCD Display
...ST77XX_WHITE); lcd.setTextSize(6); lcd.print("Joy-IT"); } void ...lude <Adafruit_ST7789.h> // Hardware-specific library for ST7789 # ...S, DC, RST); float p = 3.1415926; void setup(void) { Serial.b ...egin(9600); Serial.print(F("Hello! ST...
Pi War 2024 Log
Documentation of Pi War 2024 Pi Wars is an international, challeng ...ight, and the other controls forward and backwards. Problems with batteries Thi ... print("Hello.") def right_forward(): motor1a.value(0) m ... motor2b.value(1) def left_forward(): motor2a.value(0) m...
Week 3 - Iteration, arrays, objects and pixel arrays
...array/ 15_image_pixel_array/ 16_webcam_capture/ Local web se ... is only performed once. If we want to perform a conditional oper ...riables can be used in the same way as you use any other variable. ...e array. This is a very common design pattern. for( var i = 0; i <...
Using a Joy-IT 1.3" 128x64 OLED display
... more flexible screens. If you want to use the display for animat ...background: #fff; box-shadow: 0 6px 20px rgba(20,20,30,0.06); border-radius: 8px; overflow: ...: 15px; } th { font-weight: 600; } tr:last-child td { bor ...ture { width: 22%; font-weight: 600; background: #f7fbfb; } @...
How to use Waveshare E-Paper Display with Raspberry Pi
What is a Waveshare E-Paper Display? A Waveshare E-Paper Display is an el ...ectronic ink (e-ink) screen designed for low-power, high-visibilit ... tutorial, we will be using the Waveshare model epd7in5V2, a Raspb ...nstall spidev Download Python Example code from Github git clone...
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 ...ain generative design. Below is a screenshot of the s...
Week 2 - Animation, conditionals & random numbers
...ing_variables/ 05_animation/ 06_conditionals/ 07_random/ 08_r ... detail. A variable is simply a way of storing information in the ...y. Let's dive right in with an example... var rectWidth = 5; ...tions. 5 - The value which we want to store in the computer's me...
How to use MatrixPortal M4
What is MatrixPortal M4 The MatrixPortal M4 is a development board ... created by Adafruit designed to control RGB LED matrices. ... ATSAMD51 microcontroller (Cortex M4) and has built-in Wi-Fi supp ...e some key features of the MatrixPortal M4: Microcontroller: ATS...
How to Display Animation on Waveshare E-Paper Display
How to use Waveshare E-Paper Display? Please ...olution to fit the display - 800x480 pixels Lower the framerate to 10 or 12 fps Export the video to jpg sequences ...__file__))), 'lib') if os.path.exists(libdir): sys.path.appen ...port logging import random from waveshare_epd import epd7in5_V2 im...
Arduino Nano 33 Sense Rev2- IMU sensor
...combination of two modules, the 6-axis BMI270, and the 3-axis BMM15. To use the IMU (inerti ...o_LSM9DS1 which is used in all example code. Replace #include <Ar ...rduino_BMI270_BMM150.h> in all existing codes if you are using Re ...Arduino_BMI270_BMM150.h" float x, y, z; int degreesX = 0; int de...
Using NEMA17 Stepper motor with Big Easy Driver
...ng face size, while the stepper design allows it to move in fixed steps (typically 200 per revo ...TEP D3 → DIR D4 → MS1 D5 → MS2 D6 → MS3 D7 → ENABLE GND → GND Mo ...e code demonstrates 4 modes: forward, reverse, 1/16th microstep and alternate direc...
Arrays
...n our sketch. In the following example I create variables X and Y, and use them to as the x and y coordinates in an ellipse ... function var x = 100; var y = 100; function setup() { crea ...background(220); ellipse(x, y, 20,20); } p5 Editor ...
8th Wa...
Finding your way around Spark AR (UI Explainer)
Watch this video by Meta explaining the UI and different panels in Spark AR
How to use a EMG Muscle Sensor
... below. When the forearm is relaxed on the table, the built-in LE ... be off. When the forearm is flexed, the built-in LED will be on. ... responsive #define BUFFER_SIZE 64 // EMG Threshold value, !!!!n ...l plotter #define EMG_THRESHOLD 60 int circular_buffer[BUFFER_SI...
How to make Animation on NeoMatrix
What is NeoMatrix? NeoMatrix is a grid lined up with mutiple ... Neopixel. Neopixel is addressable LEDs ... +5V to 5V GND to GND Library WarningDownload version 1.9.0 or b ...started The example shows the upward arrow first and then the anim ... colour-changing pattern. The upward arrow is for identifying the ...
Interactive Projections
...t. This can be done in multiple ways, this tutorial will briefly i ...rary and includes a variety of examples which can be implemented ...in Touchdesigner, using the Script TOP. Now it ... just copy and paste an OpenCV example into Touchdesigner, we wil...