Arduino icon indicating copy to clipboard operation
Arduino copied to clipboard

wrong example for "assignment"

Open madbob opened this issue 12 years ago • 1 comments

Original by Mohammad Keramati:

  1. at this page ( http://arduino.cc/en/Reference/Assignment ) you have a typing error: int sensVal; senVal = analogRead(0);
  2. are you sure about: "Each boolean variable occupies one byte of memory." i think it occupies one bit of memory --> http://arduino.cc/en/Reference/BooleanVariables and Thanks for your good site

madbob avatar Mar 10 '14 14:03 madbob

  1. thanks
  2. boolean uses a byte of memory, not a bit.

shfitz avatar Apr 13 '14 08:04 shfitz