|
Post by barney on Nov 11, 2022 17:01:36 GMT -5
I am new to Liberty Basic. I heard about Liberty Basic from the book, Learning Programming for Dummies. In there it talks about how to get started learning a language and it mentioned to check o Liberty Basic. So I did and here I am. I've been watching some of the tutorial videos suggested. I'm totally new to computers. So this is a new hobby for me. So I hope to get into it and learn and enjoy Liberty Basic.
|
|
|
Post by arsk3bpp on Mar 23, 2023 10:20:23 GMT -5
Hi I am new to using the forum and this appeared to be a place to enter as a starting point. I am surprised there are no threads on the topic of loopback. I read the excelent article by Rod Bird on accessing the serial port. That whole article is about loopbach. Since this is the most basic of serial port trouble shooting devices I am surprised no discussion. Anyhow I typed in the 4 line program connected pins 2 to 3. I get invalid handle. I have a python loopback that runs fine so I can assume the hardware is ok. Any suggestions would be appericated. Best Regards K3BPP Walt
|
|
|
Post by Rod on Mar 23, 2023 10:35:26 GMT -5
You need to step through that four line program with the debugger. If you just run it Liberty will be looking for the port before it is established. So click on the ladybug icon then the step icon to step through each line of the program. Execute the first line of your program and if you have any led indicators watch and you will see that it takes a little while for the port to establish. Then click the next step. If it fails on the first line have you set the com port number correctly.? It would be unusual for it to be 2, virtual ports generally start with higher numbers.
open "com2:9600,n,8,1,ds0,cs0,rs" for random as #commHandle print #commHandle, "Hello" dataRead$ = input$(#commHandle, 7) print dataRead$
|
|
|
Post by arsk3bpp on Mar 23, 2023 20:10:14 GMT -5
Hi Rod I have done as you suggest, pin 6 does light up but no others. I have have a loopback program on python and Putty. Both work well and turn on pins 4 and 6 and pins 2 and 3 flash as a key is pressed or as the program steps through. It seems like some commands might be missing. I have been using basic since its inception in 1967. I learned basic at a terminal that was connected to the Dartmouth computer. We had the original manul from Kurtz and Kemerley. HP 9820 basic ; Vic 20 Basic and commodor 64 Basic then on to the microsoft chain. Then Microsoft made most software I was using in effective. As I remember I started with Liberty Basic about 2010 on and off. It is certainly great to be able to converse about computer programing. Running Win 10 on Dell Latitude 5480.
|
|
|
Post by Rod on Mar 24, 2023 2:45:35 GMT -5
Then you need to read about DTR, Liberty does not set this. There is API code listed that will set it. Some folks have hard wired DTR to get over the problem. But be sure you have included all the switches as shown in the open statement.
Best to post the code you are using in a new thread on the hardware board.
|
|
stig
New Member
Posts: 40
|
Post by stig on Mar 29, 2023 19:43:46 GMT -5
Since 1.2 Asked a friend if he knew of a programming language that worked on a Windows computer, he was on the net, I was not, and since then, Liberty Basic has a special place in my heart
|
|
|
Post by James Grubbs (Jimmy) on Apr 2, 2023 21:03:39 GMT -5
Hey everyone, If you could just take a moment, please respond to this request and reply with how long you have been using Liberty BASIC, and perhaps if you can remember how you first heard about it? Thanks! -Carl Gundel, author of Liberty BASIC Been using since 1995. I still find it as amazing today as I did then. I think I started using LB on my 486sx33.
|
|
Nuno
Junior Member
Posts: 64
|
Post by Nuno on Apr 16, 2023 7:49:57 GMT -5
Hi Carl,
Started using L.B. seriously February 2023. Had heard, and mess with it, sometime in 2012/3. Internet searching.
Although I've known BASIC language since the late 1980's, as well as some others high level languages, (such as PASCAL), never used any of them for anything serious. My career turn into the microprocessor world. Electronics engineer with an expertise in digital electronics. Long time assembly code expert for several processors. (That includes things like a P.I.D. algorithm entirely written for a PIC processor in assembly! Option menus an all...) Among many other it's and bit's of the hardware side of things. This year I come across a project that demanded very complex processing of several lab equipement data with MODBUS protocol.
What is required far surpases what is acceptable, in terms of development time, for a low level programming language. An needed to be Windows friendly too.
Had to go with some high level language. Python was in my list... But is low level, hardware side of things, bit too unfriendly for someone that never used it. Price was also a major game stopper. If too much, the whole thing would not be worth it. Guess what option came next?
Thank you Carl.
Nuno
P.S. at a low level, direct hardware manipulation, L.B. is not that friendly either. but easy enough.
|
|
stig
New Member
Posts: 40
|
Post by stig on Jul 21, 2023 15:19:55 GMT -5
Since 1.2, back in the nineties?
|
|
|
Post by willembever on Nov 10, 2023 12:55:32 GMT -5
I was told about LB in 2017 by Gordon Rahman. But it took until May 2020 before I started with LB. Before I had written programs in several basic versions, from Exidy Sorcerer Basic (that was in 1979) to Q(uick)Basic. Visual Basic was surely not my thing. In november 2020 Gordon started with weekly online sessions about LB and nowadays I'm the moderator during those sessions. I'm having lot's off fun programming in LB.
|
|
|
Post by James Grubbs (Jimmy) on Jan 2, 2024 22:49:16 GMT -5
Started using LB around 1995 maybe a year or 2 sooner than that. Was using GW basic before that. It is still just as amazing today as it was to me back then.
|
|
|
Post by johnnyrockets on Jan 3, 2024 10:30:49 GMT -5
Hi all, Well I have had a long IT journey and have been in the IT field since 1993, I've tried EVERY language out there and keep coming back to BASIC and it seems like I've tried every BASIC flavor and I still like and come back to LB and enjoy it the most. I started with LB with an online search in 2005, like many of you did. Pretty much bought the Gold version (was the highest level back then) right away with the LB Companion and some other things. I have been spotty at best in programming over these past years with a family, acquiring more college and a hundred other things it seems!!! Life! It always gets in the way of things!!! I am FINALLY getting back to LB now and am REALLY enjoying it and the simplicity of it. I'm a weird programmer and tend to write weird little things like a Binary Clock and things like that. So now, not surprisingly, I'm writing a Hexadecimal Clock, LOL! I write simple programs for my own amusement! But then again, that's what it is all about for me! Thanks for LB, it has been a GREAT and FUN, FUN tool for me to use and I would gladly $upport it if needed for further development if ever needed. JohnnyRockets
|
|
|
Post by mikewilsonfletcherok on Apr 5, 2024 19:01:16 GMT -5
Hey everyone, If you could just take a moment, please respond to this request and reply with how long you have been using Liberty BASIC, and perhaps if you can remember how you first heard about it? Thanks! -Carl Gundel, author of Liberty BASIC I learned about this in 1997 When I was a student at the National Radio Institute and have used it on and off for all these 27 years since the days before "Alice's Restaurant". I just downloaded it again to splash out a custom G-Code program for an obsolete CNC Plasma cutter and you should be seing a resgistration in the next few hours. LB is a stepping stone to far more power than face value. Michael "Mike" Wilson
|
|