You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mruby_io_ADC_en.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,14 @@
1
1
# ADC
2
2
3
-
- A class that supports Analog-to-Digital Conversion (`ADC`) functionality.
3
+
- A class that supports Analog-to-Digital Conversion (ADC) functionality.
4
4
- Generally, it is capable of converting analog voltage values to digital values.
5
5
6
6
## Constructor
7
7
8
-
---
9
8
10
9
### ADC.new( pin, *params )
11
10
12
-
- Generate an `ADC` object by specifying the physical pin indicated by "pin."
11
+
- Generate an ADC object by specifying the physical pin indicated by "pin."
13
12
- Typically, "pin" is specified as an integer, but alternative methods (e.g., "B1" in PIC) are also acceptable.
14
13
- If the device has a switch between analog and digital modes for the pin, it will be switched to analog mode at this point.
15
14
- Generally, there is no need to specify additional parameters, such as "params." However, for certain models that require additional feature specifications like sampling speed, they can be specified here.
0 commit comments