This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #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; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 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; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | //------------------------------------------------------------------------------ | |
| // <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> | |
| //------------------------------------------------------------------------------ | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #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); |