Sending non-ASCII code via Serial Monitor


i need send arduino commands avrdude command set. there various bytes such 0x41, 0x80 , on. not of them represent simple ascii characters can type , send serial monitor.

and don't want change sketch begins accept characters instead of, say, 0x80 , other "non'ascii" bytes. fine use exact avrdude protocol.

so, can send byte 0x80 or 0x00 or 0x01 directly via arduino serial monitor?

thanks!

you might able send octal values using \nnn sequence. require converting hex values octal, though.

using text entry panel send non-text data doesn't seem right thing do, though. if it's test stuff, that's 1 thing. if it's meant used long term, better off writing own application can send hex values more directly.


Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > Sending non-ASCII code via Serial Monitor


arduino

Comments