Hallo,
wenn der (theoretische) Wert 0 von x und y links oben liegt, würde ich das so rechnen:
const ref a //x-wert
a = 128 / 1024 //bei 10bit adc
w = getadc(x)
x-koordinate = w * a
bei y dann halt 64 / 1024
mfg
Hallo,
wenn der (theoretische) Wert 0 von x und y links oben liegt, würde ich das so rechnen:
const ref a //x-wert
a = 128 / 1024 //bei 10bit adc
w = getadc(x)
x-koordinate = w * a
bei y dann halt 64 / 1024
mfg
Lesezeichen