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 | c770a7f14404822c1164a2399079411a37808cfd (patch) | |
tree | 599188be6e3a5d105f9b8c4baba19d280b3d1058 /source/arduino/const.rst | |
parent | 4b60b1cad5fe16895179d0bd8a5dc1e6e4c7564c (diff) | |
download | librambutan-c770a7f14404822c1164a2399079411a37808cfd.tar.gz librambutan-c770a7f14404822c1164a2399079411a37808cfd.zip |
updated serial bootloader spec; other improvements
Diffstat (limited to 'source/arduino/const.rst')
-rw-r--r-- | source/arduino/const.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/arduino/const.rst b/source/arduino/const.rst index eb2b07b..b008144 100644 --- a/source/arduino/const.rst +++ b/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 |