need help about the mcp3202 codes!
daniel ding
Posts: 52
Hi everyone.Who can tell me why the potline has the same pin with chipsel in the following codes. The codes come from Utilities.spin.
high =1
low =0
PotLine =19
PotLine2 =20
repval =2
repval2 =2
BitsRead =12
BitsRead2=12
BitsRead3 =12
BitsRead4=12
chipSel = 19
chipClk = chipSel+1
chipDout = chipSel+2
chipDin = chipSel+3
chipSel2 = 23
chipClk2 = chipSel2+1
chipDout2 = chipSel2+2
chipDin2 = chipSel2+3
Thanks!
high =1
low =0
PotLine =19
PotLine2 =20
repval =2
repval2 =2
BitsRead =12
BitsRead2=12
BitsRead3 =12
BitsRead4=12
chipSel = 19
chipClk = chipSel+1
chipDout = chipSel+2
chipDin = chipSel+3
chipSel2 = 23
chipClk2 = chipSel2+1
chipDout2 = chipSel2+2
chipDin2 = chipSel2+3
Thanks!
Comments
Dave
It is a mistake
I do not have the original code any more so cannot offer corrections.
Harprit.
If you need to read a 3202, see my object in the object exchange, Search 3202.
It is all in SPIN and easy to read. All lines are commented for beginners.
-- http://obex.parallax.com/objects/625/
Each has a demo program.
In addition, Can you tell me your Email-box or MSN. I will write to you directly if in trubble about the Propeller study.
Daniel
Please continue to use the discussion forum for communications so that all users can benefit from the discussion.
I would prefer that.
Thanks
Harprit.
I want wo use a keybord to the Propeller chip, can you show me some circuit diagrams about it.
Others, what kind of keybord I should select , I need only numbers keybord.
Daniel
Hi!
I want to study input words and commands to a propeller chip through a ps2 keyboard, anyone who can tell me where to get some circuits or examples .
thanks!
H.