diff options
| author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-06-10 09:10:03 -0400 |
|---|---|---|
| committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-06-10 09:10:03 -0400 |
| commit | 4798d10e2bd178c4fb120635ef525cd0f592dc84 (patch) | |
| tree | 95813dd4c73e9a52882f4b150a0c2feb46ff757e /docs/source/lang/cpp/unsignedint.rst | |
| parent | b078de0361d2b8db5d7195aaaf36103759e60963 (diff) | |
Docs: Use "BOARD_LED_PIN" instead of "13".
Fix examples where pin 13 was used explicitly instead of
BOARD_LED_PIN. Also change an AVR-specific example in
docs/lang/cpp/booleanvariables.rst to Maple conventions.
Diffstat (limited to 'docs/source/lang/cpp/unsignedint.rst')
| -rw-r--r-- | docs/source/lang/cpp/unsignedint.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/source/lang/cpp/unsignedint.rst b/docs/source/lang/cpp/unsignedint.rst index b7d9716..f8ea473 100644 --- a/docs/source/lang/cpp/unsignedint.rst +++ b/docs/source/lang/cpp/unsignedint.rst @@ -36,9 +36,9 @@ that an ``unsigned int`` will "underflow" at 0, and "overflow" at The ``unsigned long`` type is a synonym for ``unsigned int``. Here is an example of declaring an ``unsigned int`` variable named -``ledPin``, then giving it value 13:: +``pin``, then giving it value 13:: - unsigned int ledPin = 13; + unsigned int pin = 13; The general syntax for declaring an ``unsigned int`` variable named ``var``, then giving it value ``val``, looks like:: |
