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 15579 - 15608 of 23219   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
15579
Lars, Very neat idea !. The simplest way to solve your problem is to use two PP3 batteries in parallel. This will double your capacity and still keep the ...
dongle241
Offline Send Email
Mar 1, 2004
8:06 am
15580
Hi Folks: I tried the suggestions but with no success. I tried downloading one of sample LEDdemo program provided by NetMedia. The weird thing is that I get...
Neil Grey
neilgrey
Offline Send Email
Mar 1, 2004
11:23 am
15581
i made this simple led program because i've been having trouble with the getpin function. when i run this program here's what happens(oh yeah the initial...
greatwitenorth
Offline Send Email
Mar 1, 2004
4:04 pm
15582
I had the same "Error verifying external EEPROM:" problem. I called up netmedia and they got me a new one for no charge. matt...
Matt
mdweisz
Offline Send Email
Mar 1, 2004
4:07 pm
15583
Hi Alan: I tried using the reset button serveral times but without luck. Any other suggestions ? Neil alan <alan.rushforth@...> wrote: Try a hardware...
Neil Grey
neilgrey
Offline Send Email
Mar 1, 2004
4:15 pm
15584
Probably not your case but on my W98 2GHz 512MB computer I get a verification error every download. Then it goes on and completes. I use a 800Mhz 256MB w2000...
Don Lewis
bubba_0n_wye...
Offline Send Email
Mar 1, 2004
4:34 pm
15585
I had been having problems getting a Pic-Servo and the BX-24 to communicate serial TTL. Do to realestate problems the BX was on one breadboard and the...
Don Lewis
bubba_0n_wye...
Offline Send Email
Mar 1, 2004
4:41 pm
15586
Lars, I could see (on your web site) you are using a Maxim part but couldn't see part #, anyway you can get Maxim parts. A Max730a or Max738a 5v PMW regulator...
Ian Casey
ian_casey03
Offline Send Email
Mar 1, 2004
4:41 pm
15587
... From the GetPin doc (Basic Express System Library, p. 58): If you call GetPin without previously configuring the pin as an input, results are undefined. If...
Don Kinzer
don_kinzer
Offline Send Email
Mar 1, 2004
4:43 pm
15588
Assuming that you are using a BX-24, page 55 of the "Basic Express System Library" details the "GetPin" function and warns..."If you call GetPin without...
Eric Serdahl
ericserdahl
Offline Send Email
Mar 1, 2004
5:46 pm
15589
Don, Reading buttons in the background is something the BasicX does very well. All you need to do is create a "Task" to read the buttons and store their state...
Chris
robotlogic
Offline Send Email
Mar 1, 2004
6:28 pm
15590
Don't forget to use semaphore to control access to the variables. Failure to use some type of synchronisation mechanism (semaphore) can result in unexpected...
Neil Grey
neilgrey
Offline Send Email
Mar 1, 2004
6:51 pm
15591
Nick, When getpin is called the I/O pin becomes and input and whatever state you set it to with putpin is lost. In short getpin cannot read the results of...
Chris
robotlogic
Offline Send Email
Mar 1, 2004
6:57 pm
15592
We need to change that in the Docs. That statement is incorrect. GetPin will always make sure the pin is set to an input before each read, if it's not GetPin ...
Chris
robotlogic
Offline Send Email
Mar 1, 2004
7:02 pm
15593
... I just ran a quick test to confirma that you can indeed read back the output pin state from Register.PortA or Register.PortC. This makes it unnecessary to...
Don Kinzer
don_kinzer
Offline Send Email
Mar 1, 2004
7:03 pm
15594
Neil, If it was more than 1 bit worth of data then yes using semaphores would be important. But this program layout guaranties that only one task can write to ...
Chris
robotlogic
Offline Send Email
Mar 1, 2004
7:09 pm
15595
Sure, you can read the registers but you can't do it using getpin which is why his program did not work. We try to steer new users away from using the...
Chris
robotlogic
Offline Send Email
Mar 1, 2004
7:14 pm
15596
... The only objection that I have to using tasks is that you chew up a lot of precious RAM space for each one. If you've got the RAM to spare, it nice to do...
Don Kinzer
don_kinzer
Offline Send Email
Mar 1, 2004
7:17 pm
15597
... Perhaps I misunderstand your point but as long as the button reading task is the only code that modifies the variable, I believe that no semaphore is...
Don Kinzer
don_kinzer
Offline Send Email
Mar 1, 2004
7:25 pm
15598
... Precisely. My assumption was that his objective was to read back the output state and GetPin() doesn't do that (irrespective of whether the current GetPin...
Don Kinzer
don_kinzer
Offline Send Email
Mar 1, 2004
7:33 pm
15599
I was only referring to the code I posted not needing locks. Worst case a mis-read of the Boolean would only set you back about 30ms and odds are the button...
Chris
robotlogic
Offline Send Email
Mar 1, 2004
7:43 pm
15600
From: Chris <chrish@...> ... No, the docs are correct. The pin state is undefined. -- Frank Manning -- NetMedia, Inc....
Frank Manning
frankmanning...
Offline Send Email
Mar 1, 2004
8:00 pm
15601
... I assume that the official NetMedia position is that the action is undefined as you stated. (I understand that this allows more specificity in the future...
Don Kinzer
don_kinzer
Offline Send Email
Mar 2, 2004
2:13 am
15602
... Just for the record, does it get set to bxInputPullup or bxInputTristate? Don...
Don Kinzer
don_kinzer
Offline Send Email
Mar 2, 2004
4:17 am
15603
thanks much for replying to my post. my main objective was to toggle an led when the bx-24 recieved a value of 65 in com3. I got that all working accept the...
greatwitenorth
Offline Send Email
Mar 2, 2004
4:20 am
15604
... The code that I posted in message #15593 (reproduced below) will return the current state of an output pin. It's pretty simple. All you have to do is...
Don Kinzer
don_kinzer
Offline Send Email
Mar 2, 2004
4:46 am
15605
yep, i tried out the code and it works perfect, thanks again, nick ... All...
greatwitenorth
Offline Send Email
Mar 2, 2004
5:04 am
15606
... Here is a better function to toggle a pin. It only attempts to toggle a pin if it is an output, which it determines by calling PinIsOutput(), code for...
Don Kinzer
don_kinzer
Offline Send Email
Mar 2, 2004
5:11 am
15607
hey man, i had the exact same problem with my desktop pentium 3 - 450mhz running win 2k pro. the serial port couldn't download to the chip. I hooked the same...
Trevor Pinkney
tpinkney2002
Offline Send Email
Mar 2, 2004
5:25 am
15608
I had that problem before and after the error happened I would just press the "GO" (green light) button and everything would start working. Then I got the...
Trevor Pinkney
tpinkney2002
Offline Send Email
Mar 2, 2004
5:33 am
Messages 15579 - 15608 of 23219   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