BASCOM-AVR : change distance unit cm to mm : REPLY
Hello Erwin, It is not clear what is your question... If it is "how to change the range measurement from cm to mm", then the obvious is to multiply cm by 10, ie., Range_max = Range_max * 10 But since...
View ArticleBASCOM-AVR : Line can't accept variables (???) : REPLY
good catch Kimmi. The sample itself contains the proper signs but the topic syntax description seems to have an odd - sign. I replaced it. Have no clue what that sign was.
View ArticleBASCOM-AVR : Can't start BASCOM-AVR commercial version : REPLY
maybe you use a free anti virus product on your PC ? Some are not so good and have false positives. In the past there was also one that damaged the setup. It removed some important files. I advise to...
View ArticleAVR : GLCD PWM Contrast : NEWTOPIC
Hi, could you give me an example of PWM Contrast adjustment. I thought that it is possible with N-MOSFET transistor, but probably not.
View ArticleBASCOM-AVR : Fast PWM Mode : REPLY
[quote:1fe70a7888="for_ro"]With the advantage of not setting one Register you get half of the maximum frequency. Bad deal in my view.[/quote:1fe70a7888] This gives half of the cpu clock with 50/50...
View ArticleAVR : problems with str to val : NEWTOPIC
Hi! I have encoutered some strange behaviour when converting string to value, using VAL function like this: (in main loop): [code:1:540eaf53f5]Dim Artikel_name As String * 6 Dim Artikel_address As...
View ArticleBASCOM-AVR : VAL (str to val) problem : NEWTOPIC
Hi! I have encoutered some strange behaviour when converting string to value, using VAL function like this: (in main loop): [code:1:9f1c621847]Dim Artikel_name As String * 6 Dim Artikel_address As...
View ArticleBASCOM-AVR : Getting back to main program from a Module : REPLY
I do not understand what you want to achieve with your code. Why do you not simply [code:1:547887893c]Dim Cal_no as eram byte Dim Node_no as eram byte Cal_no = 1 Node_no = 255[/code:1:547887893c] Your...
View ArticleBASCOM-AVR : VAL (str to val) problem : REPLY
Try some test runs printing the string Artikel_name, as well as the value returned from the val function. That will at least identify whether the error is in the string as read from the eeprom, or in...
View ArticleVarious : Uppercase : NEWTOPIC
I have strange problem with uppercase option on Bascom AVR 2.0.7.6 on windows 8. There is no auto uppercase option for each word, it isn't disabled in Environment/Editor. Any idea what to do. I was...
View ArticleBASCOM-AVR : VAL (str to val) problem : REPLY
Hi, thanks for confirming, that It is allowed source string containing trailing non-numeric characters. And yes, the string being read from eeprom is always correct. In 99% time VAL does correct. But...
View ArticleBASCOM-AVR : VAL (str to val) problem : REPLY
try the saveall option of the interrupt ON <int> label saveall but you really should create some small demo which can be compiled so it can be tested.
View ArticleBASCOM-AVR : Can't start BASCOM-AVR commercial version : REPLY
Hi, I deactiveted the comercial Avira and run the setup as you described. After starting the BASCOM the same errors occured. The new bugreport is attached. Kind regards, Silvan
View ArticleBASCOM-AVR : VAL (str to val) problem : REPLY
Hi, [code:1:7f1fb66ba9]$regfile = "xm128a1def.dat" $crystal = 32000000 '32MHz $hwstack = 128 $swstack = 128 $framesize = 128 $lib "xmega.lib" : $external _xmegafix_clear : $external...
View ArticleBASCOM-AVR : Can't start BASCOM-AVR commercial version : REPLY
yes avira was the one giving problems. - deactivate avira - download the bcavr.zip again from register.mcselec.com - check if the size is 30.575.037 bytes (avira migh have removed some files from the...
View ArticleBASCOM-AVR : Can't start BASCOM-AVR commercial version : REPLY
I think i don't need a download , because I purchased BASCOM-AVR on a CD. The size of setup.exe (on the CD) is 30.021 KBytes and not 30.741.302 Bytes as you wrote. Can you explain me what you mean...
View ArticleBASCOM-AVR : Can't start BASCOM-AVR commercial version : REPLY
if you have the CD the file is ok. If you have the command window , you need to change directory/folder to the bascom folder. in your case : CD "Program Files (x86)MCS ElectronicsBASCOM-AVR" then you...
View ArticleBASCOM-AVR : Can't start BASCOM-AVR commercial version : REPLY
Hi, Thank you very much for your instructions!!! I did exactly what you told me and bascom works succesfully. Now I can start programing. :D :D :D My father explained me how to use the CD-comand. He...
View ArticleBASCOM-AVR : VAL (str to val) problem : REPLY
Hello! "saveall" option did solve the problem. I have to check, what actually hapened and what this option do. I gues I'll have to dig dipper in the understanding of some crucial mechanizms of...
View ArticleBASCOM-AVR : Can't start BASCOM-AVR commercial version : REPLY
good that it works. but really odd that the setup did not do this. these same manual instructions are performed by the setup.exe on windows 7 (all versions) and windows 8 , i never had a problem. I...
View Article