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 ...
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...
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...
Hi Alan: I tried using the reset button serveral times but without luck. Any other suggestions ? Neil alan <alan.rushforth@...> wrote: Try a hardware...
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...
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...
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...
... 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...
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...
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...
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...
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...
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 ...
... 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...
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 ...
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...
... 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...
... 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...
... 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...
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...
... 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...
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...
... 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...
... 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...
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...
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...