![]() You have to make a list of the pins that can be used and some pins might have other numbers. The next best solution is put the Arduino bootloader on it and use it as a Arduino MKR board. I don't know if they use their own bootloader.Ĭan you toss it away and buy a MKR board ? It is like sitting in a sinking boat, you found the first hole that was eaten into the boat by bugs and you will never know when the boat will sink. Not the many years of Arduino support for that board. That means you don't have the latest bug fixes of the Arduino team. To use it, Seeedstudio wants to add their own development environment to the Arduino IDE. That is a SAMD21 processor as used in the Arduino Zero and most MKR boards. On the other hand, your test is not completely correct :o SerialUSB.print("num_request_received = ") Should I report this to someone who works the Seeeduino Xiao libraries? ![]() So my skipping the read when howmany is zero solved the problem but it sounds like this is a bug that people see with certain boards. So I removed the SerialUSB.println calls in the ISR and totaled the howmany =0 and how many requests I'm getting and they are still the same. SerialUSB.println("Request event - data sent") Setup byte variable in the correct size SerialUSB.print("\nReceive event - data receviced = ") SerialUSB.println("receiveEvent howmany = 0") SerialUSB.println("I2C Slave Demonstration") Function to run when data received from master Function to run when data requested from master Initialize I2C communications as Slave Slave receives character from Master and responds Modified from the demo that Dronebotworkshop created. I put in another print statement and see that there is 1 triggering of the OnRecieve function with howmany = 0 for every message the slave function receives.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |