Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Re: (OT) PICAXE

2005-10-02 by Dennis Clark

Thomas,

Thomas Keller wrote:
> In reference to BASCAOM-AVR,
> On Sat, 2005-10-01 at 22:01 -0600, Kevin wrote:
> 
>>I, and many others here have written hundreds of programs.  There is
>>no "strange syntactical requirement" that I'm aware of.  It works just
>>like the manual shows, and like you'd expect for a Basic language
>>syntax.
> 
> 
>   I cannot agree.   I have written , over the years, many thousands of
> programs, and a wide variety of languages, including any number of
> variants of BASIC.   I have never encoutnered the kinds of probl;ems
> with a BASIC interpreter or compiler I have had with BASCOM.

I've encountered problems with embedded programming on every language 
that I've used so far.

>   I have gone through the manual, and done exactly what it says to do,
> and all I can get back freom the compiler is that perfectly normal
> operations, such as, for example, "a = b^3" are illegal, or that my
> variables, which are, indeed, declared, do not exist or are of incorrect
> type.

   You're doing embedded code now, not working on a PC.  Bascom supports 
pretty decent amounts of math, but b^3 is not something that I've used 
in an embedded processor.  Things that that for trancendentals or 
whatever tend to be interpolated from tables, not calculated in the 
limited abilities of little embedded processors.  I do think that Bascom 
has a weird requirement that _no_ implied variables can be used (for 
instance B*3+1 can't be done because there is an implied temporary 
variable needed between the two operations) but that is simple to get 
around, and perhaps enlightening for newcomers to the embedded world to 
not assume anything.

>    I went to the BASCOM mailing list with these problems, and got
> absoutely NOLTHING but verbal abuse from the denizens thereof.  I
> downloaded some exampls of BASCOM code, and attempted to emulate what I
> found there, and had no success whatever.
> 

   Did you go there with an attitude on or "playing nice"?  I will 
guarantee you that if you go to any on-line group with a chip on your 
shoulder you'll get the boot.  Don't EVEN ask a newbie question on the 
guru Java lists!

>   I will grant that the PROBLEM is something I am doing incorrectly, but
> I also assert that the declaration requirements are **NOT** BASIC, nor
> even BASIC-like, and that the manuals are inadeqaute, and the support
> non-existent.

   The manual is as good as Microchip's C18, and what manual do you get 
for GCC?  I've found Mark to be very helpful with bugs.

   I think Bascom is a very good compiler for the money, and a very good 
educational tool for teaching embedded to those that are new to the concept.


IMO, YMMV,
DLC

> Tom
> 
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back!
> http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/dN_tlB/TM
> --------------------------------------------------------------------~->  Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


-- 
---------------------------------------------------------------------
* Dennis Clark  dlc@frii.com http://www.techtoystoday.com             *
* "Programming and Customizing the OOPic Microcontroller" Mcgraw-Hill *
---------------------------------------------------------------------

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.