MichaelB247's instructables
Tell us about yourself!
Achievements
- MichaelB247 favorited IoT Scale by Jaybuilder
- MichaelB247 commented on MichaelB247's instructable Simplest ESP8266 Local Time Internet Clock With OLED
- MichaelB247 favorited Hopper. by gzumwalt
- MichaelB247 commented on MichaelB247's instructable Simplest ESP8266 Local Time Internet Clock With OLEDView Instructable »
Looks like you have usPST and usPDT reversed. Your third line should read:Timezone usPacific(usPDT, usPST);
- MichaelB247 commented on MichaelB247's instructable ESP-01 CH330N USB Programmer
Sure! I don't use it a lot but I have used it successfully with the ESP-01 and an Atmega238. It's very minimal but seems to work just fine!
View Instructable »So far, it's been working for about 6 months or so and indoors so I cannot comment too much on the temps - though if it's made by the same guys as other CH340G USB chips, I'm sure it would be fine. V3 is actually the power pin in the case of ESP which needs 3.3V and VCC is unconnected in that case (just capacitor to GND). In the case of a 5V logic device, it reverses - VCC gets hooked up to 5V and V3 via capacitor to GND. I haven't used the RTS pin but I believe it would work the same way as other CH340G USB chips. So far I have only used this at 9600 and 115200 baud rates and it works fine there. Honestly, it cost me $4 to get 10 units so it's a pretty inexpensive investment to play around with. Hope this helps.
- Show More Activities
It's because you didn't change the values of the last numbers in the function. -300 is 5 hours (5*60) but you actually need 360 there and 420 in the second row, because you're an extra hour behind the Prime meridian. So if you change the first line to -360 and second to -420 you should be good to go.