Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ivo

Pages: [1]
1
General / Re: How to use a serial com port with SFML
« on: September 20, 2013, 01:17:35 am »
Thanks for the reply and the help, guys.
Now I'm working my way through the information you provided.

2
General / Re: How to use a serial com port with SFML
« on: September 19, 2013, 02:34:49 am »
The game I have to develop has a microcontroller as input device. It sends out measurement data, every 10ms 30 ASCII bytes using Bluetooth.
I have to read these data, move simple geometric objects on the screen and in addition dump the data in a logfile. I have set up a virtual com port using a Bluetooth manager provided with my laptop. My first approach was a Visual Basic solution. It does the job but it's not fast enough, it can only process 10 events per second, not 100 as requested.
In VB I have a com port and whenever the application gets a 'receive' event I just read the data and process them.


3
General / How to use a serial com port with SFML
« on: September 19, 2013, 02:07:08 am »
Hello,

I'm new to SFML, working through the tutorials, all good so far, but what I need and cannot find is how to use a serial port with SFML.

OS is Windows 7, IDE is Visual Studio 2012 Express, SFML version 2.1.

Background: I have to develop a basic computer game which uses the input of two microcontrollers connected with serial ports.

Question: I would like to have events similar to the mouse or keybord events whenever data are received on the serial port (and of course send something sometimes). Is there anything like that in SFML available?

Thank you, Ivo



Pages: [1]
anything