Pages: [1]   Go Down
Author Topic: C# and XNA woes  (Read 666 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi All,

Ive just started to get into Arduino and thought of creating a simple games controller.

First off I used a couple of Pot's to control a simple sprite in XNA by adding a windows form to the XNA project. This way I could use the serial port for the comms as well as see the data coming in. I then made the values public so they could be used within the XNA game as a variable, not a problem, worked well.

I replaced the pots with a AXL335 got the data and such and extended the programme to use the 3 axes, now heres the problem. There is a huge lag in the data from the Arduno to the XNA form about 30 seconds. Has anyone tried communicating into XNA this way? If not any pointers?

Thanks in advance.
Logged

Canada
Offline Offline
Full Member
***
Karma: 0
Posts: 218
You will become one with the Arduino!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can you post code on the arduino side, and the XNA side that reads the serial data? 

Logged

Pages: [1]   Go Up
Jump to: