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

Arduino Pro Micro 32U4 and oled.clear(); #109

Open
GeoX234 opened this issue Apr 24, 2023 · 1 comment
Open

Arduino Pro Micro 32U4 and oled.clear(); #109

GeoX234 opened this issue Apr 24, 2023 · 1 comment

Comments

@GeoX234
Copy link

GeoX234 commented Apr 24, 2023

Hi,
I run a little serial modbus on an Arduino, which is connected as slave to a desktop PC. The Arduino is fitted with a small Oled display and a rotary encoder with push button. The rotary encoder is used to scroll through a menu and to make settings with the push button. Turning the encoder or pushing down his button will call oled.clear(), move menu items and print new menu item on the display. Modbus communication works perfect on an Arduino Nano with Atmel 328p.

BUT on an Arduino Pro Micro with Atmel 32U4 I run into problems. On an Atmel 32U4, after I called oled.clear(), some unwanted random output happens on the serial connection which interferes with the modbus communication. When I remove the call oled.clear(), modbus output of the slave works without "noise" but the display is od course messy....

Any idea or explanation why the call oled.clear() triggers some "noise" on the serial output of an Atmel 32U4 ?

Thank's

@greiman
Copy link
Owner

greiman commented Apr 24, 2023

I have no idea what is happening.

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