Philux is a high-power, trailing edge dimmer remotely controlled on wired/wireless network or serial port
- Configure
cmake --preset=philux-avr- Build After configuring the project run following command in root directory:
cmake --build build/philux-avrOn success build, machine code is available under cmake-build-debug directory as philuxavr-atmega32.hex. You can upload it to an ATMega32 microcontroller using any programmer. I use avrdude to upload the program onto the microcontroller. I'm using my own simple Ponyser programmer with a RS232/USB cable
avrdude -p m32 -c ponyser -P /dev/ttyUSB0 -i 1000 -u -V -F -D -B.5 -U flash:w:cmake-build-debug/philuxavr-atmega32.hex:iSimulation environment has been set up in Proteus using .hex file available under cmake-build-debug directory
- Linux
sudo setcap cap_net_raw,cap_net_admin=epi `which wine-preloader`- Windows