read out position of normal potentiometer - Page 3 - diyAudio
Go Back   Home > Forums > Source & Line > Analog Line Level

Analog Line Level Preamplifiers , Passive Pre-amps, Crossovers, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 6th February 2010, 10:17 PM   #21
diyAudio Member
 
Steerpike's Avatar
 
Join Date: Jan 2006
Location: Johannesburg, South Africa
Have you got the compiled code (hex file) ?
Microchip's MPLAB can turn that back into MPASM: although it isn't assembly that is pleasant to read or follow.
__________________
Steerpike's Toybox
  Reply With Quote
Old 6th February 2010, 11:09 PM   #22
Jempie is offline Jempie  Indonesia
diyAudio Member
 
Join Date: Jan 2008
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
  Reply With Quote
Old 6th February 2010, 11:28 PM   #23
diyAudio Member
 
Steerpike's Avatar
 
Join Date: Jan 2006
Location: Johannesburg, South Africa
MPASM assembly conversion attached. It's very ugly because all the labels get lost in the conversion to hex.
Attached Files
File Type: txt test.txt (38.0 KB, 6 views)
__________________
Steerpike's Toybox

Last edited by Steerpike; 6th February 2010 at 11:30 PM.
  Reply With Quote
Old 7th February 2010, 12:20 PM   #24
Jempie is offline Jempie  Indonesia
diyAudio Member
 
Join Date: Jan 2008
steerpike,

i don't no what you mean, can you convert the source into C usefull for the
Microchip compiler
  Reply With Quote
Old 7th February 2010, 01:36 PM   #25
diyAudio Member
 
Join Date: Jun 2004
Location: midlands
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
  Reply With Quote
Old 7th February 2010, 05:40 PM   #26
diyAudio Member
 
Steerpike's Avatar
 
Join Date: Jan 2006
Location: Johannesburg, South Africa
Quote:
Originally Posted by Jempie View Post
steerpike,
i don't no what you mean, can you convert the source into C usefull for the
Microchip compiler
I have no idea! I only ever use Microchip's MPASM assember.
__________________
Steerpike's Toybox
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
normal X-Amp uli Pass Labs 42 19th November 2010 07:31 AM
Is it normal to think this way? gain wire Instruments and Amps 3 17th October 2008 12:09 AM
25-position switched attenuator using a pair of 5-position switches? ray_moth Tubes / Valves 1 4th May 2008 09:02 AM
threads become "read" before I have a chance to read them. y8s Forum Problems 2 10th February 2008 11:57 AM
Is this normal? A_Reef_Scene Multi-Way 2 7th March 2007 07:51 PM


New To Site? Need Help?

All times are GMT. The time now is 10:58 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2