Lynxmotion Tech Support

www.lynxmotion.com
It is currently Thu May 23, 2013 3:15 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Mon Apr 09, 2012 11:47 am 
Offline
Roboteer

Joined: Thu Aug 11, 2011 2:08 pm
Posts: 9
I'm just letting you know that Webbot is currently aware of the problem and will be looking into it.

More info here:
http://www.societyofrobots.com/robotfor ... ic=15507.0


Top
 Profile  
 
PostPosted: Mon Apr 09, 2012 12:37 pm 
Offline
Roboteer

Joined: Fri Mar 30, 2012 2:56 pm
Posts: 9
Well, I tried using Kurte's code to resolve this wireless controller issue. The wireless controller still does not work, but the red LED on the receiver did stay lit this time while the controller had the sequenced blinking LEDs (when pushing the analog button) as mentioned before. The wired controller continued to work properly.

I'm not sure if this make any difference, but I just want to provide some previously unmentioned details. I said earlier that I have the control lines plugged into E4, E5, E6, and E7. More specifically, the layout is: MOSI is E5, MISO is E6, SCK is E3, and Select is E4. It is within a software SPI bus with the Master Mode box checked.

Kurte, you mentioned that your attempt to use a software SPI bus did not work at all. As of now, I have not tried using a hardware bus per the statement in the webbotlib docs (http://webbot.org.uk/WebbotLibDocs2/46240.html) about using a software bus over a hardware one. Just for the heck of it, I will try a hardware bus, but I am not exactly sure what lines gets plugged into what pins.

In the meantime, Lynxmotion has sent me another wireless controller to replace the defective unit that I previously mentioned in the thread. I will try it out when I get home tonight.


Top
 Profile  
 
PostPosted: Wed Apr 25, 2012 8:56 am 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4414
Thought I would give an update here. I have been hacking on this and doing updates up on the forum: http://www.societyofrobots.com/robotfor ... opic=15507

As I mentioned previously, I confirmed that the Wireless controller was not working with Webbotlib on an Axon2. I never noticed it before as I had not used my Axon2 for awhile and when I developed my Brat code for the Axon2, webbotlib did not have any support for it so I rolled my own...

What I found out yesterday is that with the Software SPI (have not tried hardware), the Wired PS2 appears to work when you do the transitions on the trailing edge of the clock and the wireless appears to work when you do it on the leading edge. I hacked up changes in the ps2.h file (part of each release) and was able to get the wireless to work. Should be a way to get both to work.

Webbot has not been able to test this as he does not have a wireless controller. I will see if having two different macros and options in his definition software is sufficient, or if I can find a way that works for both without changes.

Kurt


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group