rushabhcodes/desk-fidget-counter
A PLA desk fidget counter assembly houses an F1 PCB, 1.28-inch LCD with harness, rotary knob/bearing mechanism, button cap, and screw-secured base/display mount.
- Version
- 6.0.16
- License
- MIT
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone rushabhcodes/desk-fidget-counter # download the package files into ./desk-fidget-counter
tsci add rushabhcodes/desk-fidget-counter # add it to your project as @tsci/rushabhcodes.desk-fidget-counterIn 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.
firmware/board-pins.h
// SPDX-License-Identifier: MIT
// Generated by scripts/generate-board-pins.py; edit reference/rp2040.json.
#pragma once
#define PIN_MODE_BTN 0u
#define PIN_PERIPH_EN 1u
#define PIN_SDA 4u
#define PIN_SCL 5u
#define PIN_LCD_RST 16u
#define PIN_LCD_CS 17u
#define PIN_SPI_SCK 18u
#define PIN_SPI_MOSI 19u
#define PIN_ENC_A 20u
#define PIN_ENC_B 21u
#define PIN_LCD_DC 22u
#define PIN_LCD_BL 23u
#define BOARD_SYSTEM_CLOCK_HZ 48000000u
#define BOARD_I2C_HZ 300000u
#define BOARD_SPI_HZ 12000000u
#define BOARD_ENCODER_MAX_STEP_RATE 400000u