The Real Python Podcast cover image

Building With CircuitPython & Constraints of Python for Microcontrollers

The Real Python Podcast

00:00

Is It an Accelerometer?

The c p x library really, like one of the highest levels of libraries that you'll get in circi python. It's abstracted that andand maybe has slightlya friendlier naming than a direct axising would have been. And then when you, i'll do that all when you say tap oror when you create the c p x object, which happens on import f,. You actually end up creating it implicitly with import canelica singleton because obviously you only have one copy of this board, right? B, and then when what taps is doing is it, it's using the library for the accelerometer under the hood to say like, ha, have i been tapped

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app