

Um, pins don't store messages, and lots of things can happen while the Arduino is "busy". Only one pin can store messages while the arduino is busy

#MICRO USB TO SERIAL ADAPTER PORTABLE#
The RTC library is portable enough that it could function with the SAM I2C library and the AVR I2C library. You have been able to those "external modules" because the "peripheral" libraries were re-written for the SAM hardware: somebody re-wrote the HardwareSerial class, the SPI library, etc. Hmm, I use the term "peripherals" to refer to the autonomous blocks within the MCU chip: UART, SPI, I2C, PWM, etc. I have used a lot of different peripherals (RTC, DS18B20, audio board, uSD cards etc.) I claim nothing specific about all libraries, just that you have to approach the term "compatible" with a healthy does of skepticism, and either try it yourself, or see what the Teensy community has reported. Specifically, which libraries are you saying don't work on the 3.1? It would not be functional, even though it compiles.
#MICRO USB TO SERIAL ADAPTER CODE#
That library would not run on the Due, but not because is was using "the hardware".įor example, a library that doesn't use any peripherals may have code that depends on sizeof(int) or pointer alignment requirements. Sometimes, the code has to be changed (ported), not because the AVR and SAM have different peripherals ("hardware"), but because the C/C++ environment is slightly different. A re-write can act differently in subtle ways. It's basically a re-write, but the SAM interface was defined by the existing AVR library. I was pointing out that the library could have the same name and methods, but the implementation has to change on the different platforms. The hardware is quite different, so if a library is using the hardware it will not be "functional". There are C/C++ language issues that can prevent a library from working. Most libraries that do not use the hardware will probably work on the Due. SdFat has a configuration item to choose whether the library accesses the hardware directly (not portable) or uses the SPI library (more portable, but still required work). Many of the libraries that do use AVR hardware are also available on the Due (SPI, SoftwareSerial, etc.) because they were re-written for the Due hardware. If I had a nickel… The hardware is quite different, so if a library is using the hardware it will not be “functional”. I had to purchase a clone.Īll relevant libraries are fully functional. LOL, at one time, the product page said it was retired. The DUE board is not discontinued, you can buy it from or 3rd party manufacturers. I think I need some sort of mnemonic, perhaps visual… Oops, I have confused the Mini and the Micro on more than one occasion.
