Skip to content

Instantly share code, notes, and snippets.

View cbalint13's full-sized avatar

Balint Cristian cbalint13

  • Earth, MilkyWay, Laniakea
View GitHub Profile
@merrymercy
merrymercy / feature.md
Last active December 19, 2024 01:03
Feature description for autotvm

Features

Loop-based Feature

For an IterVar (or an axis), it has three kinds of features

  • axis attribute
  • arithmetic feature
  • touch feature

Axis Attribute

@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 September 21, 2024 04:21
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)