HT16K33 | Basic Python wrapper to the HT16K33 I2C
kandi X-RAY | HT16K33 Summary
kandi X-RAY | HT16K33 Summary
A simple python library to control products using the HT16K33 IC.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Set up the device
- Set brightness
- Turn on or off
- Clear all byte data
- Write a digit at the given position
- Set a digit in the bus
- Converts a character to an integer
- Set row to given row
- Get row address by index
- Turn off the LED
- Turn off a green LED
- Set a digit value
- Return the digit address at the given position
- Change the LED
- Alter a single LED
- Set the value of a column
- Return the address of the given column
- Turn off the LED at the specified position
- Turn on the LED
- Toggle a single LED
- Toggle red LED
- Reads the byte value at the specified position
- Turn on green LED
- Turn off the motor
- Turn on a single LED
- Turn off LED
HT16K33 Key Features
HT16K33 Examples and Code Snippets
Community Discussions
Trending Discussions on HT16K33
QUESTION
I want to show a character on a fourteen segment control display (4 side by side) on my Pimoroni RainbowHAT for my Raspberry running Microsoft Windows 10 IoT Core.
For some messages like "HELL" (from "Hello) does my source work as expected but for others like "DEMO" it shows garbage. This is weird for me, because both messages include the letter "E". But it does only work once.
My last idea is, that bitmask[1] & 0xFF;
is not the same as bit-shifting (bitmask[0] >> 8) && 0xFF
if we would asume a not split up bitmask.
Example messages (Input -> Shown on display)
- "HELL" -> HELL
- "DEMO" -> " ," (3 spaces, comma)
Source example (Full source: GitHub)
Segment buffer that will be written to the device:
...ANSWER
Answered 2019-Jun-12 at 01:02From the code in your post, it seems incorrect for setting the segmentBuffer. Please try with following code.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install HT16K33
You can use HT16K33 like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page