mohan-bee/light-controller

This code defines the hardware sections and symbols for a PCB involving USB power, voltage regulation, ESP12F module, RGB outputs, I2C sensors, and debug points, along with rendering labels for test points.

Version
1.0.30
License
unset
Stars
2

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone mohan-bee/light-controller  # download the package files into ./light-controller
tsci add mohan-bee/light-controller    # add it to your project as @tsci/mohan-bee.light-controller

In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.

android-app/gradlew

#!/usr/bin/env sh
set -eu

project_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
gradle_version=8.9
gradle_home="$project_dir/.gradle-dist/gradle-$gradle_version"

if [ -z "${JAVA_HOME:-}" ] && [ -d "/Applications/Android Studio.app/Contents/jbr/Contents/Home" ]; then
  export JAVA_HOME="/Applications/Android Studio.app/Contents/jbr/Contents/Home"
fi

if [ ! -x "$gradle_home/bin/gradle" ]; then
  mkdir -p "$project_dir/.gradle-dist"
  curl -fsSL "https://services.gradle.org/distributions/gradle-$gradle_version-bin.zip" -o "$project_dir/.gradle-dist/gradle.zip"
  unzip -q "$project_dir/.gradle-dist/gradle.zip" -d "$project_dir/.gradle-dist"
fi

exec "$gradle_home/bin/gradle" "$@"