Timeline for Sending Integer > 1 Byte from Android to Arduino over Serial
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 30, 2019 at 10:53 | vote | accept | Corazon | ||
| Aug 30, 2019 at 10:50 | answer | added | Majenko | timeline score: 0 | |
| Aug 30, 2019 at 10:46 | comment | added | Corazon | Hm. I mean the format is recognized well on Serial.read() | |
| Aug 30, 2019 at 10:43 | comment | added | Majenko | You can't just throw data randomly at a serial connection. You need to have some kind of format so the receiver knows what byte is what. | |
| Aug 30, 2019 at 10:42 | comment | added | Corazon | Ok. I see you´re right! Can you help me parse that int angle into an byte b [ ] so I can use the public void write(byte b[]) throws IOException { write(b, 0, b.length); } | |
| Aug 30, 2019 at 10:40 | review | First posts | |||
| Aug 30, 2019 at 13:17 | |||||
| Aug 30, 2019 at 10:39 | comment | added | Majenko | You are only sending one byte from 0 to 255. Read the manual. developer.android.com/reference/java/io/… | |
| Aug 30, 2019 at 10:36 | history | asked | Corazon | CC BY-SA 4.0 |