diff options
author | Marti Bolivar <mbolivar@mit.edu> | 2010-11-21 01:40:37 -0500 |
---|---|---|
committer | Marti Bolivar <mbolivar@mit.edu> | 2010-11-21 01:40:37 -0500 |
commit | 19e8336afbc827378216aca2b1af45ef89a108ab (patch) | |
tree | 5aeb911d2f697ab3bf6ad9cf3609c19fe7a83346 /docs/source/arduino/const.rst | |
parent | b2653be281539928a7ba92433fe2b7c2e3ef4cd4 (diff) | |
download | librambutan-19e8336afbc827378216aca2b1af45ef89a108ab.tar.gz librambutan-19e8336afbc827378216aca2b1af45ef89a108ab.zip |
updated serial bootloader spec; other improvements
Diffstat (limited to 'docs/source/arduino/const.rst')
-rw-r--r-- | docs/source/arduino/const.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/source/arduino/const.rst b/docs/source/arduino/const.rst index eb2b07b..b008144 100644 --- a/docs/source/arduino/const.rst +++ b/docs/source/arduino/const.rst @@ -26,13 +26,13 @@ Example // this defines a variable called "pi", which cannot be changed: const float pi = 3.14; float x; - + // .... - + x = pi * 2; // it's fine to find the value of a const variable - + pi = 7; // illegal - you can't write to (modify) a constant - + **#define** or **const** ------------------------ @@ -49,4 +49,4 @@ See Also - :ref:`volatile <arduino-volatile>` -.. include:: cc-attribution.txt
\ No newline at end of file +.. include:: cc-attribution.txt |