Originally posted by Kadmos@Mar 19 2005, 11:18 PM
I have some exprerience programming and i can handle COM port.
Because i am a beginne4r at electronics i want to make something simple
How can i use com as a switch.Like when i click a button to close a circuit
and when i click again to open it.
QBasic will run under XP but you may have a problem with any display.Originally posted by Kadmos@Mar 24 2005, 11:44 PM
I will try tommorow TC and qbasic.Do they work on XP?
tc i have tried it before a year and work but i amnot sure for qbasic..
I've just tried SCREEN 9 on one of my programs, but it limits the colour range of text. For exampleOriginally posted by n9xv@Mar 28 2005, 06:18 AM
You can also use the statement SCREEN 9 at the begining of the program. Use Qbasic 4.5 with the .exe utility if you can.
Ok, n9xv, but I don't want a black background. This is a sub I use regularly because it gives a 'pretty' display. It gives a blue background with a double line surround. At the top I can insert a string to identify which part of the proram I am in, eg, Menu, Addresses, etc. in blue on a bright white background . It's a standard format I use in all sections of my programs and I don't want the hastle of changing every one of them. Try it. I've included a sample header$Originally posted by n9xv@Mar 29 2005, 07:01 AM
Pebe, immidiately after the SCREEN 9 statement use the statement COLOR 0,0.
SCREEN 9 : COLOR 0, 0
This initially sets the entire color palate to black. Now when you want color, turn it on and off according to what color you want.
COLOR 14 : LOCATE 12, 3 : PRINT "What is the value of X. " ; value$ ' I like to use yellow for prompts.
COLOR 9 : LOCATE 14, 3 : PRINT "result = " ; (X / Y) ' I like deep blue for results.
If you want white text again just throw in a COLOR 7 statement etc.
BTW, If you figure out how to upload Qbasic programs here I'd sure like to know how. I've been wanting to do that every since I found this site.
Why don't you paste the text into notepad, then save it in the QB directory as sample.bas or something? Then you can open it in the QB editor and after giving it a few tweeks, it will run.Originally posted by n9xv@Mar 30 2005, 08:45 PM
Pebe, I'm still working on your program getting it typed into the editor screen. Man I wish those files would upload! If I get brave enough I'll type in one of my programs here on the forum.
I was curious though, are your files ready to run .exe files or are they .bas files that you load into the editor and run from there? The reason I ask is because I run Windows XP on my machine and have not had any problems with the screen sizing. Maybe try making a .exe of one of your files and send it to the desktop and click and run it from there. Do you use the Alt + Enter command to get full screen in DOS?
n9xv,Originally posted by n9xv@Mar 31 2005, 08:05 AM
....I have a Qbasic programmers reference manual if thats ever of any interest.
I used WINZIP. It's an archiving utility that compresses one or more files into a single .zip file. You use the same program to 'unzip' them again to their originals. I think the forum accepts a .zip for upload because it hasn't got the dreaded .exe extension - with its risk of viruses. The forum cannot interpret the .zip file as a .jpg so it just leaves it as an attachment. At least, that's how I assume it works.Originally posted by n9xv@Apr 3 2005, 07:23 AM
Ok Pebe, I'd be very curious to try that. As a point of reference can you tell me exactly how you zipped up the file? At least I'll know I'm following a proceedure that has documented success
I've downloaded your file and used Winzip to unzip it. The result is a file freqwave.exeOriginally posted by n9xv@Apr 6 2005, 06:39 AM
Is anyone getting the freqwave.zip to work?
|Thread starter||Similar threads||Forum||Replies||Date|
|D||Where is the charging port for this battery??||Power Electronics||8|
|Serial Port BLE Module (Master/Slave) : HM-10 replacement||Microcontrollers||1|
|Parallel port base address remapping||Programming & Languages||3|
|Serial port terminal raw mode in C||Programming & Languages||0|
|D||Wiring a usb port to high voltage battery||Power Electronics||24|
by Kate Smith
by Luke James
by Jake Hertz