You need to subtract away the LED voltage from 5 V, first. Plus, and i don't know if tinker handles this, but the I/O pins also have some source resistance that does not show on the schematic but does affect the current.
↧