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

116 total results found

Week 3 - Iteration, arrays, objects and pixel arrays

Creative Coding Workshop: Introduction to Creative Coding

... is only performed once. If we want to perform a conditional oper ... background(128); ellipse(50, 225, 20, 20); ellipse(100, ...225, 20, 20); ellipse(150, 225, 20, 20); ellipse(200, ...225, 20, 20); ellipse(250, 225, 20, 20); ellipse(300, ...

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

Using a Joy-IT TFT LCD Display

Physical Computing Tutorials

...); lcd.setRotation(1); delay(500); // fill Display with a colo ...lude <Adafruit_ST7789.h> // Hardware-specific library for ST7789 # ...ial.println(time, DEC); delay(500); // large block of text ...ght()/2, ST77XX_GREEN); delay(500); // line draw test testl...

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

Week 2 - Animation, conditionals & random numbers

Creative Coding Workshop: Introduction to Creative Coding

... detail. A variable is simply a way of storing information in the ...tions. 5 - The value which we want to store in the computer's me ... and single (=) equals signs Always be sure to use the double equ ...he ball when it bounces off the wall Move up and down instead of ...

Radio Communication: How to use RFM69HCW Radio Data Module

Physical Computing Tutorials

... ~1000 m (line of sight) 500 m – 1500+ m (configurable) ... //while (!Serial) delay(1); // Wait for Serial Console (comment o ...re 434.0MHz, modulation GFSK_Rb250Fd250, +13dbM (for low power module) ...oid loop() { delay(1000); // Wait 1 second between transmits, c...

Week 1 - Coordinates, shapes and colour

Creative Coding Workshop: Introduction to Creative Coding

...or expertise, you will almost always encounter bugs. Writing code ... code is meant to be doing. The way we do this is by adding commen ...s. Comments can be added in two ways: Single line commentUsing t ...he double forward slash (//) at the beginning o...

Using the serial monitor and serial logger

Physical Computing Tutorials

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

Physical Computing Tutorials

... while (!Serial); // Leonardo: wait for Serial Monitor Serial.p ....println("done\n"); } delay(5000); // Wait 5 seconds for next scan } G ... matrix.writeDisplay(); delay(500); // print a hex number m ... matrix.writeDisplay(); delay(500); // print a floating point...

Using L293D IC for motors

Physical Computing Tutorials

...and has custom functions for forward(), backward(), stop(), turnRight() and ...; */ } void loop(){ forward(); delay(5000); backward(); delay(5000); stop(); delay(5000); turnRight(); delay(5000); turnLeft(); delay(50...

How to control Arduino without using delay()

Physical Computing Tutorials

...0; // will store last time LED was updated // constants won't ch ... // the interval at which you want to blink the LED. unsigned ...tors, like giving each person a watch and ask them to action based ... on their own watches. Wiring There are three wi...

Adding content - 3D model from the internet

Spark AR Importing 3D content from different sou...

...? Depending on the model you want you might need to look for it ...uses and this often affects the way in which the model has been pr ...l in your project. You might want to avoid - Models that have ...f the specifications of the hardware involved. You might need to t...

Using an PN532 RFID reader

Physical Computing Tutorials

...al.println(); Serial.println("Waiting for a card......"); } void ... loop() { // For S50 card/tag, block 1-2, 4-6, 8-10, ..." "); } } } delay(500); } Read Data #include <DFRob ...al.println(); Serial.println("Waiting for a card......"); } v...

How to make Animation on NeoMatrix

Physical Computing Tutorials

... +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 ...overload // a USB power supply (500mA) for 12x12 pixels. #define B...

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 No need for an external resistor—the internal pull-up does the job. Makes circuits simpler and saves space, especially on a breadboard. Stable Def...

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 ...s the distance value, and if we want to use the data, we will need ...if statement is the most common way to make a simple interaction b ... } void loop () { // Every 500 miliseconds, do a measurement ...

Unity for Beginners Workshop

Unity

... 1 - Installing Unity Task 2 - Watch and follow the video tutoria ... and prepare all the assets you want to use (Images and sound file ...nstalling Unity Task 2 - Please watch the Unity for Beginners vide ...le 3D objects for the floor and walls, we recommend creating a bas...

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 ... = cols * rows; int pixelSize = 50; // Adjust this based on your w ... noStroke(); fill(0,125,blue, 50); ellipse(mouseX,mouseY,pixel...

Concepts

Creative Coding

A collection of resources which outline ways of thinking in creative computation, computer science, and associated areas.