Programmable and dimmable driver for Stucchi track adapters