Tried rotation (from 0 to 3, true) with drawRect(0,10,20,30) and got: 0: 219,10,239,30 1: 209,299,229,319 2: 0,289,20,309 3: 10,0,30,20 next tried rotation(from 0 to 3,false) with drawRect(0,10,20,30) and got: 0: 0,10,20,30 1: 209,0,229,20 2: 219,289,239,309 3: 10,299,30,319
So, in my case setRotation(0,false) seems to be correct.
@JumJum started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Tried rotation (from 0 to 3, true) with drawRect(0,10,20,30) and got:
0: 219,10,239,30
1: 209,299,229,319
2: 0,289,20,309
3: 10,0,30,20
next tried rotation(from 0 to 3,false) with drawRect(0,10,20,30) and got:
0: 0,10,20,30
1: 209,0,229,20
2: 219,289,239,309
3: 10,299,30,319
So, in my case setRotation(0,false) seems to be correct.