read out position of normal potentiometer

Status
Not open for further replies.
hereby the HEX


:02000000932942
:06000600000000000800EC
:10000C000F308312DC004730DD00DD0B0B28DC0BDE
:08001C000B28000000000800A1
:0C00240021308312DD00DD0B15280800E0
:100030008312CB1B1D2887111E2887154B1B2228D6
:10004000071123280715CB1A27288710282887147B
:100050004B1A2C2807102D28071441183128871611
:1000600032288712071603200712CB193928871167
:100070003A2887154B193E2807113F280715CB183A
:1000800043288710442887144B184828071049280C
:10009000071441184D2887164E288712071603208B
:0E00A0000712411C5528062056281220080081
:1000AE008316071287120710871007118711831204
:1000BE0007128712871107118710071006200620D6
:1000CE0006208714071407160320071206200716AA
:1000DE00032007120620071603200712062007101A
:1000EE000716032007120620071603200712871093
:1000FE008715071603200712062087110714071607
:10010E0003200712071007160320071206200716F2
:10011E0003200712071407160320071206200710E4
:10012E0007160320071287150715871407140716DD
:0A013E0003200712062041140800F8
:0E014800831241104A08CB0018204114080011
:0C015600831243088A004208820008005F
:1001620083120313DB01DA01D9018030D800D10CEC
:10017200D00C031CC5285408D90755080318550F7D
:10018200DA070318DB0A0310D01FCD285408DA0758
:1001920055080318550FDB07DB0CDA0CD90CD80C09
:1001A200031CB8285B08D3005A08D2005908D100B2
:0601B2005808D00008000F
:1001B800ED2880308312C600FE28C030C600FE2815
:1001C8009430C600FE28D430C600FE288030C60011
:1001D800FE284608013A0319DD284608023A0319A1
:1001E800E1284608033A0319E4284608043A0319A3
:1001F800E728EA284703D0004608D0075008C60079
:100208005008CB0018204110C9014908480784004C
:100218000008031917294908480784000008CA007C
:0A022800A420C90A092941140800A6
:1002320083120313D801D9011030DC00510DD80DFF
:10024200D90D5408D8025508031C550FD9020318BA
:1002520031295408D80755080318550FD907031038
:0A026200D00DD10DDC0B1F290800A0
:10026C00013083168500013091008701C0308B006E
:10027C0083120C1083160C1483128E018F010C1335
:10028C0083160C1310309F00033083129F005720ED
:0E029C003130C4000030C5002D30BC00080019
:1002AA00662980308312C6007729C030C6007729B4
:1002BA009430C6007729D430C60077298030C6002A
:1002CA0077294608013A031956294608023A0319BA
:1002DA005A294608033A03195D294608043A0319BC
:1002EA00602963294703D0004608D0075008C60092
:1002FA0041145008CB00182041104808CB001820A0
:04030A004114080092
:10030E00AB208A110A128000840AC20A0319C30A9A
:08031E00D003031D872908002C
:1003260044308312A0006230A100A2015630A3001F
:100336006F30A4006C30A5007530A6006D30A700A4
:100346006530A800A901AA014130AB005530AC00C8
:100356004430AD004930AE004F30AF004430B000FD
:100366004530B1005330B2004930B3004730B400D5
:100376004E30B5004730B6005530B7004930B800AA
:100386004430B9004530BA00BB013130BC003130D1
:10039600BD003130BE003130BF003130C0003621E3
:1003A6000130CB0018200C30CB0018200130C600DD
:1003B6000130C7002B30C800DC200230C6000230F6
:1003C600C7002330C800DC200230C6000D30C7004D
:1003D6002030C800DC209F18282A1E08C400C5014A
:1003E60003309F004508003C031DFB294408283CB8
:1003F600031C102A4408D0004508D1003130D4002F
:100406000030D500B1202830D4000030D5001921A5
:100416005008C4005108C500282A28304402D000DC
:100426000030031C013E4502D1003230D4000030BA
:10043600D500B120D730D400D5011921313050076D
:10044600C40051080318013EC5000A30D40000302C
:10045600D5004408D0004508D10019215808D0001D
:100466005908D1005008BD0030305007BD000A3091
:10047600D4000030D5004408D0004508D100192129
:100486000A30D4000030D50019215808D000590888
:10049600D1005008BC0030305007D1005108BC00D4
:1004A6005108303A031D632A3D08303A031D632A7A
:1004B6000230C6000930C7002030C80055216A2A1C
:1004C6000230C6000930C7002D30C8005521AA01E8
:1004D60002302A0203187C2A0230C6002A080A3E85
:1004E600C7002A083C3E84000008C8005521AA0A15
:0604F6006B2AEE297D2AAD
:02400E00F2318D
:00000001FF
 
jempie
have you tried to convert your program ? The code really isn't that much different.
Which uC are you using and which compiler (C18 maybe ?) are you using?

For things like the lcd, C18 compiler comes with xlcd.c/h for this.

TBH, you are probably going to get more help on this on a forum like there

Mike
 
Status
Not open for further replies.