Pages: 1 2 [3]   Go Down
Author Topic: Help add support for HT1632 in u8glib  (Read 2299 times)
0 Members and 1 Guest are viewing this topic.
Germany
Offline Offline
Edison Member
*
Karma: 133
Posts: 1448
If you believe something is right, you won't see what's wrong (David Straker).
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Great picture. Thanks!
I have updated the u8glib gallery page.

Some additional work will be required to completly integrate HT1632 support into u8glib...


Oliver
Logged

Offline Offline
Jr. Member
**
Karma: 2
Posts: 85
(╯°□°)╯︵ ┻━┻
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you need testing, I'll be glad to help!

By the way, the framerate seems unbelievable. Drawing white and then balck fullscreen boxes makes the screen tear due to the chip's refresh rate.
Logged

Offline Offline
Jr. Member
**
Karma: 2
Posts: 85
(╯°□°)╯︵ ┻━┻
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just a quick question: Doesn't u8glib support multiple displays? I'm pretty sure I have seen an example that multiple displays are used at once as one! I can't find it on the wiki though.
Logged

Germany
Offline Offline
Edison Member
*
Karma: 133
Posts: 1448
If you believe something is right, you won't see what's wrong (David Straker).
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Multiple Displays: Yes, you can have multiple u8g structs/objects. You can also combine these u8g structs/objects to a larger "virtual" area. See the wiki entry for "virtual screen": http://code.google.com/p/u8glib/wiki/virtualscreen

Oliver
Logged

Offline Offline
Jr. Member
**
Karma: 2
Posts: 85
(╯°□°)╯︵ ┻━┻
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you! I'm really excited to get this working smiley-grin When do you plan to release a new version with the driver included? I want to map custom pins but don't know what changes I should make to the driver file.
Logged

Germany
Offline Offline
Edison Member
*
Karma: 133
Posts: 1448
If you believe something is right, you won't see what's wrong (David Straker).
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi

I am working on this.
The device has already been updated:
http://code.google.com/p/u8glib/source/browse/csrc/u8g_dev_ht1632.c

Oliver
Logged

Germany
Offline Offline
Edison Member
*
Karma: 133
Posts: 1448
If you believe something is right, you won't see what's wrong (David Straker).
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi

The HT1632 has now been integrated into U8glib. I have added the new constructor to HelloWorld and GraphicsTest examples (other examples will be updated for the final v1.13 release)

Code:
U8GLIB_HT1632_24X16 u8g(3, 2, 4); // WR = 3, DATA = 2, CS = 4

You should be able to change the Arduino pin numbers to whatever is required.
I have attached a prerelease with the new constructor call. Please let me know if this constructor call works correctly.
The virtual screen feature  (combination of four screens to one huge screen) should also be possible now.

Thanks, Oliver


* u8glib_arduino_v1.13pre7.zip (1017.38 KB - downloaded 20 times.)
Logged

Offline Offline
Jr. Member
**
Karma: 2
Posts: 85
(╯°□°)╯︵ ┻━┻
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Everything works fine! I also setup multiple display (just tested 2 displays for now) and everything seems fine.
Logged

Germany
Offline Offline
Edison Member
*
Karma: 133
Posts: 1448
If you believe something is right, you won't see what's wrong (David Straker).
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Great, I will close this issue for now. Let me know if you find some additional issues.

Oliver
Logged

Pages: 1 2 [3]   Go Up
Jump to: