Search found 8 matches
- Mon Jul 20, 2015 6:44 am
- Forum: EzSBC1
- Topic: Julian and calendar date subroutines
- Replies: 0
- Views: 26650
Julian and calendar date subroutines
Here are two EzSBC Control BASIC subroutines that can be used to calculate Julian and calendar dates. The source code listing includes a short program that demonstrates how to interact with these two subroutines. Note that the time between two calendar dates is the difference between their correspon...
- Thu Jul 02, 2015 4:46 pm
- Forum: EzSBC1
- Topic: Line length in Control BASIC
- Replies: 2
- Views: 17501
Re: Line length in Control BASIC
Thanks Daniel.
- Wed Jun 24, 2015 5:31 am
- Forum: EzSBC1
- Topic: ATAN2 missing?
- Replies: 3
- Views: 12681
Re: ATAN2 missing?
Here's a four quadrant inverse tangent subroutine named ATAN3. It determines angles between 0 and 2 PI radians. ' demo_atan3.bas ' June 24, 2015 ' demonstrates how to intereact with the ATAN3 subroutine dtr = PI / 180.0 rtd = 180.0 / PI angle_deg = 222.25678 ' convert angle to radians angle_rad = dt...
- Mon Jun 22, 2015 4:20 am
- Forum: EzSBC1
- Topic: Line length in Control BASIC
- Replies: 2
- Views: 17501
Line length in Control BASIC
Greetings,
Is there a source code line length restriction in Control BASIC?
Is there a line continuation character for source code lines?
Thanks
Is there a source code line length restriction in Control BASIC?
Is there a line continuation character for source code lines?
Thanks
- Mon Jun 22, 2015 3:26 am
- Forum: EzSBC1
- Topic: ATAN2 missing?
- Replies: 3
- Views: 12681
ATAN2 missing?
The ATAN2 function appears to missing.
a = 0.5
b = -0.765
c = atan2(a, b)
PRINT "c = ", c
END
Start program
No such variable line # 5
a = 0.5
b = -0.765
c = atan2(a, b)
PRINT "c = ", c
END
Start program
No such variable line # 5
- Sun Jun 21, 2015 10:19 am
- Forum: EzSBC1
- Topic: Machine epsilon of the EzSBC1
- Replies: 1
- Views: 10321
Machine epsilon of the EzSBC1
Here's a short program that determines the machine epsilon of the EzSBC1. Machine epsilon can be defined several ways; (1) that number, when added to one, is still one (according to the computer). (2) the distance from 1.0 to the next largest floating point number. Machine epsilon is important in nu...
- Sat Jun 20, 2015 2:21 am
- Forum: EzSBC1
- Topic: Powering the EzSBC1 installed in the Project Board 1
- Replies: 2
- Views: 11250
Re: Powering the EzSBC1 installed in the Project Board 1
Thanks Daniel.
- Fri Jun 19, 2015 3:44 am
- Forum: EzSBC1
- Topic: Powering the EzSBC1 installed in the Project Board 1
- Replies: 2
- Views: 11250
Powering the EzSBC1 installed in the Project Board 1
Greetings,
I would like to know if I can use the computer-to-USB connector and an external power supply with the Project Board 1 at the same time. The USB cable is also supplying 5 volts to the EzSBC1.
Thanks,
David Eagle
I would like to know if I can use the computer-to-USB connector and an external power supply with the Project Board 1 at the same time. The USB cable is also supplying 5 volts to the EzSBC1.
Thanks,
David Eagle