geekhack

geekhack Community => Keyboards => Topic started by: OhManIAmWorried on Thu, 25 October 2018, 22:51:36

Title: Handwired Planck Piezo speaker?
Post by: OhManIAmWorried on Thu, 25 October 2018, 22:51:36
Hi guys.
I'm in the process of building my first planck, handwired, with pro-micro.
As I'm about to modify qmk files, I wonder if two remaining pins on pro-micro can be used for piezo speaker. If so, do I need to include resistors in the circuit? If there are posts of people doing such stuff, please, share some links.
Otherwise, I'd like to know for sure, which lines should be commented, and which flags and macros should be modified for planck firmware to forget about this function.
Any help is appreciated, thanks! :)
Title: Re: Handwired Planck Piezo speaker?
Post by: OhManIAmWorried on Fri, 26 October 2018, 00:48:12
Upd: changed pinout in planck/config.h, but after compiling and flashing, kb works as if pinout wasn't changed, so I get keys in wrong places, most of which doesn't work. :confused:
Title: Re: Handwired Planck Piezo speaker?
Post by: OhManIAmWorried on Fri, 26 October 2018, 01:45:53
Upd: after some tweaking I have my board recognized as HID keyboard with no com port to play with. What a fun ride