Closed alranel closed 2 years ago
Memory usage change @ b22b6542e39394df0d8af87a02ad3e049b6ab90c
Board | flash | % | RAM for global variables | % |
---|---|---|---|---|
arduino:samd:mkrwifi1010 | :green_heart: -8 - 0 | -0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
It could be a good idea, but we need to apply this change carefully since it implies updating all the sketches for Explore and Oplà. & some content around it. If we want to go with this change we will need to allocate some time to update everything before merging the changes. Please let me know if we are going to go ahead with this so we can plan it properly :)
Actually this does not require changing the existing content, as accessing CARRIER_CASE
directly is still valid :) We make this available for new content
As of now, the configuration of the library involves setting a global variable called
CARRIER_CASE
. This is not very Arduino-style and created some confusion in users who are asked to set a variable which is not declared within the sketch itself.This pull request adds two methods that are more in line with the Arduino API style:
This change is retrocompatible so any sketch and tutorial using
CARRIER_CASE
is still valid, but for new content we might want to provide the new better looking calls.This fixes #13.