Search found 7 matches
- 27 February 2008, 13:37 PM
- Forum: ZX-24
- Topic: multi-tasking ping sonars
- Replies: 7
- Views: 6134
- 27 February 2008, 10:59 AM
- Forum: ZX-24
- Topic: multi-tasking ping sonars
- Replies: 7
- Views: 6134
- 25 February 2008, 10:55 AM
- Forum: ZX-24
- Topic: multi-tasking ping sonars
- Replies: 7
- Views: 6134
multi-tasking ping sonars
The current problem I am having is that after about 3 minutes of running the code, it begins to malfunction. The chip randomly gives a high reading and a low reading to either sensor. It works perfect before this. i am trying to figure out if it is an RC time constant problem, a problem with the RAM...
- 19 February 2008, 20:21 PM
- Forum: ZX-24
- Topic: Problem with Ping Sonar
- Replies: 5
- Views: 6025
Thank you, I actually ended up finding the problem. It was not so much the code, as the school computer I have been working on, It actually took off the setting for the zx-24a. Once i went back into that and identified the target chip it worked. I just learned that I need to do that every time I hav...
- 18 February 2008, 10:51 AM
- Forum: ZX-24
- Topic: Problem with Ping Sonar
- Replies: 5
- Views: 6025
Problem with Ping Sonar
Here is my code, Option Explicit Public Sub Main() Dim Width as Single, Feet as Single, Inches as Single Do Call PulseOut(18, 3.0, 1) Call PulseIn(18, 1, Width) Feet = Width * 550.0 'assuming 1100 feet per sec Inches = Feet * 12.0 Debug.Print CStr(Inches) Call Delay(0.1) Loop End Sub This code works...
- 13 February 2008, 10:49 AM
- Forum: ZBasic IDE
- Topic: Problem with compile
- Replies: 2
- Views: 5896
I figured out the problem, I was doing file new, instead of project new. I was trying to use the file to run the program, it is working fine now. I will be working with this chip a lot for a senior graduation requirement. I'm sure you will be hearing back from me. I will also send the final report w...
- 13 February 2008, 7:44 AM
- Forum: ZBasic IDE
- Topic: Problem with compile
- Replies: 2
- Views: 5896
Problem with compile
I'm not sure if the download for the compiler worked, or if there is a problem somewhere else. I hit compile, and it tells me that it cannot read my file because it cannot find it, same thing when i hit go. My computer will not read the file extensions at all. Not sure if this is common or not. I'm ...