Discussion forum for the BasicX family of microcontroller chips.
|
Stan: Very sorry for the frustration! Unfortunately, you are correct. There is a problem with setting up the playsound function, @#$!!@#. We have a "Z" where we should have had a "Y", Why? Sleep depravation? I don't know. Fortunately it only affects this function. The good news is that you get a free BX24 development system for finding the bug. With the fixed BX24. When you verify that the problem is fixed, you can send your other BX24's in for "rebraining". Make sure you tell us it works so we can put it into production. Anyone else who needs the playsound function can send their BX24's in and have them "rebrained" for free. Jack ----- Original Message ----- From: "Stan Cossette" <> To: <> Sent: Monday, October 16, 2000 6:46 AM Subject: [BasicX] PlaySound Bug? > I have been trying to use PlaySound in a robot control program and I > found the following (after several hours of frustration!). > > 1) The PlaySound function resets the entire Port (all 8 bits reset to > 0) and also resets the DDR for the pin used for the PlaySound. > > 2) The playsound function does not seem to be affected by the > resetting of the DDR. > > 3) If you are using any other pin of the port (port C in my case) it > will be set to 0 and will not be reset until the next time you call > the pin-driving function. This turned off LEDs and fouled up serial > communication in my case. > > Has anyone else run into this and/or know of a workaround? > > Thanks, > > Stan [Non-text portions of this message have been removed] |