PINK programming problem
Cheetah
Posts: 26
I'm having a problem reading and writing vars to/from the PINK netburner.
I can see the device using the IPsetup program and I can display the web page and change values
and read them back. Everything seems fine.
However, when I run the sample program, PINKTestV1.0, I am unable to successfully read and write to the web variables.
I get the "failure" message because the data read back from the PINK doesn't match the data that is written.
If I read the same variable repeatedly in a loop the data comes back as 255,0,255,0.
(changing from 255 to 0 to 255 on each successive read)
I've tried different pins for RX/TX but no luck. If I disconnect one of the connections
between the stamp (bs2pe) and the PINK module i get a comm error so i know
that i'm connecting it correctly.
Anyone have any ideas as to what's wrong?
I can see the device using the IPsetup program and I can display the web page and change values
and read them back. Everything seems fine.
However, when I run the sample program, PINKTestV1.0, I am unable to successfully read and write to the web variables.
I get the "failure" message because the data read back from the PINK doesn't match the data that is written.
If I read the same variable repeatedly in a loop the data comes back as 255,0,255,0.
(changing from 255 to 0 to 255 on each successive read)
I've tried different pins for RX/TX but no luck. If I disconnect one of the connections
between the stamp (bs2pe) and the PINK module i get a comm error so i know
that i'm connecting it correctly.
Anyone have any ideas as to what's wrong?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
I got it to work. The problem was that the ground wire was faulty.
I replaced it and everything worked fine. Only took me a whole
day to figure that one out. [noparse]:([/noparse]
Thanks anyway.
Glad to hear it's up and running! they are a lot of fun!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
Thanks everyone.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support