Where i i can find command or samples for Display - HT16K33 ?
at the Info site:
https://espeasy.readthedocs.io/en/lates ... /P057.html
is nothing .
i found only a topic from a user with this " example: MNUM,CLEAR,3,3,0,9,5 will display 33:95) " ?????
Display - HT16K33 commands
Moderators: grovkillen, Stuntteam, TD-er
Re: Display - HT16K33 commands
Ah, documentation on that plugin is a bit sparse. I'll see if I can improve that a bit, soon.
The source code is of course the best documentation, but not for all users very readable
A short extract, straight from the source code file:
// List of commands:
// (1) M,<param>,<param>,<param>, ... with decimal values
// (2) MX,<param>,<param>,<param>, ... with hexadecimal values
// (3) MNUM,<param>,<param>,<param>, ... with decimal values for 7-segment displays
// (4) MPRINT,<text> with decimal values for 7-segment displays
// (5) MBR,<0-15> set display brightness, between 0 and 15
// List of M* params:
// (a) <value>
// Writes a decimal / hexadecimal (0...0xFFFF) values to actual segment starting with 0
// (b) <seg>=<value>
// Writes a decimal / hexadecimal (0...0xFFFF) values to given segment (0...7)
// (c) "CLEAR"
// Set all LEDs to 0.
// (d) "TEST"
// Set test pattern to LED buffer.
// (e) "LOG"
// Print LED buffer to log output.
// Examples:
// MX,AA,55,AA,55,AA,55,AA,55 Set chess pattern to LED buffer
// MNUM,CLEAR,1,0 Clear the LED buffer and then set 0x06 to 1st segment and 0x3F to 2nd segment
The source code is of course the best documentation, but not for all users very readable

A short extract, straight from the source code file:
// List of commands:
// (1) M,<param>,<param>,<param>, ... with decimal values
// (2) MX,<param>,<param>,<param>, ... with hexadecimal values
// (3) MNUM,<param>,<param>,<param>, ... with decimal values for 7-segment displays
// (4) MPRINT,<text> with decimal values for 7-segment displays
// (5) MBR,<0-15> set display brightness, between 0 and 15
// List of M* params:
// (a) <value>
// Writes a decimal / hexadecimal (0...0xFFFF) values to actual segment starting with 0
// (b) <seg>=<value>
// Writes a decimal / hexadecimal (0...0xFFFF) values to given segment (0...7)
// (c) "CLEAR"
// Set all LEDs to 0.
// (d) "TEST"
// Set test pattern to LED buffer.
// (e) "LOG"
// Print LED buffer to log output.
// Examples:
// MX,AA,55,AA,55,AA,55,AA,55 Set chess pattern to LED buffer
// MNUM,CLEAR,1,0 Clear the LED buffer and then set 0x06 to 1st segment and 0x3F to 2nd segment
/Ton (PayPal.me)
Re: Display - HT16K33 commands
ok, thanks, I will try it.
And how i can select/adress the different devices (Dot 8x8 Matrix digits) with different I2C Adress ?
http://192.168.5.203/control?cmd=MX,AA, ... A,55,AA,55
And how i can select/adress the different devices (Dot 8x8 Matrix digits) with different I2C Adress ?
http://192.168.5.203/control?cmd=MX,AA, ... A,55,AA,55
Re: Display - HT16K33 commands
You can prefix the command with a taskname and a period/dot, like this:user1234 wrote: ↑23 Dec 2024, 18:50 And how i can select/adress the different devices (Dot 8x8 Matrix digits) with different I2C Adress ?
http://192.168.5.203/control?cmd=MX,AA, ... A,55,AA,55
Code: Select all
http://192.168.5.203/control?cmd=display1.MX,AA,55,AA,55,AA,55,AA,55
/Ton (PayPal.me)
Who is online
Users browsing this forum: No registered users and 20 guests