Okay, so I’m currently working on a project using the BMP085 barometric sensor, and I’ve found a nice tutorial over at Sparkfun (BMP085 Barometric Pressure Sensor Quickstart - SparkFun Electronics) which helps me complete it, but there are some things that I don’t fully understand. Several places they use the term “(long)”, “(float)” or “(unsigned long)” in front of some variables some places but not consistently, even though these variables have been defined as such further above. What’s the reason for that? On the reference page they use float(variable), long(variable) etc, is it just the same as mentioned above?
Also they use the term “while(Wire.available() < 3)” without the curly brackets, how does that work? On the reference page on arduino.cc they always use it with the curly brackets, still the same?