File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
docs/reference/api/drivers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,18 +16,18 @@ The resolution for an ADC is the smallest distinguishable change in analog input
16
16
17
17
### AnalogIn hello, world
18
18
19
- [ ![ View code] ( https://www.mbed.com/embed/?url=https://os.mbed.com/teams/mbed_example/code/AnalogIn_HelloWorld/ )] ( https://os.mbed.com/teams/mbed_example/code/AnalogIn_HelloWorld/file/77750f8cba47 /main.cpp )
19
+ [ ![ View code] ( https://www.mbed.com/embed/?url=https://os.mbed.com/teams/mbed_example/code/AnalogIn_HelloWorld/ )] ( https://os.mbed.com/teams/mbed_example/code/AnalogIn_HelloWorld/file/04e47b45f593 /main.cpp )
20
20
21
21
### AnalogIn examples
22
22
23
23
#### Example one
24
24
25
25
Control an R/C servo with analog input.
26
26
27
- [ ![ View code] ( https://www.mbed.com/embed/?url=https://os.mbed.com/teams/mbed_example/code/AnalogIn_ex_1/ )] ( https://os.mbed.com/teams/mbed_example/code/AnalogIn_ex_1/file/490818b6238b /main.cpp )
27
+ [ ![ View code] ( https://www.mbed.com/embed/?url=https://os.mbed.com/teams/mbed_example/code/AnalogIn_ex_1/ )] ( https://os.mbed.com/teams/mbed_example/code/AnalogIn_ex_1/file/64493a867413 /main.cpp )
28
28
29
29
#### Example two
30
30
31
31
This example shows AnalogIn reading 16-bit normalized samples.
32
32
33
- [ ![ View code] ( https://www.mbed.com/embed/?url=https://os.mbed.com/teams/mbed_example/code/AnalogIn_ex_2/ )] ( https://os.mbed.com/teams/mbed_example/code/AnalogIn_ex_2/file/cb98929b3895 /main.cpp )
33
+ [ ![ View code] ( https://www.mbed.com/embed/?url=https://os.mbed.com/teams/mbed_example/code/AnalogIn_ex_2/ )] ( https://os.mbed.com/teams/mbed_example/code/AnalogIn_ex_2/file/803d1b3eb85e /main.cpp )
You can’t perform that action at this time.
0 commit comments