TRIAC two channel control PWM over raspberry pi Golang
git clone https://github.com/vBlackOut/RobotDYN_Rasberrypi_Triac
go get github.com/warthog618/gpiod
go run main.go
go build
./binary
the script accept to 2 float number in percent
pwm1 10.8
pwm1 10.99
pwm1 80.75
or
pwm2 80
pwm2 65.6
pwm2 10.87
the script run on zero crossing pin 6
pin 16 [pwm1] and 20 [pwm2]
Enjoy