Search found 33 matches
- Thu Jul 04, 2013 7:51 pm
- Forum: EzSBC1
- Topic: Binary2decimal & Decimal2binary...???
- Replies: 4
- Views: 6951
Re: Binary2decimal & Decimal2binary...???
Thanks for pointing that out to me Andries, I must have read that a half a dozen times and never really understood what it meant. You can tell the manual was written by an engineer, seeing it from an engineers perspective. Don't get me wrong, Daniel is a fine engineer, after all he created the EzSBC...
- Wed Jul 03, 2013 10:16 am
- Forum: EzSBC1
- Topic: Binary2decimal & Decimal2binary...???
- Replies: 4
- Views: 6951
Binary2decimal & Decimal2binary...???
I found this code that i need to work in control basic but i'm having trouble translating...::: Binary to decimal and decimal to binary conversions: ---------------------------------------------------- Public Function BinaryToDecimal(Binary As String) As Long Dim n As Long Dim s As Integer For s = 1...
- Fri Jun 21, 2013 9:41 pm
- Forum: EzSBC1
- Topic: Interfacing an MCP9700 analog temp sensor...???
- Replies: 3
- Views: 6494
Re: Interfacing an MCP9700 analog temp sensor...???
Fantastic Daniel!
I knew it would be a good example on how to use the MAP command.
But, i did not expect it to be so efficient and concise
Now i understand the power of the MAP command much better.
Thanks Daniel,
Robert
.
I knew it would be a good example on how to use the MAP command.
But, i did not expect it to be so efficient and concise
Now i understand the power of the MAP command much better.
Thanks Daniel,
Robert
.
- Thu Jun 20, 2013 6:20 pm
- Forum: EzSBC1
- Topic: Interfacing an MCP9700 analog temp sensor...???
- Replies: 3
- Views: 6494
Interfacing an MCP9700 analog temp sensor...???
Hi, In trying to fill the box of my Digi-Key order I ran across the MCP9700 (pdf) analog temp sensor for $0.30 and i thought it might work well on the EZSBC1 analog inputs. The I.C. is a TO-92 case and has a range of -40c to +125c, 10mv/degree C output with a 500mv + offset . How would I get a Faren...
- Thu Jun 20, 2013 5:28 pm
- Forum: EzSBC1
- Topic: How-to emulate "SELECT/CASE" in Control Basic...???
- Replies: 3
- Views: 5357
Re: How-to emulate "SELECT/CASE" in Control Basic...???
Thanks Andries,
That is a very good explanation.
I would think the vectoring aspect of select/case would save run time not having to test every condition.
But am I talking about a very small amount of time here?
Robert
.
That is a very good explanation.
I would think the vectoring aspect of select/case would save run time not having to test every condition.
But am I talking about a very small amount of time here?
Robert
.
- Tue Jun 18, 2013 5:38 pm
- Forum: EzSBC1
- Topic: How-to emulate "SELECT/CASE" in Control Basic...???
- Replies: 3
- Views: 5357
How-to emulate "SELECT/CASE" in Control Basic...???
Greetings,
I noticed there is no SELECT/CASE command in control basic.
How-to emulate "SELECT/CASE" in Control Basic...???
I'm not an experienced programmer, that's why I ask...
Thanks for your help.
Robert
.
I noticed there is no SELECT/CASE command in control basic.
How-to emulate "SELECT/CASE" in Control Basic...???
I'm not an experienced programmer, that's why I ask...
Thanks for your help.
Robert
.
- Sat Mar 23, 2013 8:51 am
- Forum: EzSBC1
- Topic: How-To BASIC Programming Logic Question...
- Replies: 9
- Views: 9753
Re: How-To BASIC Programming Logic Question...
Thanks Daniel, I tried to modify the excellent example you created, but i was not successful. It does not perform and drops bytes. It seems you are very busy so i wont bother you anymore. i'm just going to live with what i did by automating teraterm. This is the code that does NOT work if anyone is ...
- Tue Mar 19, 2013 5:30 pm
- Forum: EzSBC1
- Topic: How-To BASIC Programming Logic Question...
- Replies: 9
- Views: 9753
Re: How-To BASIC Programming Logic Question...
Hi Daniel, Sorry to confuse the issue. I think we are saying the same thing. It sounds like you know what i'm trying to do. You are the programmer Daniel. I'm just trying to follow you. lets go with your plan and see what happens. I guess AM5 deletes the file after extracting the data. Then JustBASI...
- Tue Mar 19, 2013 3:00 pm
- Forum: EzSBC1
- Topic: How-To BASIC Programming Logic Question...
- Replies: 9
- Views: 9753
Re: How-To BASIC Programming Logic Question...
Hi Daniel, This is great! I appreciate your verbose remarks in your program examples, that helps a great deal for I and others just learning. There is one thing I need this JustBASIC code to do and that has never changed since I've started. The only option I have is to read the contents of a file an...
- Sat Mar 16, 2013 11:36 am
- Forum: EzSBC1
- Topic: How-to strip the first & last character from a string ???
- Replies: 2
- Views: 4807
Re: How-to strip the first & last character from a string ??
Thanks Daniel,
That makes it clear and easy to understand...
Robert
.
That makes it clear and easy to understand...
Robert
.
- Fri Mar 15, 2013 7:27 pm
- Forum: EzSBC1
- Topic: How-to strip the first & last character from a string ???
- Replies: 2
- Views: 4807
How-to strip the first & last character from a string ???
Greetings Daniel,
I have a quick one for you this time.
I want to strip the first and last character from a string.
What is the most efficient way to do this in BASIC?
Thanks for your help Daniel.
Robert
.
I have a quick one for you this time.
I want to strip the first and last character from a string.
What is the most efficient way to do this in BASIC?
Thanks for your help Daniel.
Robert
.
- Thu Mar 14, 2013 12:36 pm
- Forum: EzSBC1
- Topic: No AND/OR command! How-To decode DTMF board ???
- Replies: 2
- Views: 4591
Re: No AND/OR command! How-To decode DTMF board ???
Thanks Daniel,
That helps a great deal.
I was thrown off by AND/OR not being in the command list.
The sample code explains IF/THEN very well.
Robert
.
That helps a great deal.
I was thrown off by AND/OR not being in the command list.
The sample code explains IF/THEN very well.
Robert
.
- Wed Mar 13, 2013 5:29 pm
- Forum: EzSBC1
- Topic: No AND/OR command! How-To decode DTMF board ???
- Replies: 2
- Views: 4591
No AND/OR command! How-To decode DTMF board ???
Hi Daniel, I just noticed that there is no AND or OR command in Control BASIC. That is an important part of a conditional branch in the BASIC language. I wrote this code for the ARMweb to create a <send$> of DTMF tones decoded. ' Read DTMF tones and create a SEND$ for processing on the ARMweb contro...
- Wed Mar 13, 2013 4:49 pm
- Forum: EzSBC1
- Topic: TX data to another remote EzSBC1 with 1 pin...
- Replies: 2
- Views: 4625
Re: TX data to another remote EzSBC1 with 1 pin...
Hi Daniel, I reviewed the docs at ...::: Address/Data bit waveform for the HT12A on page 6. That code sequence will work fine, as long as it is generic subroutines. I want to be able to use it on my other controllers, even if the baud rate is very low. Out of my 3 controllers they all have strengths...
- Tue Mar 12, 2013 1:01 pm
- Forum: EzSBC1
- Topic: TX data to another remote EzSBC1 with 1 pin...
- Replies: 2
- Views: 4625
TX data to another remote EzSBC1 with 1 pin...
Greetings, I have a need to send a <string$> to another EzSBC1 in a remote location in the building. This can be done using 1 output pin using " Manchester Coding " and a 433 Mhz RF link pair (for $4.90) . What I need is 2 subroutines, 1 to transmit a <string$> and 1 to receive a <string$>...