Skip to content

Instantly share code, notes, and snippets.

@0308612
0308612 / EscapeRoomsFinalBuild.ino
Created October 28, 2025 01:50
Final build for escape rooms task
#include "HX711.h"
#include "SevSeg.h"
HX711 scale;
SevSeg sevseg;
using namespace std;
const int loadCell_DOUT_Pin = A0;
const int loadCell_SCLK_Pin = A1;
@0308612
0308612 / EnemySpawn.cs
Last active October 28, 2025 00:12
final build scripts
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Random = System.Random;
public class EnemySpawn : MonoBehaviour
{
public int NumEnemies = 10;
public GameObject prefab;
int OriginalChildren;
@0308612
0308612 / CharacterInput.cs
Created September 9, 2025 22:49
game prototype scripts
//------------------------------------------------------------------------------
// <auto-generated>
// This code was auto-generated by com.unity.inputsystem:InputActionCodeGenerator
// version 1.4.4
// from Assets/CharacterInput.inputactions
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
@0308612
0308612 / loadcell_calibration.ino
Last active September 4, 2025 23:58
escape rooms prototype
#include "HX711.h"
// HX711 circuit wiring
const int LOADCELL_DOUT_PIN = 2;
const int LOADCELL_SCK_PIN = 3;
HX711 scale;
void setup() {
Serial.begin(57600);