Advanced Search
Search Results
147 total results found
Using the serial monitor and serial logger
...e a seperate USB serial and hardware serial, and you cannot direct ...ly monitor the hardware serial [Serial1] output using ...lotter The serial plotter is a way to visually graph the data bei ...ng received, a common way to transmit multiple values is...
How to use 7-Segment LED Backpack
...rduino. #include <Wire.h> void setup() { Wire.begin(); Serial. ... while (!Serial); // Leonardo: wait for Serial Monitor Serial.p ...done\n"); } delay(5000); // Wait 5 seconds for next scan } G ...ix = Adafruit_7segment(); void setup() { #ifndef __AVR_ATtiny85__ ...
Using a Joy-IT 1.3" 128x64 OLED display
... more flexible screens. If you want to use the display for animat ... Smartphones, premium TVs, smartwatches, VR headsets, foldable dev ... B00000000, B00110000 }; void setup() { Serial.begin(9600); ...image buffer on the display hardware. // Since the buffer is int...
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...
Using a Sparkfun Sound Detector
...fun electronics that provides a way to detect ambient sound levels ...pe #define envelopePin A0 void setup() { Serial.begin( 9600 ); ...ng gate #define gatePin 2 void setup() { Serial.begin( 9600 ); pinMode( gatePin, INPUT ); } void loop() { ...
How to make Animation on NeoMatrix
... +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 ...; int numImage = 0; // When we setup the NeoPixel library, we tell ...
How to send data to p5.js from Arduino
...fine potPin A0 int value; void setup() { Serial.begin(9600); //in ...g data let vals = []; function setup() { createCanvas(400, 300); ...ble: function openPort() { // wait for the serial.open promise to return, // then call the initiateSerial fu...
Introduction to the PyCharm IDE
...akes things less confusing. The setup page also asks if you want to create a main.py welcome s ...ing a blank directory. Once the setup is complete, click "Create." The PyCharm Interface After creating your project, you'll land in the main PyCharm interfac...
How to send data to Processing from Arduino
...fine potPin A0 int value; void setup() { Serial.begin(9600); //in ...a from arduino if needed void setup() { size(800, 800); pri ...arameters //map(theVariableYouWantToMap, min.ValueOfRawData, max ...d max. value is 1023. //and I want to map the background colour ...
Understanding Arduino hardware
...ou can see them as analog output pins. For example, if you want to create a breathing light e ...USB port. When you finalise the setup, you won't need your computer ...with the setup, you can switch the power sour ...part, Understanding Arduino software.
How to use DFPlayer mini to play MP3
...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) ...RobotDFPlayerMini player; void setup() { pinMode(pot, INPUT); ...
Using a Joy-IT TFT LCD Display
...fruit_ST7789(CS, DC, RST); void setup(void) { lcd.init(240, 240, SP ...lude <Adafruit_ST7789.h> // Hardware-specific library for ST7789 # ...T); float p = 3.1415926; void setup(void) { Serial.begin(9600); ...ft.print(p, 6); tft.println(" Want pi?"); tft.println(" "); ...
How to use DFPlayer Pro to play MP3
...ack wire Connect L+ & L- if you want stereo audio File handling ...FRobot_DF1201S.h> #include "SoftwareSerial.h" SoftwareSerial DF1201SSerial(2, 3); / ... DFRobot_DF1201S player; void setup(void){ Serial.begin(115200) ...eonardo, you should not use SoftwareSerial. The Leonardo already h...
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...
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 ...
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 ...re using Arduino Leonardo! void setup() { // Start the serial port ... Serial.write( i ); // Wait a bit delay( 1000 ); } ...
UE Installation and Set-up
...finishes, run the installer and wait for it to complete. Creat ...an Epic Games Account After the setup program installs the Epic Game ...ect which Engine components you want to install. This is where you .... Click the Install button and wait for the installation to compl...
Position-based Tracking using a Webcam
... of TouchDesigner, during scene setup in real life; Ensure your back ... object from it's background we want to look for the white pixels ...wn our input's resolution, this way we will have less data to anal ...SOLUTION to be Eighth. Afterwards add a TopTo CHOP to your thr...