471,356 Members | 1,672 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,356 software developers and data experts.

ADC commands in python

Hi,

I am using GM 862.I am trying to write a script in python for adc and i m trying to use it's function by showing a blinking LED.I can't find any adc commands in the maual and online.Was wondering if anyone can assist me,I'll really appreciate that.

Thanks!
Jun 15 '07 #1
1 1194
Hi,

I am using GM 862.I am trying to write a script in python for adc and i m trying to use it's function by showing a blinking LED.I can't find any adc commands in the maual and online.Was wondering if anyone can assist me,I'll really appreciate that.

Thanks!
Hello,

try:
[code]
MDM.send('AT#GPIO=3,1,1\n',0) #turn gpio 3 high
ab= MDM.receive(5)
MOD.sleep(10) wait a second
MDM.send('AT#GPIO=3,0,1\n',0) # turn gpio 3 low
ab= MDM.receive(5)

Please let me know if you require more help

Fred.
Jan 5 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

12 posts views Thread by Moosebumps | last post: by
3 posts views Thread by Kory Wheatley | last post: by
4 posts views Thread by Avi Kak | last post: by
3 posts views Thread by Sara Khalatbari | last post: by
5 posts views Thread by Mike | last post: by
2 posts views Thread by timdoyle05 | last post: by
7 posts views Thread by fileexit | last post: by
15 posts views Thread by tmp123 | last post: by
1 post views Thread by Riccardo Maria Bianchi | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.