BASCOM-AVR : Overlay bitfield works only for $60 address. Bug? : REPLY
you can not overlay a bit. i will add an error message.
View ArticleBASCOM-AVR : atmega128 problem : REPLY
do you use a legal registered version? if not, you can get this nice random effect.
View ArticleBASCOM-AVR : Overlay bitfield works only for $60 address. Bug? : REPLY
Beside that you don't define an actual variable (you overlay also the bytes), which will give you the problem that the first declared real variable will share the same position as your overlayd ones,...
View ArticleBASCOM-AVR : XMEGA crystal oscillator can not be turned off : REPLY
yes you do not need asm, normal basic will do fine.
View ArticleBASCOM-AVR : XMEGA crystal oscillator can not be turned off : REPLY
Hi Mark, Can you be a bit more elaborate. Do you say that: 'Cpu_ccp = &HD8 'CCP override 'Osc_ctrl = &B00000010 'stop crystal (if running) should bite just as well as Liborattes assembler? Or...
View ArticleBASCOM-AVR : Overlay bitfield works only for $60 address. Bug? : REPLY
Thank you for hint with Aliases for bits. I've wrote something like that: [code:1:d1c2ac26f0]$sim $regfile = "m8def.dat" $swstack = 40 $hwstack = 32 $framesize = 32 Dim Byte1 As Byte At $65 Bit1_0...
View ArticleBASCOM-AVR : atmega128 problem : REPLY
[quote:bccf429179="JC"]Have a look at this and see if it helps get you started. It was an LED flasher for a board I modified. I have removed most of the comments and just the code appears. You can...
View ArticleBASCOM-AVR : Adc and pwm : NEWTOPIC
Hi to all I am trying to generate a frequency of 31.5 kHz for a buck converter, I will also use ADC (10 bit) to change the pulse width from minimum to maxim. I am comfortable with the other part of...
View ArticleBASCOM-AVR : atmega128 problem : REPLY
hi, how did you setup fusebits ? LOW = B3 HIGH = D9 ??
View ArticleBASCOM-AVR : LCD > character on one place : NEWTOPIC
Hello World How can I keep a character on one place if the value for the character shifting. example: 800 mA mA is a fixed place and 800 can also 0 or 4000 but mA must by a fixed place. how can i do...
View ArticleBASCOM-AVR : LCD > character on one place : REPLY
Locate 1.5 Lcd "mA" do 'your read of adc here locate 1.1 ' lcd xxx ' the 800 loop
View ArticleBASCOM-AVR : XMEGA crystal oscillator can not be turned off : REPLY
I did not look into it, i only wanted to say that instead of the asm, you could do it in basic as well. so i did not check the PDF or the registers. I advise to read the errata of the pdf. i do know...
View ArticleBASCOM-AVR : atmega128 problem : REPLY
there is no problem with the compiler. you can best contact support. send a zip file with the source and all created files. and do not forget to mention the serial number. some people download...
View ArticleBASCOM-AVR : need help for simple clock application with backup : REPLY
config clock will setup the clock for async mode. you do need to connect a 32768 Hz crystal. This clock is very precise. you can use the SYSSEC() function to get a variable holding the date and time....
View ArticleBASCOM-AVR : LCD > character on one place : REPLY
As Kimmi mentioned, use the Locate instruction to locate the LCD cursor at a specific location. You probably want to overwrite the old data with spaces, first, however. Otherwise locating the cursor...
View ArticleBASCOM-AVR : atmega128 problem : REPLY
[quote:b3177be04f="albertsm"]there is no problem with the compiler. you can best contact support. send a zip file with the source and all created files. and do not forget to mention the serial number....
View ArticleBASCOM-AVR : atmega128 problem : REPLY
[quote:575c567b7c="kimmi"]hi, how did you setup fusebits ? LOW = B3 HIGH = D9 ??[/quote:575c567b7c] Hi Kimmi, thank you four your interest indeed.There is no problem with the fuse bits.It works in...
View ArticleBASCOM-AVR : atmega128 problem : REPLY
[quote:a6b9bf231d="derili_mustafa"][quote:a6b9bf231d="albertsm"]there is no problem with the compiler. you can best contact support. send a zip file with the source and all created files. and do not...
View ArticleBASCOM-AVR : Adc and pwm : REPLY
Hi to all Forum members As I said I want to generate the frequency of 31.25 Khz and have write the following code, I have not used the ADC yet as I want to fixup the PWm thing first, but I am getting...
View ArticleBASCOM-AVR : Adc and pwm : REPLY
Error in code !! Config Timer1 = Pwm , Pwm = 10 , Compare A Pwm = Clear Down , Compare B Pwm = Clear Down , [b:192995e125]Prescale = [color=red:192995e125]9[/color:192995e125] [/b:192995e125]
View Article