BASCOM-AVR : m128 pwm problem : REPLY
[quote:76afc2ad5a="apam"]Thanks for the information, I just found out that it does only in the 47 minute any hours.[/quote:76afc2ad5a] Sounds odd... I would remove the I2C-commands within Gettime()...
View ArticleBASCOM-AVR Old versions : xmega 32MHZ to 2MHZ switch alone : REPLY
Hi all, The switched isssue is back ... but now i have more informations. it's not the frequency base of the processor switch. (32 to 2MHZ) Serial is OK as other functions. (INT) it's "only" the wait,...
View ArticleBASCOM-AVR : m128 pwm problem : REPLY
What about the string variable Str1..Str8 why are they so small declared? Is it not possible that they overflow? Can you share the code that files those string's?
View ArticleBASCOM-AVR Old versions : xmega 32MHZ to 2MHZ switch alone : REPLY
all wait statements are timed loops. they function as long their execution is not delayed. for example : if you use waitms 1000 in the main program, and then you have an interrupt that keeps firing...
View ArticleBASCOM-AVR : m128 pwm problem : REPLY
so if you set the minutes to 46, the problem will occur the next minute?
View ArticleBASCOM-AVR : Problem with lcd and ATMEGA2560 : REPLY
Hi, LCD using the same pins as JTAG? Maybe try disabling JTAG. Regards Ian Dobson
View ArticleBASCOM-AVR Old versions : xmega 32MHZ to 2MHZ switch alone : REPLY
Tks Mark, i understand, but the only interrupt is INT0 from the DS1307 OUT clock, each 1 second. (and interrupt from com port). And why some time ? is it the same for sound function ? i will check...
View ArticleBASCOM-AVR Old versions : xmega 32MHZ to 2MHZ switch alone : REPLY
the sound statement also uses a loop. why some times? that is a good question. maybe some logic in your code becomes active? you should use an more up to date version. and you should post your...
View ArticleBASCOM-AVR Old versions : xmega 32MHZ to 2MHZ switch alone : REPLY
Mark, Some time, because the system could works 4/5 days without issue and one day !!!! In this case this is a kind of terminal, with an LCD 4x20 lines, an keyboard and an RFID reader (serial...
View ArticleBASCOM-AVR Old versions : xmega 32MHZ to 2MHZ switch alone : REPLY
looks like a nice system. I advise to use 2076 to compile the project and test it. but i also advise to send the interrupt code to support. One mistake is to check for a value : if b30 = 30 then...
View ArticleBASCOM-AVR : error detection and correction in bascom avr : NEWTOPIC
Hi is there any way to calculate hamming function in bascom avr? i need to check for errors in data transmission and correcting data if possible i send data from my pc to Atmega16,i put crc checksum...
View ArticleBASCOM-AVR : m128 pwm problem : REPLY
Thank you all for your support, I've found the error. The error is in another part of the code. With regard to the i2c bus so there everything is OK. It's a part that converts the format to...
View ArticleBASCOM-AVR : Which programmer to choose? : NEWTOPIC
Hi, you can tell me a solution as simple as possible (programming and software) to upgrade a program on a ATmega using ISP connector .... ideal for me would be: I connect the programmer to the ISP...
View ArticleBASCOM-AVR : m128 pwm problem : REPLY
[quote:b355df2098="apam"][code:1:b355df2098] Str1 = Hex(h) ´bad Cas = Val(str1) ´bad '... Str1 = Hex(m) ´bad Tempword = Val(str1) ´bad [/code:1:b355df2098][/quote:b355df2098] First you convert to a...
View ArticleBASCOM-AVR : Single problem : NEWTOPIC
Hello everyone, Below a code snippet. ***************************************** Dim Terr_set_s As String * 4 Dim Terr_set As Single Const Terr_min = 0.2 ' 0.2oC Const Terr_max = 1.5 ' 1.5oC Const...
View ArticleBASCOM-AVR : Single problem : REPLY
[quote:1a40fa697a]Any ideas, what Am I doing wrong? [/quote:1a40fa697a]Read Help - Language fundamentals - Floating-Point Complications In your code use rounding [code:1:1a40fa697a]Terr_set_s =...
View ArticleBASCOM-AVR : Single problem : REPLY
Hello, Thanks for the explanation link. Wasn't aware of this limitations. kind regards Thomas. BTW. Rounding helps but generates other problem so I will stay with the +0,01 solution.
View ArticleBASCOM-AVR : error detection and correction in bascom avr : REPLY
Maybe a little off topic but when there is data corruption should you not first look at the way the communication is working. Normally a connection between a PC and a uC would not giv any problems. I...
View ArticleBASCOM-AVR : Which programmer to choose? : REPLY
I don't know exactly what you looking for but there exsist little programming devices with a memorycard and an ISP connector. Put the program for the AVR on the memorycard, connect the ISP connector...
View ArticleBASCOM-AVR : Which programmer to choose? : REPLY
Hi, I'm currently using this for development work:-http://www.ebay.de/itm/AVR-USB-ISP-Programmer-ATMEL-ATMEGA-STK500-Neu-ATTINY-/370490000223?pt=Wissenschaftliche_Ger%C3%A4te&hash=item5642ecc35f...
View Article