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

136 total results found

Using a Joy-IT 1.3" 128x64 OLED display

Physical Computing Tutorials

... more flexible screens. If you want to use the display for animat ... Smartphones, premium TVs, smartwatches, VR headsets, foldable dev ...00, B00000000, B00110000 }; void setup() { Serial.begin(9600 ...image buffer on the display hardware. // Since the buffer is int...

Using a Joy-IT TFT LCD Display

Physical Computing Tutorials

...= Adafruit_ST7789(CS, DC, RST); void setup(void) { lcd.init(240, 240, SPI_MODE ...ize(6); lcd.print("Joy-IT"); } void loop() { // empty } This exa ...lude <Adafruit_ST7789.h> // Hardware-specific library for ST7789 # ...C, RST); float p = 3.1415926; void setup(void) { Serial.begin(96...

Pi War 2024 Log

Raspberry Pi

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

How to use Waveshare E-Paper Display with Raspberry Pi

Raspberry Pi Tutorials

What is a Waveshare E-Paper Display? A Waveshare E-Paper Display is an el ... tutorial, we will be using the Waveshare model epd7in5V2, a Raspb ...ub git clone https://github.com/waveshare/e-Paper.git Go to the D ...minal or use a Python-based software such as Visual Studio or Thon...

How to Display Animation on Waveshare E-Paper Display

Raspberry Pi Tutorials

How to use Waveshare E-Paper Display? Please ...port logging import random from waveshare_epd import epd7in5_V2 import time from PIL import Image,ImageDraw,ImageFont import traceback logging.basicConfig(level=logging.DEBUG) try: logging.info("epd7in5_V2...

8th Wa...

Finding your way around Spark AR (UI Explainer)

Spark AR First Look at Spark AR

Watch this video by Meta explaining the UI and different panels in Spark AR

Using a Monochrome 1.3" 128x64 OLED display

Physical Computing Tutorials

...0x00, 0x00, 0x00, 0x00 } }; void setup() { Serial.begin(9600); ...'t proceed, loop forever } } void loop() { testdrawbitmap(); ...// Draw a small bitmap image } void testdrawbitmap(void) { display.clearDisplay(); ...mage into bitmap code image2cpp was created by GitHub user javl an...

Using an PN532 RFID reader

Physical Computing Tutorials

...ssage"}; //change to your data void setup() { Serial.begin(115200 ...al.println(); Serial.println("Waiting for a card......"); } void loop() { // For S50 card/tag, ...); uint8_t dataRead[16] = {0}; void setup() { pinMode(13,OUTPUT); ...al.println(); Serial.println("Waiting for a card......"); } v...

Radio Communication: How to use RFM69HCW Radio Data Module

Physical Computing Tutorials

...ter, we increment per xmission void setup() { Serial.begin(115200 ... //while (!Serial) delay(1); // Wait for Serial Console (comment o ...Q); Serial.println(" MHz"); } void loop() { delay(1000); // Wait 1 second between transmits, c ...t, strlen(radiopacket)); rf69.waitPacketSent(); // Now wait f...

Combining codes & circuits

Physical Computing Workshop: Beginner Physical Computing

...ept one code at one time. If we want it to do multiple things at t ... the Library HCSR04. Only one void setup() and void loop(), that means we have to c ..., from 1 loop to another loop. void setup () { Serial.begin(960 ...s the distance value, and if we want to use the data, we will need...

How to use Grove Serial Bluetooth v3.0

Physical Computing Tutorials

...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 control Arduino without using delay()

Physical Computing Tutorials

...0; // will store last time LED was updated // constants won't ch ... which to blink (milliseconds) void setup() { // set the digital ...: pinMode(ledPin, OUTPUT); } void loop() { // check to see if ... // the interval at which you want to blink the LED. unsigned ...

Using L293D IC for motors

Physical Computing Tutorials

...and has custom functions for forward(), backward(), stop(), turnRight() and ... //This will run only one time. void setup(){ //Set pins as ou ...Write(motorPin4, LOW); */ } void loop(){ forward(); delay(5000); backward(); delay(5000); stop()...

How to control Arduino without using delay()

Physical Computing Tutorials

...mer object FireTimer ledTimer; void setup() { // Initialize digit ...onds ledTimer.begin(1000); } void loop() { // Check if the time ...mer object FireTimer ledTimer; void setup() { // Initialize digit ...ion) ledTimer.begin(1000); } void loop() { // Check if the time...

How to make Animation on NeoMatrix with Processing

Physical Computing Tutorials

...8x8 Adafruit NeoMatrix. Wiring WarningIf you have a bigger matrix ... +5V to 5V GND to GND Library WarningDownload version 1.9.0 or b ...ution int i = 0; int blue = 0; void setup() { size(400, 400); // ... Change baud rate if needed } void draw() { //clear if (keyPres...

How to send data to Processing from Arduino

Physical Computing Tutorials

.... #define potPin A0 int value; void setup() { Serial.begin(9600); ... pinMode( potPin, INPUT ); } void loop() { value = analogRead( ...e data from arduino if needed void setup() { size(800, 800); ...yPort.bufferUntil('\n'); } void draw() { //map() is a importa...

How to connect a Push Button with Digital Input Pull-Up resistor

Physical Computing Tutorials

... how to use a button the normal way. Advantage of using a button t ...his way Fewer External Components N ...one pin to 2 Getting started void setup() { pinMode(2, INPUT_PU ...nabled Serial.begin(9600); } void loop() { int buttonState = di...