Skip to content

Conversation

Bala050814
Copy link

The description explains the value of your change, confirming that it fulfills the need for better beginner documentation.

"This Pull Request implements the request from Issue #51 by providing a functional and well-commented example sketch for the servo.writeMicroseconds() method."

Value Added:

Beginner Clarity: The sketch is easy to read and explicitly documents the critical pulse width values (544 µs, 1500 µs, 2400 µs).

Direct Demonstration: It demonstrates the proper use of the function for high-precision control, which was previously missing from the core examples.

This contribution helps new users quickly understand the relationship between time and angle, improving the overall documentation quality.

@CLAassistant
Copy link

CLAassistant commented Oct 6, 2025

CLA assistant check
All committers have signed the CLA.

Copy link

github-actions bot commented Oct 6, 2025

Memory usage change @ 71f773c

Board flash % RAM for global variables %
arduino:avr:leonardo 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:avr:mega 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:avr:nano 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:esp32:nano_nora 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nano:nano33ble 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nano:nanorp2040connect 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:mbed_portenta:envie_m7:target_core=cm4 N/A N/A N/A N/A
arduino:megaavr:nona4809 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:sam:arduino_due_x_dbg 0 - 0 0.0 - 0.0 N/A N/A
arduino:samd:mkrzero 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
Click for full report table
Board examples/Knob
flash
% examples/Knob
RAM for global variables
% examples/Sweep
flash
% examples/Sweep
RAM for global variables
% examples/writeMicroseconds_Example
flash
% examples/writeMicroseconds_Example
RAM for global variables
%
arduino:avr:leonardo 0 0.0 0 0.0 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:avr:mega 0 0.0 0 0.0 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:avr:nano 0 0.0 0 0.0 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:esp32:nano_nora 0 0.0 0 0.0 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:mbed_nano:nano33ble 0 0.0 0 0.0 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:mbed_nano:nanorp2040connect 0 0.0 0 0.0 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A
arduino:mbed_portenta:envie_m7:target_core=cm4 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A
arduino:megaavr:nona4809 0 0.0 0 0.0 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:sam:arduino_due_x_dbg 0 0.0 N/A N/A 0 0.0 N/A N/A N/A N/A N/A N/A
arduino:samd:mkrzero 0 0.0 0 0.0 0 0.0 0 0.0 N/A N/A N/A N/A
Click for full report CSV
Board,examples/Knob<br>flash,%,examples/Knob<br>RAM for global variables,%,examples/Sweep<br>flash,%,examples/Sweep<br>RAM for global variables,%,examples/writeMicroseconds_Example<br>flash,%,examples/writeMicroseconds_Example<br>RAM for global variables,%
arduino:avr:leonardo,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A
arduino:avr:mega,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A
arduino:avr:nano,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A
arduino:esp32:nano_nora,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A
arduino:mbed_nano:nano33ble,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A
arduino:mbed_nano:nanorp2040connect,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A
arduino:mbed_portenta:envie_m7,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A
arduino:mbed_portenta:envie_m7:target_core=cm4,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A
arduino:megaavr:nona4809,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A
arduino:sam:arduino_due_x_dbg,0,0.0,N/A,N/A,0,0.0,N/A,N/A,N/A,N/A,N/A,N/A
arduino:samd:mkrzero,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A

Copy link

github-actions bot commented Oct 6, 2025

Memory usage change @ 951c6da

Board flash % RAM for global variables %
arduino:avr:leonardo 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:avr:mega 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:avr:nano 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:esp32:nano_nora 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nano:nano33ble 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_nano:nanorp2040connect 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A
arduino:mbed_portenta:envie_m7:target_core=cm4 N/A N/A N/A N/A
arduino:megaavr:nona4809 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
arduino:sam:arduino_due_x_dbg 0 - 0 0.0 - 0.0 N/A N/A
arduino:samd:mkrzero 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
Click for full report table
Board examples/Knob
flash
% examples/Knob
RAM for global variables
% examples/Sweep
flash
% examples/Sweep
RAM for global variables
% examples/writeMicroseconds_Example
flash
% examples/writeMicroseconds_Example
RAM for global variables
%
arduino:avr:leonardo 0 0.0 0 0.0 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:avr:mega 0 0.0 0 0.0 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:avr:nano 0 0.0 0 0.0 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:esp32:nano_nora 0 0.0 0 0.0 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:mbed_nano:nano33ble 0 0.0 0 0.0 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:mbed_nano:nanorp2040connect 0 0.0 0 0.0 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:mbed_portenta:envie_m7 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A
arduino:mbed_portenta:envie_m7:target_core=cm4 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A
arduino:megaavr:nona4809 0 0.0 0 0.0 0 0.0 0 0.0 N/A N/A N/A N/A
arduino:sam:arduino_due_x_dbg 0 0.0 N/A N/A 0 0.0 N/A N/A N/A N/A N/A N/A
arduino:samd:mkrzero 0 0.0 0 0.0 0 0.0 0 0.0 N/A N/A N/A N/A
Click for full report CSV
Board,examples/Knob<br>flash,%,examples/Knob<br>RAM for global variables,%,examples/Sweep<br>flash,%,examples/Sweep<br>RAM for global variables,%,examples/writeMicroseconds_Example<br>flash,%,examples/writeMicroseconds_Example<br>RAM for global variables,%
arduino:avr:leonardo,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A
arduino:avr:mega,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A
arduino:avr:nano,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A
arduino:esp32:nano_nora,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A
arduino:mbed_nano:nano33ble,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A
arduino:mbed_nano:nanorp2040connect,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A
arduino:mbed_portenta:envie_m7,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A
arduino:mbed_portenta:envie_m7:target_core=cm4,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A
arduino:megaavr:nona4809,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A
arduino:sam:arduino_due_x_dbg,0,0.0,N/A,N/A,0,0.0,N/A,N/A,N/A,N/A,N/A,N/A
arduino:samd:mkrzero,0,0.0,0,0.0,0,0.0,0,0.0,N/A,N/A,N/A,N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants