node-tjbotlib icon indicating copy to clipboard operation
node-tjbotlib copied to clipboard

Redesign "capabilities"

Open jweisz opened this issue 2 years ago • 2 comments

We might want to re-work the whole "capabilities" part of tjbotlib to automatically detect which hardware is connected, rather than having it be user specified. That said, we might not actually be able to do this in all cases (e.g. is there a way to tell if an LED or servo are connected to the GPIO pins? How do we detect a microphone? Speaker?)

jweisz avatar Jan 13 '23 15:01 jweisz

"Slowly but surely working on it". Trying to figure out how to detect what hardware is plugged in.

jweisz avatar Apr 07 '23 14:04 jweisz

"Oh man." Detecting GPIO pins is essentially impossible without crashing the RPi. So we will just try to detect a bluetooth speaker and microphone (but we cannot detect analog speaker).

jweisz avatar May 05 '23 14:05 jweisz