diff options
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  | 
