Giter VIP home page Giter VIP logo

ht1632c-python's Introduction

mchestr@puter ~ % whoami

ht1632c-python's People

Contributors

mchestr avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ht1632c-python's Issues

3x16x24 HT1632C with Pi3

Hey!

I realize this project is a bit old but I'm hoping you can help me out. The new matrix panels and Pis seem to be slightly different and I can't seem to get the panel to work.
The new panel looks like this:
https://www.dropbox.com/s/k51gqh3oxr7hfrt/1.jpg?dl=0

and Pi looks like this:
https://www.dropbox.com/s/sy505yafshkq9q1/2.jpg?dl=0

I've connected (Pi3 Diagram: https://openclipart.org/image/2400px/svg_to_png/280972/gpiopinsv3withpi.png)
vcc to 5v
ground to ground
Data to pin 19
Write to pin 23
sync to 24 (this is the one i couldn't find clock on matrix for)
cs0 to pin 26

I'd really appreciate any direction as this is driving me crazy :)

Only one panel working

Hi there
I have setup with the following panel config:

// ht1632c panel configuration

// Panel's write clock (WR) pin has to be connected to SCLK (14, GPIO 11),
// DATA has to be connected to MOSI (12, GPIO 10).

//#define PANEL_32x16C /* preset for bi-color 32x16 panel */
#define PANEL_24x16  /* preset for monochrome 24x16 panel */

// Chained chip select mode.
// Define if chips are chained and connected using CLK/CS lines.
// Don't define if chip select pins are connected directly to output pins.
#define HT1632C_CS_CHAINED
#define HT1632_CLK  10          /* chip select clock pin */
#define HT1632_CS   11

// panel parameters
#define CHIPS_PER_PANEL 1       /* ht1632c chips per panel */
#define PANEL_WIDTH 24          /* panel width (pixels) */
#define PANEL_HEIGHT 16         /* panel height (pixels) */
#define CHIP_WIDTH 24           /* chip width (pixels) */
#define CHIP_HEIGHT 16           /* chip height (pixels) */
#define COLORS 1                /* number of colors (1 or 2) */

#define SPI_FREQ 2560000            /* SPI frequency (Hz; up to 32000000) */
#define CS_CLK_DELAY 10             /* CS pulse length (µs) in chained CS mode */

All the examples work but only display on one of the 2 panels. The one which has dip switch 2 on. I know both panels work because if I swap the dip switches around the other panel works. How can I get it to display across both panels?

FontInfo ..

HI,
I code with c library
I don't get a good format for write "const FontInfo* font" in fourth arguments of putstr().

How write them ?

Best regards

Add Font ??

Hello,

Thank you for this portage, it allowed me to replace my old arduino mega by a raspberry zero W.

I use your code for a Clock, but I would like to add fonts, I tried to modify font.c font.h, and interface.py, but it does not work ...

I usually program in C, and I start in python.

I hope you have 5 minutes to give me your help.

PS: sorry for my english, but i'm french. 👍

Jumping text

Hi,

first of all, many thanks for your work.

I´m trying to use your code to drive 2 (maybe 4) Sure LED matrixes, but I got wierd behavior of it.

You can see it here:

https://youtu.be/AtuNsckG1Ak

Do you have any similar experiencis like me? Have I something wrong? I wired it by your example. Text is jumping just with black background, I think.

Many thanks for reply.

Miroslav

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.