Search found 10 matches

by alphasucht
09 Feb 2014, 20:44
Forum: Mindstorms Software
Topic: Bounty for complete EV3 C/C++ API
Replies: 60
Views: 264795

Re: Bounty for complete EV3 C/C++ API

Start a crowdfund and we will see how many people will spend their money. There is nothing to lose. I will support it definitely.
by alphasucht
23 Nov 2012, 18:25
Forum: Mindstorms Software
Topic: Communicating via RS485
Replies: 46
Views: 44602

Re: Communicating via RS485

momis99 wrote: but i'd also like a trouble-free communication protocoll via rs485 and bluetooth for NXC.
The same for me please! :)
by alphasucht
21 Feb 2012, 19:53
Forum: Mindstorms Software
Topic: Communicating via RS485
Replies: 46
Views: 44602

Re: Communicating via RS485

:oops:
It works.
7 Posts. In the half of them I have disgraced myself. Better result than in real life. ;)
by alphasucht
21 Feb 2012, 07:57
Forum: Mindstorms Software
Topic: Communicating via RS485
Replies: 46
Views: 44602

Re: Communicating via RS485

Hi Matt, thank you for your code. I tried it with two NXTs and it worked fine. I tried it also with 3 NXTs. So I defined a 2nd Slave Address in the master program and changed the "My485Address" in the slave program for one NXT also. The Master should talk alternating to the NXTs. if(i=1){ ...
by alphasucht
30 Dec 2011, 08:35
Forum: Mindstorms Software
Topic: Communicating via RS485
Replies: 46
Views: 44602

Re: Communicating via RS485

Just one more question. If I use more than 2 NXTs, is there any chance to address one Brick directly? With the help of IDs/Addresses or similar? Or is that one thing that my Prgramm have to do?

Thank you!
alphasucht
by alphasucht
29 Dec 2011, 22:52
Forum: Mindstorms Software
Topic: Communicating via RS485
Replies: 46
Views: 44602

Re: Communicating via RS485

afanofosc wrote:But, again, that is old low level should not be used anymore code.
Oh, man! I was blind! I thought this version of 2008 was the actual state.

Sorry!
I think some of your new features were lost on the way across the Ocean. ;)

Best wishes!
alphasucht
by alphasucht
28 Dec 2011, 17:33
Forum: Mindstorms Software
Topic: Communicating via RS485
Replies: 46
Views: 44602

Re: Communicating via RS485

I found this thread https://sourceforge.net/apps/phpbb/mind ... ing#p10885 about my compiling problem. I've got the same check boxes activated like "mattallen37", but the compile process failes. What am I doing wrong?
by alphasucht
28 Dec 2011, 16:56
Forum: Mindstorms Software
Topic: Communicating via RS485
Replies: 46
Views: 44602

Re: Communicating via RS485

I got your code from http://bricxcc.sourceforge.net/nbc/ . (2008/01/06) I use the newest Enhanced Firmware. (lms_arm_nbcnxc_131_20111019_1659.rfw) If there is a better way to communicate, than I would be happy to use it. Yes, I know. My code is not really good. It's only my 3rd project. I will try t...
by alphasucht
28 Dec 2011, 15:15
Forum: Mindstorms Software
Topic: Communicating via RS485
Replies: 46
Views: 44602

Re: Communicating via RS485

Okay, first: Ashes on my head! Before I tried to post my code, I compared your 485sendms and 485receivems with my code. In my Sender Programm where no kind of this: while(HSOutputBufferOutPtr() < HSOutputBufferInPtr()) Wait(1); and in my Receiver Programm where no kind of this: while (mlen == 0) mle...
by alphasucht
27 Dec 2011, 15:45
Forum: Mindstorms Software
Topic: Communicating via RS485
Replies: 46
Views: 44602

Communicating via RS485

Hello! Is there any possibility that the communication via RS485 will be improved in one of the next firmware versions? Right now the way to communicate via cable is very complicated. It works only occasionally. I tried different settings: - 2 NXTs directly connected on port 4 - 3 NXTs connected per...