Programming with MicroPython.pdf
(
17872 KB
)
Pobierz
Programming with
MicroPython
EMBEDDED PROGRAMMING WITH MICROCONTROLLERS & PYTHON
Nicholas H. Tollervey
www.allitebooks.com
www.allitebooks.com
Programming with MicroPython
Embedded Programming with
Microcontrollers and Python
Nicholas H. Tollervey
Beijing
Boston Farnham Sebastopol
Tokyo
www.allitebooks.com
Programming with MicroPython
by Nicholas H. Tollervey
Copyright © 2018 Nicholas H. Tollervey. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are
also available for most titles (http://oreilly.com/safari). For more information, contact our corporate/insti‐
tutional sales department: 800-998-9938 or
corporate@oreilly.com.
Editors:
Susan Conant and Jeff Bleiel
Production Editor:
Colleen Cole
Copyeditor:
Amanda Kersey
Proofreader:
Marta Justak
October 2017:
First Edition
Indexer:
WordCo Indexing Services
Interior Designer:
David Futato
Cover Designer:
Karen Montgomery
Illustrator:
Rebecca Demarest
Revision History for the First Edition
2017-09-25:
First Release
See
http://oreilly.com/catalog/errata.csp?isbn=9781491972731
for release details.
The O’Reilly logo is a registered trademark of O’Reilly Media, Inc.
Programming with MicroPython,
the
cover image, and related trade dress are trademarks of O’Reilly Media, Inc.
While the publisher and the author have used good faith efforts to ensure that the information and
instructions contained in this work are accurate, the publisher and the author disclaim all responsibility
for errors or omissions, including without limitation responsibility for damages resulting from the use of
or reliance on this work. Use of the information and instructions contained in this work is at your own
risk. If any code samples or other technology this work contains or describes is subject to open source
licenses or the intellectual property rights of others, it is your responsibility to ensure that your use
thereof complies with such licenses and/or rights.
978-1-491-97273-1
[LSI]
www.allitebooks.com
Table of Contents
Foreword. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
1.
What Is MicroPython?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Why Micro?
Why Python?
MicroPython Genesis
Dive In!
The Hardware
Developer Setup
2
4
9
12
17
18
25
27
34
36
2.
PyBoard. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.
BBC micro:bit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
The Hardware
Developer Setup
4.
Adafruit Circuit Playground Express. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
The Hardware
Developer Setup
5.
ESP8266 / ESP32. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
The Hardware
Developer Setup
ESP8266
ESP32
41
42
42
45
iii
www.allitebooks.com
Plik z chomika:
jareckim
Inne pliki z tego folderu:
Schildt Herbert - Jezyk C.pdf
(51563 KB)
Microsoft-Office-2019-Inside-Out.pdf
(31569 KB)
Building Chatbots with Python.pdf
(5316 KB)
Python Descriptors, 2nd Edition.pdf
(1381 KB)
Modular Programming with Python.pdf
(2828 KB)
Inne foldery tego chomika:
Pliki dostępne do 01.06.2025
Pliki dostępne do 19.01.2025
Pliki dostępne do 21.01.2024
17 mgnień wiosny
Arduino
Zgłoś jeśli
naruszono regulamin