You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I calculate a expression in makecode, then send the value to serial port. In simulator it is ok, but in real serial port, it will get wrong number.
let P = 100240
basic.forever(function () {
serial.writeValue("T", (P / 101325) ** (1 / 5.255))
basic.pause(1000)
})