Quantcast
Browsing all 20606 articles
Browse latest View live

BASCOM-AVR : Exponent ^ with variable problem : REPLY

works for me. you should specify which processor you use. or better, give a small but complete program that can be tested.

View Article


BASCOM-AVR : Find out if bootloader is present in flash : REPLY

check out cpeek() and cpeekH()

View Article


EASY TCP/IP : Arduino Ethernet shield not working with atMega1280 ? Modbus :...

Hi, maximum SPI clock speed should be 4MHz by using W5100 with Mega1280 you changed xtal to 18432000 Hz that meens: 18432000 / 4 (SPI clock divider) = 4608000 too fast :-) best, michael

View Article

BASCOM-AVR : Find out if bootloader is present in flash : REPLY

Thanks a lot, I knew it was like peek, but I only found PEEK for registers.

View Article

BASCOM-AVR : KTM-S1201 serial LCD help needed : REPLY

Maybe you need to shiftout as word 16bits ,I dont know but you can try

View Article


BASCOM-AVR : Exponent ^ with variable problem : REPLY

hi, i working with mega644 nik

View Article

BASCOM-AVR : pulse length capture : REPLY

hi Hubert [quote:e5251236f6]If you just want the high or low time in a pulse, then just read the timer in a loop and count system clocks with the other. [/quote:e5251236f6] It's like a reversed freq...

View Article

BASCOM-AVR : pulse length capture : REPLY

With prescale = 1 you can easily get a race-condition, let's say int0 triggers while tcnt1 is at 65500. Saving the processor-registers costs 60 cycles, the additional calculations till you read it,...

View Article


BASCOM-AVR : Exponent ^ with variable problem : REPLY

the result in bascom simulator is [b:1bfc7e6ef6]0.0[/b:1bfc7e6ef6] the result in lcd (mega644 pcd) is[b:1bfc7e6ef6] NAN[/b:1bfc7e6ef6] I try some another setting with variables but nothing! nik

View Article


BASCOM-AVR : Exponent ^ with variable problem : REPLY

Works for me too, I get the correct result with two singles. A bit slow-witted ? Else, show some code, as was requested. Likely stack and frame is too small, or not declared at all. Such produces this...

View Article

BASCOM-AVR : Virtual USB-port for AVR : REPLY

Откуда "256-bit PWM"?

View Article

EASY TCP/IP : Arduino Ethernet shield not working with atMega1280 ? Modbus :...

I'm sorry, I forgat to mention that I had tryed all clock divisions also. :(

View Article

BASCOM-AVR : pulse length capture : REPLY

whitout ovfl_isr it's works perfectly.[code:1:95fa8882c6] $regfile = "m16def.dat" $crystal = 16000000 $hwstack = 32 $swstack = 8 $framesize = 32 $baud = 38400 'Config Portb.4 = Output 'for test On...

View Article


BASCOM-AVR : Config Timer0 for ATtiny2313 : REPLY

Hello Visovian; Thank you for the fast and complete response - You have opened up some new avenues for me. I immediately started googling the terms TCCR0A and WGM01 for instance, and found a wealth of...

View Article

BASCOM-AVR : Exponent ^ with variable problem : REPLY

The wrong is mine! i don't declared at all in begin! thank you to all!!! :D

View Article


BASCOM-AVR : KTM-S1201 serial LCD help needed : REPLY

[quote:d4f9d24b73="ztardik"]Thanks, I'll check this out later today.[/quote:d4f9d24b73] I've just ruined my test board. I'm sitting in the hotel room and looking at the smokin' hot controller :( The...

View Article

BASCOM-AVR : pulse length capture : REPLY

Cant help you on the overflow case till I look at it a bit more. But the assignment [code:1:2945b3e06b] dim I as word I = tcnt1 'or I = timer1 'or I - counter1 [/code:1:2945b3e06b] should all compile...

View Article


BASCOM-AVR : Filling byte arrays : REPLY

Here is an ASCII to Morse code program I played with tree years ago. It is crude and could have been coded much more efficient and elegant but that was not the requirement then. Maybe it is of some...

View Article

BASCOM-AVR : Config Timer0 for ATtiny2313 : REPLY

Bascom recognises virtually all the names for registers and bit assignments that Atmel have defined. For the register names, see the Atmel documentation. You can also see a list of most of the bit...

View Article

BASCOM-AVR : Config Timer0 for ATtiny2313 : REPLY

Another option is to look in the .DAT file for whatever chip you're working on. It's a simple text file located in the BASCOM root directory and has all of the names of the registers, bits,...

View Article
Browsing all 20606 articles
Browse latest View live