Bonjour, Hello
J'ai uploadé le programme ASCII table dans mon mega 2560
I uploaded the ASCII table tutorial program in my mega 2560
1 - Lorsque je le fais s'exécuter sur le Serial (idem programme de base), j'obtiens la bonne réponse dans Hercules
1 - When I execute on the serial port (same as origin program), I get the right result when I look the answer with Hercules
ASCII Table ~ Character Map#CR#LF!, dec: 33, hex: 21, oct: 41, bin: 100001#CR#LF", dec: 34, hex: 22, oct: 42, bin: 100010#CR#LF#, dec: 35, hex: 23, oct: 43, bin: 100011#CR#LF$, dec: 36, hex: 24, oct: 44, bin: 100100#CR#LF%, dec: 37, hex: 25, oct: 45, bin: 100101#CR#LF&, dec: 38, hex: 26, oct: 46, bin: 100110#CR#LF', dec: 39, hex: 27, oct: 47, bin: 100111#CR#LF(, dec: 40, hex: 28, oct: 50, bin: 101000#CR#LF.....etc
2 - dans le programme, je change Serial en Serial1. J'obtiens cette réponse
2 - In the same program, I change Serial in Serial1. I get a new answer !!
_V^[[»õ;'5¿#ETX¿y/=#ESC=9#ETB5#ESC¿e=#USåë½§¿759‹¿™™§¿/5#SI‹¿›§¿!9#ETB‹¿—§¿;-#‹¿ŸŸŸŸåë»§¿759‹¿™—§¿/5#SI‹¿››§¿!9#ETB‹¿—›§¿;-#‹¿ŸŸŸŸåë¹§¿759‹¿™•§¿/5#SI‹¿›™§¿!9#ETB‹¿—™§¿;-#‹¿ŸŸŸåë·§¿759‹¿™“§¿/5#SI‹¿›—§¿!9#ETB‹¿——§¿;-#‹¿ŸŸŸŸåëµ§¿759‹¿™‘§¿/5#SI‹¿›•§¿!9#ETB‹¿—•§¿;-#‹¿ŸŸŸåë³§¿759‹¿™§¿/5#SI‹¿›“§¿!9#ETB‹¿—“§¿;-#‹¿ŸŸŸåë±§¿759‹¿™§¿/5#SI‹¿›‘§¿!9#ETB‹¿—‘§¿;-#‹¿ŸŸå믧¿759‹¿—Ÿ§¿/5#SI‹¿›§¿!9#ETB‹¿•Ÿ§¿;-#‹¿ŸŸŸŸåë#NUL......etc
C'est comme si la table ascii changeait en fonction du port série utilisé. En tout cas, je n'arrive pas à comprendre la logique du (2).
It is like it is not the same ascii characters that are treansmitted thru the different serial ports. Anyway, impossible for me to find some logic in the (2) answer.
Merci de m'orienter si ca parle à qqun
Thank's for helping me if somebody has an idea
Matthieu