Skip to content

Commit 1ad8455

Browse files
committed
Update reference.md
1 parent d0ccb31 commit 1ad8455

File tree

1 file changed

+1
-109
lines changed

1 file changed

+1
-109
lines changed

content/micropython/01.basics/08.reference/reference.md

Lines changed: 1 addition & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: MicroPython Reference
3-
description: A single document reference of the MicroPython API
3+
description: A single document reference of the MicroPython API.
44
authors: Karl Söderby
55
micropython_type: basics
66
---
@@ -19,114 +19,6 @@ The entries are named exactly the same as in the language reference, with the Mi
1919

2020
***Note that several entries in the original [Language Reference](https://www.arduino.cc/reference/en/) are directly taken from the C++ reference. In the same fashion, many functions located in this reference are taken from the Python reference, and are not MicroPython specific.***
2121

22-
## Index
23-
24-
The entire reference is located inside this document, and the index below helps navigate to the right section.
25-
26-
- [Index](#index)
27-
- [Digital I/O](#digital-io)
28-
- [pinMode()](#pinmode)
29-
- [digitalRead()](#digitalread)
30-
- [digitalWrite()](#digitalwrite)
31-
- [Analog I/O](#analog-io)
32-
- [Configure Input (ADC)](#configure-input-adc)
33-
- [Configure Output (PWM)](#configure-output-pwm)
34-
- [analogRead()](#analogread)
35-
- [analogWrite()](#analogwrite)
36-
- [analogWrite() (STM32)](#analogwrite-stm32)
37-
- [Time](#time)
38-
- [delay()](#delay)
39-
- [millis()](#millis)
40-
- [Bits and Bytes](#bits-and-bytes)
41-
- [bitRead()](#bitread)
42-
- [bitSet()](#bitset)
43-
- [highByte()](#highbyte)
44-
- [lowByte()](#lowbyte)
45-
- [Advanced I/O](#advanced-io)
46-
- [noTone()](#notone)
47-
- [pulseIn()](#pulsein)
48-
- [shiftIn()](#shiftin)
49-
- [shiftOut()](#shiftout)
50-
- [tone()](#tone)
51-
- [Math](#math)
52-
- [abs()](#abs)
53-
- [constrain()](#constrain)
54-
- [map()](#map)
55-
- [max()](#max)
56-
- [min()](#min)
57-
- [pow()](#pow)
58-
- [sq()](#sq)
59-
- [sqrt()](#sqrt)
60-
- [Trigonometry](#trigonometry)
61-
- [cos()](#cos)
62-
- [sin()](#sin)
63-
- [tan()](#tan)
64-
- [Characters](#characters)
65-
- [isAlpha()](#isalpha)
66-
- [isAlphaNumeric()](#isalphanumeric)
67-
- [isAscii()](#isascii)
68-
- [isControl()](#iscontrol)
69-
- [isDigit()](#isdigit)
70-
- [isGraph()](#isgraph)
71-
- [isLowerCase()](#islowercase)
72-
- [isPrintable()](#isprintable)
73-
- [isPunct()](#ispunct)
74-
- [isSpace()](#isspace)
75-
- [isUpperCase()](#isuppercase)
76-
- [Random Numbers](#random-numbers)
77-
- [random()](#random)
78-
- [randomSeed()](#randomseed)
79-
- [External Interrupts](#external-interrupts)
80-
- [attachInterrupt()](#attachinterrupt)
81-
- [detachInterrupt()](#detachinterrupt)
82-
- [Serial (USB)](#serial-usb)
83-
- [Serial.print()](#serialprint)
84-
- [Serial1 (UART)](#serial1-uart)
85-
- [Serial1.begin()](#serial1begin)
86-
- [Serial1.available()](#serial1available)
87-
- [Serial1.read()](#serial1read)
88-
- [Serial1.write()](#serial1write)
89-
- [SPI](#spi)
90-
- [SPI.begin()](#spibegin)
91-
- [SPI.read()](#spiread)
92-
- [SPI.write()](#spiwrite)
93-
- [SPI.transfer()](#spitransfer)
94-
- [Bit Size](#bit-size)
95-
- [Wire / I2C](#wire--i2c)
96-
- [Wire.begin()](#wirebegin)
97-
- [Wire.available()](#wireavailable)
98-
- [Wire.read()](#wireread)
99-
- [Wire.write()](#wirewrite)
100-
- [Wire.setClock()](#wiresetclock)
101-
- [SoftI2C](#softi2c)
102-
- [USB HID](#usb-hid)
103-
- [Data Types](#data-types)
104-
- [size\_t](#size_t)
105-
- [void](#void)
106-
- [Conversion](#conversion)
107-
- [byte()](#byte)
108-
- [char()](#char)
109-
- [float()](#float)
110-
- [int()](#int)
111-
- [Local / Global Variables](#local--global-variables)
112-
- [Sketch](#sketch)
113-
- [loop()](#loop)
114-
- [setup()](#setup)
115-
- [Control Structure](#control-structure)
116-
- [if](#if)
117-
- [else](#else)
118-
- [for](#for)
119-
- [while](#while)
120-
- [break](#break)
121-
- [continue](#continue)
122-
- [return](#return)
123-
- [Operators](#operators)
124-
- [Arithmetic Operators](#arithmetic-operators)
125-
- [Comparison Operators](#comparison-operators)
126-
- [Boolean Operators](#boolean-operators)
127-
- [Bitwise Operators](#bitwise-operators)
128-
- [Compound Operators](#compound-operators)
129-
13022
## Digital I/O
13123

13224
To access digital GPIOs using MicroPython, we use the `Pin` module. To define a pin, we use `Pin(pin,type)`.

0 commit comments

Comments
 (0)