Code

More flag designs on a Raspberry Pi sense hat

In a previous article we created some flags at http://www.pibits.net/code/display-simple-flag-images-on-a-sense-hat.php Anyway we have created some more flags for you to try on a sense hat Japan An attempt at the flag of Japan [codesyntax lang=”python”] from sense_hat import SenseHat sense = SenseHat() r = (255, 0,…

Read more

RAspberry Pi and BMA250 acceleration sensor example

The BMA250E is an advanced, ultra-small, triaxial, low-g acceleration sensor with digital interfaces, aiming for low-power consumer electronics applications. Featuring 10 bit digital resolution, the BMA250E allows low-noise measurement of accelerations in 3 perpendicular axes. A typical module technical Information Parameter Technical data Digital resolution…

Read more

Raspberry Pi and MCP4725 DAC example

MCP4725 is a single channel, 12-bit, voltage output Digital-to-Analog Converter with integrated EEPROM and an I2C Compatible Serial Interface. Features 12-Bit Resolution On-Board Non-Volatile Memory (EEPROM) ±0.2 LSB DNL (typ) External A0 Address Pin Normal or Power-Down Mode Fast Settling Time of 6µs (typ) External…

Read more

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Read More