Skip to content

Instantly share code, notes, and snippets.

View cbalint13's full-sized avatar

Balint Cristian cbalint13

  • Earth, MilkyWay, Laniakea
View GitHub Profile
@joeycastillo
joeycastillo / code.py
Created January 24, 2020 21:10
Capacitive Touch Matrix Test
"""
Test script for CAPT-B1-02 Capacitive Touch Matrix FeatherWing
Board files: https://github.com/joeycastillo/Feather-Projects/tree/master/Experiments/Cap%20Touch%20Experiments
Also uses an Adafruit 16x8 LED matrix:
https://www.adafruit.com/product/2037
"""
import board
import touchio
@smunaut
smunaut / gtkwave-sigrok-filter.py
Last active January 18, 2024 18:37
Transaction Filter Process for GTKWave to run SigRok protocol decoders
#!/usr/bin/env python3
"""
gtkwave-sigrok-filter.py
Use as a 'Transaction Filter Process' in gtkwave to apply signal
Usage:
- Group input signals in gtkwave with F4
- Apply this script as a 'Transaction Filter Process' (Right click / Data Format)
@Bouni
Bouni / hunayang-rs485-commands.md
Last active January 30, 2022 22:56
Huanyang VFD RS485 commands (pseudo Modbus)

Hunayang RS485 commands

Hunayang inverters claim to be Modbus compatible - they are not :-( So here i try to create a nice list of all commands and their meaning.

I assume the use of the RTU mode.

Parameter settings

  • PD001: 2 (Source of run commands: communication port)