Search the web
Sign In
New User? Sign Up
basicx · Discussion list for the BasicX family of microcontroller chips
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 13225 - 13254 of 23214   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
13225
After a week of playing with my pseudo networking idea between two BX-35's, I am totally frustrated. StatusQueue does not seem to work as the manual says it...
Ken Arck
ah6le
Offline Send Email
Apr 1, 2003
5:25 pm
13226
Ken, Perhaps you should post your code ... -- Doug...
Doug
evokedpotent...
Offline Send Email
Apr 1, 2003
5:47 pm
13227
At 12:28 PM 4/1/2003 +0200, you wrote: Perhaps you should post your code ... <---Here it is 1st BX-35 (this code is only called if a certain event occurs.) ......
Ken Arck
ah6le
Offline Send Email
Apr 1, 2003
5:58 pm
13228
Ooops... in the second BX code, the variable should be Array, not Command_Array Ken ... President and CTO - Arcom Communications http://www.ah6le.net Version...
Ken Arck
ah6le
Offline Send Email
Apr 1, 2003
6:00 pm
13229
Change your Send routine to... Call PutQueue(OutBx, Array(1), 10) Change your receive routine to... If StatusQueue(InBx) Then Call Delay(0.025) 'You may...
Dave Houston
dorothy1801
Offline Send Email
Apr 1, 2003
6:08 pm
13230
... Change your Send routine to... Call PutQueue(OutBx, Array(1), 10) <---Wouldn't that place the same value - Array(1) - 10 times into the queue? Ken ... ...
Ken Arck
ah6le
Offline Send Email
Apr 1, 2003
6:26 pm
13231
Ken, This may not make sense ... but I would try putting the array value into a single byte and sending the single byte ... and on the other end receiving into...
Doug
evokedpotent...
Offline Send Email
Apr 1, 2003
6:52 pm
13232
Ken, Think about what you are doing here ... on the sending processor you loop 10 times and send 10 bytes which is the contents of the array ... on the...
Doug
evokedpotent...
Offline Send Email
Apr 1, 2003
7:26 pm
13233
Sending processor sends a byte ... Receiving processor reads StatusQueue and triggers the For Loop ... loads the first value in array (1) ... then increments...
Doug
evokedpotent...
Offline Send Email
Apr 1, 2003
7:34 pm
13234
This timing issue is very true, and I've seen it happen - StatusQueue is very fast, and will miss two consecutive bytes arriving, they simply don't arrive fast...
Michael Puchol
mikepuchol
Offline Send Email
Apr 1, 2003
7:43 pm
13235
From: "Michael Puchol" <mpuchol@...> ... Excellent point. Incidentally, the beta 2 IDE overloads GetQueue so you can specify an optional...
Frank Manning
frankmanning...
Offline Send Email
Apr 1, 2003
7:52 pm
13236
... <----Bytes ... <----I had assumed a queue was FIFO and each byte remained in the queue until either flushed or read. So if I stuffed 10 bytes into the...
Ken Arck
ah6le
Offline Send Email
Apr 1, 2003
7:52 pm
13237
Ken, ... Even if it's FIFO ... what happens if StatusQueue is triggered a second time before you finish for For loop? In your code that mucks with your array...
Doug
evokedpotent...
Offline Send Email
Apr 1, 2003
7:55 pm
13238
From: Ken Arck <ph@...> ... This is a good point, but in this case GetQueue blocks the task until data arrives. ... That's correct. ... True. Timing is...
Frank Manning
frankmanning...
Offline Send Email
Apr 1, 2003
8:05 pm
13239
... Ooops ... I didn't realize that ... so the receiving program halts completely? So then ... any idea why Ken's simple program doesn't reproduce the array on...
Doug
evokedpotent...
Offline Send Email
Apr 1, 2003
8:12 pm
13240
At 03:12 PM 4/1/2003 +0200, you wrote: Ooops ... I didn't realize that ... so the receiving program halts completely? So then ... any idea why Ken's simple...
Ken Arck
ah6le
Offline Send Email
Apr 1, 2003
8:17 pm
13241
Ken I have successfully got 2- BX24's to talk to each other using statusqueue, and I also found that timing is v important. I found that a debug.print in...
Neil Jepsen
neil_jepsen
Offline Send Email
Apr 1, 2003
8:30 pm
13242
Please post the working code ... I too am about to do some serial connection between BX24s ... sometimes I get bizarre serial errors regardless of what I do. I...
Doug
evokedpotent...
Offline Send Email
Apr 1, 2003
8:41 pm
13243
Hi Thank you for replying so soon I know about the examples but I know how to take the String and make an “If” statement!!!!!!!! If you can solve me this...
Theodor Chatzidimitriou
chatzidimitr...
Offline Send Email
Apr 1, 2003
9:04 pm
13244
Hi Thank you for replying so soon I know about the examples but I know how to take the String and make an “If” statement!!!!!!!! If you can solve me this...
Theodor Chatzidimitriou
chatzidimitr...
Offline Send Email
Apr 1, 2003
9:05 pm
13245
From: Ken Arck <ph@...> ... One difficulty I see is in looking at code fragments instead of a working program. But making an educated guess, it's...
Frank Manning
frankmanning...
Offline Send Email
Apr 1, 2003
9:08 pm
13246
Hello! This should be a very simple question. Is there any memory overhead for arrays? In other words, is an array's memory requirements simply the sum of...
Scott B.
scottsb77
Offline Send Email
Apr 1, 2003
10:31 pm
13247
Hi Has anyone written code to talk to the Devantech SP03 using the I2C interface and the shiftout command ? Thanks RN...
Ron A. Nucci
seattlerobotics
Offline Send Email
Apr 1, 2003
11:27 pm
13248
At 11:52 AM 4/1/2003 -0800, you wrote: I'll try your code and see how it goes. Thanks to you, Dave and others who have offered me assistance! <----Doug, you'll...
Ken Arck
ah6le
Offline Send Email
Apr 2, 2003
1:57 am
13249
... Cool ... I guess the burning question is why doesn't the other code work? I have one BX24 reading a Laipac GPS, Vector2x compass, BAR2001S barometer,...
Doug
evokedpotent...
Offline Send Email
Apr 2, 2003
2:10 am
13250
Doug Wrote: Oh BTW this camera can be read by a microcontroller: http://www.seattlerobotics.com/cmucam.htm The docs say it can do this: - track the position...
Derek Cowburn
derekcowburn
Offline Send Email
Apr 2, 2003
2:21 am
13251
Derek, ... <http://www.seattlerobotics.com/cmucam.htm>http://www.seattlerobotics.com/cmucam.htm ... Have you tried capturing images? Can you show an image that...
Doug
evokedpotent...
Offline Send Email
Apr 2, 2003
2:48 am
13252
Ken, I just sent a bunch of code to you that should end your timing issues!! If you find that the method that I sent to you works please post it back to this...
Daniel G. Thompson
n8wkm_2
Offline Send Email
Apr 2, 2003
2:49 am
13253
From: "Scott B." <scottsb@...> ... There is a certain amount of overhead involved in calculating array indexes. Generally the most overhead involves...
Frank Manning
frankmanning...
Offline Send Email
Apr 2, 2003
2:59 am
13254
Oops ... correction ... the little remote control mentioned below works on TV code #21 (with the radio shack IR decoder). The setting of TV code on this remote...
Doug
evokedpotent...
Offline Send Email
Apr 2, 2003
3:39 am
Messages 13225 - 13254 of 23214   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help