Can someone summarize a little bit for a newb like myself with little exposure to all this? How do you know when looking at a sketch if it is targeting a specific type of board or chipset? How do you know if an included library is specific to a board or chipset? I have seen things like wire.h, and TinyWireM.h, and do not grasp the difference when neither seem to help with the ESP. In another example, I was trying to talk to a BMP180 temp/pressure sensor (adafruit module and sketch) with the 8266 and it is missing a file called avr\pgmspace.h. Is there a good writeup somewhere on knowing how to tell if code is targeting specific architectures? I even ran into an example where a sketch did not include any external libraries/files and yet there was an undefined function ( log() ):
https://learn.adafruit.com/thermistor/u ... emperature