Share your working BASCOM-AVR code here : How to use 2 MSGEQ7 to give 14...
Paulvk, Thank you for your nice contribution ! Really, it makes the code very clean. If someone wants to know why the ADC value is multiplied by 5 and then divided by four ( *1,25 ), that is because...
View ArticleBASCOM-AVR : Atmega-128AU : REPLY
Hello, I have one more problem. I loaded bootloader but it does not work. I use pins RXD0 a TXD0. I do not know if I have to change COM port in the bootloader. The default COM is Com1.
View ArticleBASCOM-AVR : Inline assembler register conventions : NEWTOPIC
Hi, In the "Mixing ASM and BASIC" help file, I have found this info: Y is used as the SW stack pointer. R4 and R5 are used to point to the stack frame or the temp data storage R6 is used to store some...
View ArticleBASCOM-AVR : Debugging and optimization : NEWTOPIC
Hi, Sorry for a newbie question, but am I right to believe that Bascom has a simulator but not a debugger? If so, is it possible to use one of the Bascom compiler output files (.obj?) for debugging in...
View ArticleBASCOM-AVR : Inline assembler register conventions : REPLY
ASM-Code between Bascom statements can use any registers freely without need of saving, beside those mentioned, of course. It's different in an ISR, there you don't know which instruction was...
View ArticleBASCOM-AVR : Debugging and optimization : REPLY
[quote:b4f549f65b="Kimmeridgien"]but am I right to believe that Bascom has a simulator but not a debugger?[/quote:b4f549f65b] Where do you draw the line between them? [quote:b4f549f65b](.obj?) for...
View ArticleBASCOM-AVR : Debugging and optimization : REPLY
Hmmm, I thought that the simulator doesn't run on the actual circuit, whilst a debugger does (via JTAG, debugWire et al). It seems I need to read up. ;-) Thanks mate!
View ArticleBASCOM-AVR : Debugging and optimization : REPLY
Debugging is a wide field... [url]http://en.wikipedia.org/wiki/Debugger[/url]
View ArticleBASCOM-AVR : Reading & writing to internal EEPROM : REPLY
:D Thanks bibibo, I solved it using my original way of writing and reading to the internal EEPROM by just getting rid of references to the eram variable V and substituting B for the V. i.e....
View ArticleBASCOM-AVR : GPS Listing Program : REPLY
'sirf protocol------------------------------------------------------------------ 'gpgga : $GPGGA, 161229.487,3723.2475,N,12158.3416,W,1,07,1.0,9.0,M ' type utc latt n/s long e/w fix sateliteused hdop...
View ArticleBASCOM-AVR : XMEGA SDRAM not working : REPLY
I do not see this example in the SAMPLES/XMEGA directory. All references to XRAM are in the DMA directory. Did this make it in the sample of the 2.0.7.6?? TIA, Mark
View ArticleBASCOM-AVR : 18B20 errors : NEWTOPIC
For some time now I have had a problem with rogue temperatures from the Dallas 18B20 sensor, and have decided to do some investigation. This problem is on about 20 different boards so is not a faulty...
View ArticleShare your working BASCOM-AVR code here : Test code for reading a L3G4200D...
What the meaning of this code in the below, the number of 256 and 40 Thanks [code:1:03308a39ae]n= x/256 : n=n+ 40 : print "{027}[10;"; n; "H|"; n= y/256 : n=n+ 40 : print "{027}[11;"; n; "H|"; n=...
View ArticleBASCOM-AVR : Ask Code : NEWTOPIC
I have a code from this page [url]http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&p=60815#60815[/url] I would like to ask about the program description below...
View ArticleBASCOM-AVR : 18B20 errors : REPLY
In the 32x8 matrix clock circuit a 5.1K pull up is used. Regards Paul
View ArticleShare your working BASCOM-AVR code here : Test code for reading a L3G4200D...
areefzack, Its just to scale the values and the using ANSI escape sequences to print at a position on the line to visually show the changes in value. -Glen
View ArticleShare your working BASCOM-AVR code here : Test code for reading a L3G4200D...
areefzack, Its just to scale the values and the using ANSI escape sequences to print at a position on the line to visually show the changes in value. -Glen
View ArticleBASCOM Project Blog : AVR DDS? : NEWTOPIC
I am working on a project where I need a digitally controlled adjustable frequency between roughly 50khz and 1mhz. But the catch here is I need a full output triangle wave. I was doing some research,...
View Article