Love your tutorials :) , Just getting started with the esp2866 , Got everything running after watching 2 of your tutorial videos =) . Keep up the Good Work !!!!!
Hello sir, i have been try with mcp9808 and esp8266 nodemcu...but when I do i2c.scan() it returns a long list of addresses...it should ideally return only one address right? could you please tell me what could be the issue
sir, i am so thankful for your tutorials i am trying to interface adxl345(3 axis accelerometer) with esp8266 using micropython but, i2c.scan() is not detecting the address of adxl345 i have tried all possible methods,i request you to please help me to interface adxl345 with esp8266 using I2c in micropython
Thank you, a very useful explanation! However, I don't understand the "simple" temp_c function. I don't get, in particular, what's the purpose of the use of the bitwise operators.
Oh good question the first line converts a byte string (like an array of bytes) into a single 16 bit value by grabbing the first byte from the string and making it the top 8 bits (the shift left by 8 bits with
Thank you for the explanation! After few years doing small programming with Python I had never used bitwise operators or had to worry about exadecimal and binary coding. I just made some tests with Python ide and I think I got everything... well, almost. As I said, my knowledge is pretty basic, so I'd like to ask you the last couple of question: Once you have the 12 bit subset of data, why do you divide it by 16? Finally, if value & 0x1000 is true (i.e. != than 0), you subtract from the value 256, as if in that case the temperature were shown in kelvin. I don get it :( I want to say thank you very much for your great work! I really hope to see more videos about Micropython!
Love your tutorials :) ,
Just getting started with the esp2866 ,
Got everything running after watching 2 of your tutorial videos =) .
Keep up the Good Work !!!!!
Awesome! Very informative and useful! Highly appreciated
Hello sir, i have been try with mcp9808 and esp8266 nodemcu...but when I do i2c.scan() it returns a long list of addresses...it should ideally return only one address right? could you please tell me what could be the issue
Your pin addresses are likely wrong. It may not be the same pin numbers as in this video.
sir, i am so thankful for your tutorials
i am trying to interface adxl345(3 axis accelerometer) with esp8266 using micropython
but, i2c.scan() is not detecting the address of adxl345
i have tried all possible methods,i request you to please help me to interface adxl345 with esp8266 using I2c in micropython
Thank you, a very useful explanation!
However, I don't understand the "simple" temp_c function. I don't get, in particular, what's the purpose of the use of the bitwise operators.
Oh good question the first line converts a byte string (like an array of bytes) into a single 16 bit value by grabbing the first byte from the string and making it the top 8 bits (the shift left by 8 bits with
Thank you for the explanation!
After few years doing small programming with Python I had never used bitwise operators or had to worry about exadecimal and binary coding.
I just made some tests with Python ide and I think I got everything... well, almost.
As I said, my knowledge is pretty basic, so I'd like to ask you the last couple of question:
Once you have the 12 bit subset of data, why do you divide it by 16?
Finally, if value & 0x1000 is true (i.e. != than 0), you subtract from the value 256, as if in that case the temperature were shown in kelvin. I don get it :(
I want to say thank you very much for your great work! I really hope to see more videos about Micropython!
@@adafruit Can you explain how the line 'temp = (value & 0xfff) / 16' grabs the last 12 of 16 bits?