Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 180 matches
www.mcselec.com Forum Index
Author Message
  Topic: Writing code to run multiple tasks at same time
olhexy

Replies: 18
Views: 1008

PostForum: BASCOM-AVR Archive   Posted: Mon Mar 18, 2013 11:48 am   Subject: Writing code to run multiple tasks at same time
I found you an offer for Pseudo-Multitasking.
And luckyly it is written in Basic. And is a short program.
Hope there is something in it for you

http://www.eitel.ch/various/avr/Multitask%20.zip
...
  Topic: Force a constant or var to a specific location in flash
olhexy

Replies: 13
Views: 570

PostForum: BASCOM-AVR Archive   Posted: Sun Mar 17, 2013 4:43 pm   Subject: Force a constant or var to a specific location in flash
It works, but it will not be on the very end of the code.
Bascom puts its internal subroutines after the Table.
Wouldn't advise this, as it may conflict with existing user code, and, as you don't kn ...
  Topic: Generate constant of the .bas Filename?
olhexy

Replies: 16
Views: 670

PostForum: BASCOM-AVR Archive   Posted: Sun Mar 17, 2013 4:30 pm   Subject: Generate constant of the .bas Filename?
i did add this option to 2075.
What do you exactly mean by "this option" ?

Please explain.

I would also like to see a usage example of "this option".

There are other more recent topics abou ...
  Topic: help on simulator/debug
olhexy

Replies: 4
Views: 330

PostForum: Various   Posted: Tue Feb 19, 2013 9:43 pm   Subject: help on simulator/debug
http://members.aon.at/helmi/hapsim.htm

I found a more recent version (hapsim220.zip) here: http://www.ic.unicamp.br/~celio/mc404-2012/
I saved a copy: http://dl.dropbox.com/u/3659123/hapsim220.zi ...
  Topic: Efficient arctangent approximation
olhexy

Replies: 26
Views: 2041

PostForum: BASCOM-AVR Archive   Posted: Thu Dec 27, 2012 7:30 pm   Subject: Efficient arctangent approximation

http://www.mikrocontroller.net/articles/AVR-CORDIC
/Per
Did you notice the "Siehe auch" in the article?

It leads to (G.J. Lay): If we could improve these there is no urgent need for Cortex. But ...
  Topic: Efficient arctangent approximation
olhexy

Replies: 26
Views: 2041

PostForum: BASCOM-AVR Archive   Posted: Thu Dec 27, 2012 2:40 pm   Subject: Efficient arctangent approximation
Hardware acceleration is not a solution in this case as this Atan2 is just a part of a great deal of math.
But it is together with Sqrt a large part of the crunching so compressing these would be rea ...
  Topic: Efficient arctangent approximation
olhexy

Replies: 26
Views: 2041

PostForum: BASCOM-AVR Archive   Posted: Thu Dec 27, 2012 1:35 pm   Subject: Efficient arctangent approximation
I am (was) also very interested in faster math functions... Actually a few years ago I was fascinated by the Newton Raphson (NR) division http://en.wikipedia.org/wiki/Division_%28digital%29 to see if ...
  Topic: Efficient arctangent approximation
olhexy

Replies: 26
Views: 2041

PostForum: BASCOM-AVR Archive   Posted: Mon Dec 24, 2012 11:42 am   Subject: Re: Efficient arctangent approximation
Hi guys!
This time I have a rather tricky math question that i'd like to share with you.

Among all trig functions, Atan() or Atan2() are the most useful ones in all cases where we want to deal wit ...
  Topic: Is Help/Update supposed to work?
olhexy

Replies: 2
Views: 210

PostForum: BASCOM-AVR Archive   Posted: Sun Nov 25, 2012 4:07 pm   Subject: Is Help/Update supposed to work?
Ah I forgot this... Once a year, when the update comes, I have to close Bascom. And then Richt-click Bascom and select "Run as administrator"

http://www.mcselec.com/index2.php?option=com_forum& ...
  Topic: Is Help/Update supposed to work?
olhexy

Replies: 2
Views: 210

PostForum: BASCOM-AVR Archive   Posted: Sun Nov 25, 2012 2:01 am   Subject: Is Help/Update supposed to work?
I get a message that a new version (2.0.7.6) is available.

And a link Go to Register is presented.

Instead of selecting the link I preferred to press "OK" and wanted to use Help/update from wit ...
  Topic: Moving dot on LCD
olhexy

Replies: 7
Views: 475

PostForum: BASCOM-AVR Archive   Posted: Wed Jul 04, 2012 2:16 pm   Subject: Moving dot on LCD
See help locate

LOCATE y , x

Remarks

X
Constant or variable with the position. (1-64*)

Y
Constant or variable with the line (1 - 4*)

* Depending on the used display


See also ...
  Topic: About $waitstate and CONFIG XRAM
olhexy

Replies: 7
Views: 318

PostForum: BASCOM-AVR Archive   Posted: Sat Jun 30, 2012 10:42 pm   Subject: About $waitstate and CONFIG XRAM
Thanks for your answer.
I have 2 STK200 boards. 1 is old with At908515 and I want to use that for some quick tests with GLCD and XRAM.
The other board has an Mega162V where I want to use XRAM too, ...
  Topic: About $waitstate and CONFIG XRAM
olhexy

Replies: 7
Views: 318

PostForum: BASCOM-AVR Archive   Posted: Sat Jun 30, 2012 8:34 am   Subject: About $waitstate and CONFIG XRAM
How do I set these sector limits with CONFIG XRAM?
Or are they derived from $xramstart and $xramsize?
(BTW: My chip options do not write these in my program.)
The sector limit could differ from siz ...
  Topic: About $waitstate and CONFIG XRAM
olhexy

Replies: 7
Views: 318

PostForum: BASCOM-AVR Archive   Posted: Thu Jun 28, 2012 7:51 pm   Subject: About $waitstate and CONFIG XRAM
the waitstate is already a part of the config xram : CONFIG XRAM = mode , Waitstate=wls
this is for old chips that have no sections.
you could specify CONFIG XRAM = mode , Waitstate=wls or CONF ...
  Topic: About Help/Update
olhexy

Replies: 7
Views: 494

PostForum: BASCOM-AVR Archive   Posted: Thu Jun 28, 2012 7:09 pm   Subject: About Help/Update
Thanks JC. You confirmed that it can work.

So I did try: Start/AllPrograms/MCS Electronics/BASCOM-AVR

Then: right click the BASCOM-AVR icon and select "Run as Adminstrator"

Then: give permiss ...
 
Page 10 of 12 Goto page Previous  1, 2, 3 ... 9, 10, 11, 12  Next
All times are GMT + 1 Hour
Jump to: