Skip to content

Instantly share code, notes, and snippets.

int correction = 0;
// Right motor
const int In1 = 10;
const int In2 = 11;
// Left motor
const int In3 = 8;
const int In4 = 9;
@EverestSong
EverestSong / AudioHandler.cs
Created October 31, 2025 02:39
Super Mario Bros Remake: Digital Applications Assignment 3 Final Build
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Threading.Tasks;
public class AudioHandler : MonoBehaviour
{
private AudioSource audiosource1;
private AudioSource audiosource2;
private AudioSource[] audiosources;
@EverestSong
EverestSong / puzzle5.ino
Last active October 29, 2025 22:42
AaDI Final Build
#include <Servo.h>
Servo myservo;
int angle = 0;
#include <LiquidCrystal_I2C.h>
#include <Wire.h>;
LiquidCrystal_I2C lcd1(0x27, 16, 2); // Address, columns, rows
// Hall magnetic sensor
int magneticSensor = A0;
#include <Wire.h>
#define PERPH_ADDR 8
#define PERPH_ADDR2 9
#define ANSWERSIZE 6
void setup()
{
Wire.begin();
Serial.begin(9600);
Serial.println("I2C controller Demonstration");
@EverestSong
EverestSong / Coin.cs
Last active September 4, 2025 22:43
Super Mario Bros Prototype V1
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Coin : MonoBehaviour
{
void Start()
{
}
@EverestSong
EverestSong / prototypeV1.ino
Last active September 3, 2025 23:18
Balancing Act
#include <Servo.h>
Servo myservo;
int angle = 0;
#include <LiquidCrystal_I2C.h>
#include <Wire.h>;
LiquidCrystal_I2C lcd1(0x27, 16, 2);
// LED
const int led = 7;