Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 14:00 03 May 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : UBW32 A:

Author Message
Dinosaur

Guru

Joined: 12/08/2011
Location: Australia
Posts: 304
Posted: 01:46pm 25 Nov 2012
Copy link to clipboard 
Print this post

Hi All

Just starting a little project to pulse a stepper motor.
Have a UBW32 with nothing attached, and latest image.
Using Tera-Term

Typing commands and running the motor is not a problem,
I have enough programming and Basic experience to do that.

However, when I try to save the program to the flash drive with:
Save "A:Autorun.bas"
or
Save "B:Autorun.bas"

I get:
Error: SD card not found.

Typing:
Print "MM.Drive$"
I get B:

Typing:
Print "MM.Device$"
I get "Colour maximite"

So, at least B: exists, but wont let me save a single line program.

Any hints greatly appreciated.

Regards


Regards
Hervey Bay Qld.
 
BobD

Guru

Joined: 07/12/2011
Location: Australia
Posts: 935
Posted: 02:18pm 25 Nov 2012
Copy link to clipboard 
Print this post

The drivespec is not part of the Save command. Use the command Drive "A:" and then do a Save with just the filename. Did I read recently in a post from Geoff that the quotation marks were now optional in some of these commands?
 
BobD

Guru

Joined: 07/12/2011
Location: Australia
Posts: 935
Posted: 02:30pm 25 Nov 2012
Copy link to clipboard 
Print this post

I was right about the quotes. It was in the change log for V4.0a.
Change log for MMBasic Ver 4.0A
When using the RUN, SAVE or LOAD commands quote marks are no longer required around
the file name. They are still required if the command is used within a program.
 
Dinosaur

Guru

Joined: 12/08/2011
Location: Australia
Posts: 304
Posted: 05:10pm 25 Nov 2012
Copy link to clipboard 
Print this post

Hi All

Many thanks for that, it solved the issue.
I guess these are the little oddities that are different
from some Basic's

Regards
Regards
Hervey Bay Qld.
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3165
Posted: 09:17pm 25 Nov 2012
Copy link to clipboard 
Print this post

  Dinosaur said   Hi All

Many thanks for that, it solved the issue.
I guess these are the little oddities that are different
from some Basic's

Regards

That should have worked. It sounds like a bug to me, I will chase it up.

Geoff
Geoff Graham - http://geoffg.net
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024