Quantcast
Channel: MCS Electronics Forum
Browsing all 20577 articles
Browse latest View live

BASCOM-AVR : DWORD variable and Sqr : REPLY

But unfortunately it gives me an error: Error : 242 Line : 557 Source variable does not match the target variable [ 39|___LTMPB] , in File : C:UsersMarcinDesktopSterownik agregatuSterownik Aktualne...

View Article


BASCOM-AVR : DWORD variable and Sqr : REPLY

But unfortunately it gives me an error: Error : 242 Line : 557 Source variable does not match the target variable [ 39|___LTMPB] , in File : C:UsersMarcinDesktopSterownik agregatuSterownik Aktualne...

View Article


BASCOM-AVR : DWORD variable and Sqr : REPLY

var should be dword too.

View Article

BASCOM-AVR : DWORD variable and Sqr : REPLY

I understand, thank you, now it's fine. P.S. When this two variables declared as DWORD (var and source), and whilst taking advantage of the library "mcsbyteint.lbx" appears another error: Error : 61...

View Article

BASCOM-AVR : Small bug in the IDE (?) : REPLY

i did a test and indeed the code to play the wav is not called when auto program is used. without auto program it should play. While testing i also found that if the file name has double quotes, a...

View Article


BASCOM-AVR : DWORD variable and Sqr : REPLY

yes but that is because the default num->string conversion supports longs and dword too. if you do not need that and only use bytes, you can use the alternative lib, but as soon you want to print a...

View Article

BASCOM-AVR : Baud Rate Auto Detection : REPLY

My post at http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=10942&highlight=autobaud which you quoted also allows to detect non-standard baud rates. It...

View Article

BASCOM-AVR : Input -> parsing string : REPLY

dont know what is in the stream but : S11 = Left(ser_buf(2) , 7) And Nmeaheader = "$GPGGA" , which is 6 characters long , so if ser_buf(2) ="$GPGGAx"it will not work. maybe you need to change 7 into 6?

View Article


BASCOM-AVR : Any Port of Arduino CapSense library to Bascom-AVR : REPLY

Hi, Maybe I can find the excel table I used. When yes I'll post a link to it here. Regards Ian Dobson

View Article


BASCOM-AVR : Input -> parsing string : REPLY

[code:1:e9848e54b5]My Do Loop: Do S11 = Left(ser_buf(2) , 7) Loop Until S11 = Nmeaheader [/code:1:e9848e54b5] This loop has a little sense. In case S11 is not equal Nmeaheader, you never get out of...

View Article

BASCOM-AVR : Small bug in the IDE (?) : REPLY

I use manual programming. Tried removing double quote, but it did not play. I am using windows 7, and the wav file is on c:. This time it programmed ok without erasing the chip before. Regards.

View Article

AVR-DOS : Bootload over FTP : REPLY

Update: After a weeks accelerated testing, I have not been able to demonstrate a faulty bootload over FTP. Security is dependent only on the checksum at the end of each line of the boot.hex file,...

View Article

BASCOM-AVR : Reset program via ethernet : REPLY

Got it working now. The following code has been inserted in the main program loop. As there is a Waitms 750 in this loop the code is executed every 750+ ms. Now what happens if a UDP message coming...

View Article


BASCOM-AVR : Input -> parsing string : REPLY

I dont no really whats going on but i read in some other threads that there is a "invisible" <LF> as first Char in the String that i receive from the uart. I think that is the reason for reading...

View Article

BASCOM-AVR : how to transfer a single number from a atmega8 to another vi :...

[quote:c276e74370="albertsm"]sure it is possible. have a look at the spi master and slave sample. the only thing you need to do is to add some protocol so the data is synchronized. or you could use an...

View Article


BASCOM-AVR : 670KHz square wave signal : NEWTOPIC

Hi, With an ATmega8 with 4Mhz quartz, can I have a pwm, or a square wave signal with a frequency of 670KHz? thanks [b:46b0d7fd25][color=red:46b0d7fd25](BASCOM-AVR version : 2.0.7.6...

View Article

BASCOM-AVR : 670KHz square wave signal : REPLY

As one option you could use the internal RC oscillator set to 4 MHz and use OSCCAL to adjust the clock to 4 020 000 Hz. Or any possible multiplier of 670KHz that can be divided by 2, to get a 50% duty...

View Article


BASCOM-AVR : Software update through the internet? : REPLY

Oha! The header say it all: Skill level (*****) From the first quick look, I can't find a bootloader. Maybe the whole network bootloader idea is a little over my skill level (*)....

View Article

BASCOM-AVR : Reset program via ethernet : REPLY

Check this free nw terminal tool, I found it to be useful and handy....

View Article

Robotics : 5servo control : NEWTOPIC

سلام به همه من میخوام تعدادی سروو موتور ور راه اندازی کنم اما با توابع بسکام امکان قراردادن پله های دقیق نبود برای ایجاد پله های دقیق باید چه کرد ؟ همچنین من برنامه ای میخوام که بتونه 5 سروو موتور رو...

View Article
Browsing all 20577 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>