arduino:dev-notes-en
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
arduino:dev-notes-en [2018/11/12 08:56] – external edit 127.0.0.1 | arduino:dev-notes-en [2022/11/18 13:34] (current) – removed rjversluis | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Arduino Developer Notes ====== | ||
- | [[: | ||
- | [[: | ||
- | * [[: | ||
- | \\ | ||
- | =====Serial===== | ||
- | ==== SerialEvent==== | ||
- | The __**[[https:// | ||
- | Better is to use a function which is periodically called from the main loop which check if bytes are available.\\ | ||
- | |||
- | <code C> | ||
- | void loop() { | ||
- | delay(10); | ||
- | doSerial(); | ||
- | } | ||
- | |||
- | |||
- | void doSerial() { | ||
- | while (Serial.available()) { | ||
- | // get the new byte: | ||
- | char c = (char)Serial.read(); | ||
- | } | ||
- | } | ||
- | </ | ||
- | \\ | ||
- | ==== PC Connection ==== | ||
- | After opening the serial port with a host program a wait of 2..3 seconds is needed before the UNO is ready to receive data.\\ | ||
- | |||
- | \\ | ||
- | =====macOS Crash===== | ||
- | If the macOS crashes after plugging in the Arduino into the USB, the following update driver could help:\\ | ||
- | * https:// | ||
- | //This is not an official Apple patch.//\\ | ||
- | |||
- | \\ | ||
- | =====MCP2515 Library===== | ||
- | * https:// | ||
- | * {{: |
arduino/dev-notes-en.1542009373.txt.gz · Last modified: 2018/11/12 08:56 by 127.0.0.1