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

OLED_EXP_CHAR_COLUMN not OLED_EXP_CHAR_COLUMNS #5

Open
tapnair opened this issue Jan 21, 2017 · 1 comment
Open

OLED_EXP_CHAR_COLUMN not OLED_EXP_CHAR_COLUMNS #5

tapnair opened this issue Jan 21, 2017 · 1 comment

Comments

@tapnair
Copy link

tapnair commented Jan 21, 2017

I am not getting new line character working python module?

The following still displays text on single line of OLED display expansion (with \n characters removed)

Was looking at source and only thing i can figure is that you are not getting right value for the total number of characters in the row when you go to print spaces?

Actually while writing this i found the problem in oled-exp.h
OLED_EXP_CHAR_COLUMNS
OLED_EXP_CHAR_COLUMN

I'll submit issue on github

from OmegaExpansion import oledExp
                              
msg = "test\nFrom\n\n\nPython"
                              
status  = oledExp.driverInit()                        
                  
oledExp.clear()   
                  
oledExp.write(msg)
@G4te-Keep3r
Copy link

Same issue. Is the best solution to recompile the lib or will that tend to cause other issues (those random related things that you don't expect)?

If recompile lib, what is the best way to go about that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants