Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: Supporting new devices. #43

Closed
GoogleCodeExporter opened this issue Mar 23, 2015 · 3 comments
Closed

Documentation: Supporting new devices. #43

GoogleCodeExporter opened this issue Mar 23, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

Reference to a callback function (ucg_com_my_own_hal), independent of *_ilsoft 
function (ucg_dev_ssd1351_18x128x128_ilsoft), is made at 
http://code.google.com/p/ucglib/wiki/hal . However, no corresponding function 
is obvious in the codebase at present. Rather, the documented functionality 
seems implemented by the *_ilsoft function.

A related function, ucg_ext_ssd1351_18(), has been discovered to address only 
msg == UCG_MSG_DRAW_L90SE . This functionality does not seem critical, and may 
have previously been handled by ucg_dev_ssd1351_18x128x128_ilsoft() through 
ucg_dev_ic_ssd1351_18() .

Ultimately, the important function/procedure calls seem to take place in the 
following order, by example:
Ucglib4WireHWSPI --> Ucglib_SSD1351_18x128x128_HWSPI (Ucglib.h declaration) --> 
ucg_dev_ssd1351_18x128x128_ilsoft (ucg_dev_oled_128x128_ilsoft.c definition)

In other words, for device SSD1351, all essential hardware-abstraction-layer 
callback functionality seems handled by ucg_dev_ssd1351_18x128x128_ilsoft.

Original issue reported on code.google.com by spamfree...@gmail.com on 20 Jan 2015 at 11:13

@GoogleCodeExporter
Copy link
Author

Please explain how the hardware-abstraction-layer addresses pixels, either 
individually or as groups.

Code relevant to messages UCG_MSG_DRAW_PIXEL, UCG_MSG_DRAW_L90FX, 
UCG_MSG_DRAW_L90TC, UCG_MSG_DRAW_L90SE (eg. http://pastebin.com/wj0c7ZjE) seem 
to used static sequences to set display position, which would not seem to draw 
a pixel or pattern to an arbitrary location.

Original comment by spamfree...@gmail.com on 21 Jan 2015 at 10:35

@GoogleCodeExporter
Copy link
Author

Addressing seems to take place through a hook in ucg_com_SendCmdSeq. Test 
function added to address SEPS114A/USMP-P19801 pixels based in information 
passed through the ucg object.

http://pastebin.com/TzXAVwHp

Original comment by spamfree...@gmail.com on 22 Jan 2015 at 7:11

@olikraus
Copy link
Owner

Not an issue, closing

@olikraus olikraus added the bug label May 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants