neu-rah / ArduinoMenu

Arduino generic menu/interactivity system
GNU Lesser General Public License v2.1
934 stars 189 forks source link

Strange behavior with ATSAMD21 Cortex M0 #239

Closed profra closed 5 years ago

profra commented 5 years ago

Trying to use ArduinoMenu with board Adafruit ItsyBitsy M0 Express (framework = arduino in Platformio)... It seems that the input characters are treated incorrectly... somehow delayed or lost. So it means that this library is unusable in this environment... It would be a pity. Can you fix it somehow?

neu-rah commented 5 years ago

it runs ok on Arduino due, Atmel SAM3X8E ARM Cortex-M3 CPU. what example are you using? what IDE, Arduino_IDE?

profra commented 5 years ago

I tried the first example, Blink... IDE is Platformio... here is platformio.ini...

[env:adafruit_itsybitsy_m0]
platform = atmelsam
board = adafruit_itsybitsy_m0
framework = arduino

monitor_speed = 115200
upload_protocol = sam-ba

lib_deps =
  ArduinoMenu library

;WIN
;upload_port = COM32

;NIX
;upload_port = /dev/ttyACM0
neu-rah commented 5 years ago

please try Serial example instead, it's my fault, I gotta make a new blink example, one that does not use delay because that delay can make the system sluggish.

using platformio too :+1:

profra commented 5 years ago

I did a test with "serialio" and it seems that it works. I have to go through it because I do not quite understand every detail. It was a shame that I chose Blink for the first test... but it is logical if someone wants to do a fast test with a new thing :-). It would be good to make a new BLINK otherwise it is a trap for new enthusiasts :-) I agree platformio is excellent :+1:

neu-rah commented 5 years ago

thanks for the interest, shame on me of such a bad example there is also a chat room about this menu, https://gitter.im/ArduinoMenu/Lobby feel free to ask there too.

profra commented 5 years ago

Thanks for info about chat room... I will visit it for sure!