BASCOM-AVR : call sub in interrupt : REPLY
when calling user functions/subs from interrupts you need : $frameprotect = 1
View ArticleBASCOM-AVR : call sub in interrupt : REPLY
Thank you. I search solve this error 7 days... but it easy ))) Why it is off by default in 2076?
View ArticleBASCOM-AVR : call sub in interrupt : REPLY
because it is not recommended to call user subs from an interrupt. when it would be on by default, it generates more code. so this option is only for the user that really want to call user functions...
View ArticleBASCOM-AVR : call sub in interrupt : REPLY
In r3,sreg cli ... Out sreg,r3 This no big code ) may be add info about "By default the frame protection is off. " in FAQ or "Newbie problems"?
View ArticleBASCOM-AVR : Any Port of Arduino CapSense library to Bascom-AVR : REPLY
I needed this to measure water level. Tried the getrc command. It works with capacitor like 0.01uF. But does not work for water level (2 strips of aluminium foil attached on small plastic container)....
View ArticleBASCOM-AVR : Any Port of Arduino CapSense library to Bascom-AVR : REPLY
Hi, Maybe use a small cap connected to one plate and you pin on the AVR, and the other plate to ground. That way you read the resistance between the 2 plates, which varies depending on the water...
View ArticleBASCOM-AVR : Baud Rate Auto Detection : NEWTOPIC
Hello all, i need to come up with a way to detect the baud rate on a system that was designed many years ago, I have no technical information on the system so i need to figure out a way to detect the...
View ArticleBASCOM-AVR : Input -> parsing string : REPLY
Hi All, i have the same problem but i dont get a solution. I try to read the first byte in an arr's first and then the rest into the second part of this array, this is what i unterstand in the help...
View ArticleBASCOM-AVR : Any Port of Arduino CapSense library to Bascom-AVR : REPLY
Thank you Ian. In fact, I have read your page before. But did not notice the capacitor. Also, you wrote '...and abit of bit rounding as the output value isn't linear' and this made me confused (as I...
View ArticleBASCOM-AVR : Any Port of Arduino CapSense library to Bascom-AVR : REPLY
Hi, Just try it with a larger tank, we're just charging a cap through an AVR pin and discharging it through the tank so the voltage shouldn't matter too much. Try filling you tank slowly taking...
View ArticleEASY TCP/IP : Atmega32 and Wiznet W5100 : REPLY
In the text you are talking about a atmega32. In the code you put in this forum and in the rar-files an atmega8 is used. Could that be the problem? When you got your hardware finished and programmed,...
View ArticleBASCOM-AVR : Baud Rate Auto Detection : REPLY
Do you have access to an O'scope? If so, just measure the bit time. A low cost logic analyzer will easily let you see the bit parttern, to verify the format, (N81, etc). With a digital storage scope...
View ArticleBASCOM-AVR : Baud Rate Auto Detection : REPLY
Hi there thanks for the reply, I actually modified the code i found a little bit and so far it seems to be working good, i've tested it with a range of different baudrates from 110 all the way to...
View ArticleBASCOM-AVR : Any Port of Arduino CapSense library to Bascom-AVR : REPLY
After adding capacitor it worked! :D Thanks a lot. I tested it with the previous small container. Digit changes, I understand it would work better in larger tank. By the way, I don't know excel (have...
View ArticleBASCOM-AVR : DWORD variable and Sqr : NEWTOPIC
Syntax of Sqr: var = SQR( source ) Why as a source for calculating Sqr can not be used DWORD variable - and WORD can be. Regards [b:67b2166ca4][color=red:67b2166ca4](BASCOM-AVR version : 2.0.7.6...
View ArticleBASCOM-AVR : Small bug in the IDE (?) : NEWTOPIC
Hello, I recently upgraded to the latest version of Bascom AVR - 2.0.7.6. With earlier version I set a wav sound file for programming (USBASP). After completing program/write it played. Now it does...
View ArticleBASCOM-AVR : Small bug in the IDE (?) : REPLY
do you use auto program ? or manual program? are you sure the wav files are still selected? and that the volume is on?
View Article