2015-11-29 17:12:45 +00:00
|
|
|
# micropython-samples
|
2015-11-30 07:31:14 +00:00
|
|
|
A place for assorted code ideas for MicroPython.
|
|
|
|
|
|
|
|
mutex: A class providing mutal exclusion enabling interrupt handlers and the main program to
|
|
|
|
access shared data in a manner which ensures data integrity.
|
|
|
|
|
2015-12-26 06:57:32 +00:00
|
|
|
watchdog: How to access the simpler of the Pyboard's watchdog timers.
|
|
|
|
|
2016-03-01 07:49:26 +00:00
|
|
|
reverse: Fast reverse a bytearray.
|
|
|
|
|
|
|
|
font: Convert a C file produced by GLCD Font Creator to Python for storage as persistent byte code.
|
|
|
|
|
2016-01-06 09:39:06 +00:00
|
|
|
ds3231_pb: Driver for the DS3231 low cost precison RTC, including a facility to calibrate the
|
|
|
|
Pyboard's RTC from the DS3231
|
|
|
|
|
2015-12-26 06:57:32 +00:00
|
|
|
Buildcheck: Raise an exception if a firmware build is earlier than a given date.
|
2015-11-30 07:31:14 +00:00
|
|
|
|
|
|
|
Any code placed here is released under the MIT License (MIT).
|
|
|
|
The MIT License (MIT)
|
|
|
|
Copyright (c) 2015 Peter Hinch
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
|
|
in the Software without restriction, including without limitation the rights
|
|
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
|
|
all copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
|
THE SOFTWARE.
|