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

BASCOM-AVR : INPUT funcion, Very strange behaviour in serialmatch interru :...

[quote:9ed7d8af05="sunmat"]After several hours testing, I will conclude this with information that there is a bug in serial input procedure.[/quote:9ed7d8af05] After two minutes of checking the code I...

View Article


BASCOM-AVR : INPUT funcion, Very strange behaviour in serialmatch interru :...

No, no.... 1234567890# 1234567890 1234567890 1234567890 Above show is that only first line is received correct. And this 0A 31 32 33 34 35 36 37 38 39 30 0D 0A 0A 31 32 33 34 35 36 37 38 39 30 0D 0A...

View Article


BASCOM-AVR : INPUT funcion, Very strange behaviour in serialmatch interru :...

[quote:2dbe49883e="sunmat"]Thank you.[/quote:2dbe49883e] I found especially amusing, that you disable interrupts, whereon the buffered serial in is based on, and still expect it to work properly. One...

View Article

BASCOM-AVR : INPUT funcion, Very strange behaviour in serialmatch interru :...

It seam you didn't rear all ! This is what is sent from sender 31 32 33 34 35 36 37 38 39 30 27 0D 0A and THAT is what is waiting in serial buffer to be read from INPUT function. SO THIS IS 13 BYTES...

View Article

BASCOM-AVR : INPUT funcion, Very strange behaviour in serialmatch interru :...

[quote:710ac474cb="sunmat"]It seam you didn't rear all ![/quote:710ac474cb] What do I do? [quote:710ac474cb]SO THIS IS 13 BYTES !!! NOT 11.[/quote:710ac474cb] 11 is the length the string can hold and...

View Article


BASCOM-AVR : INPUT funcion, Very strange behaviour in serialmatch interru :...

[code:1:485b55dd1e]11 is the length the string can hold and the amount Input() will read. [/code:1:485b55dd1e] What happens with CRLF after reading??? They rest in buffer as garbage? In that case...

View Article

BASCOM-AVR : INPUT funcion, Very strange behaviour in serialmatch interru :...

IMPORTANT !!!! I should apologize to everyone since I counted last 0d0a as part of received string in my previous posts (after input function). In one post, MWS pointed to that, but I was too tired...

View Article

BASCOM-AVR : INPUT funcion, Very strange behaviour in serialmatch interru :...

Not clear why using Bytematch 0x10, especially when there is no label to service it. I have succesfully tested the folowing simple code. I sent "1234567890#" +CRLF from the terminal and got...

View Article


BASCOM-AVR : INPUT funcion, Very strange behaviour in serialmatch interru :...

I use buffered serial data on m2560 with 4 uarts. and it never gave a problem. But the problem seems to be the INPUT. When a new feature is added, like config input, i sometimes add such a feature to...

View Article


BASCOM-AVR : (ask)how to output a 4bit each in 1 port : NEWTOPIC

please d corrections wherever the location was wrong :?: :?: :?: [code:1:3668f95a8b]$regfile = "m8def.dat" $crystal = 8000000 $hwstack = 40 $swstack = 16 $framesize = 32 Config Lcdpin = Pin , Rs =...

View Article

BASCOM-AVR : can someone explain the difference between sub routine and s :...

I have read the help file and the example who have for arrays But I dont understand what is better to use in my program or what is the difference between routine and sub routine for example what is...

View Article

BASCOM-AVR : Real time debugging using AVR STUDIO6 ? : REPLY

Mark, I found this old thread about making AVR studio 6.0 accept bascom obj. In order to simulate this dreaded "crystal-refuse-to-start" thing I mentioned in another thread last week, I tried Studio...

View Article

BASCOM-8051 : BASCOM 8051 compatibility : REPLY

8051F410.dat and 8051F911.DAT were the last added silab files. there is also the 8051F300.dat but no file for F930. but these files are simple to add. just use a file that is almost identical and...

View Article


Various : Uppercase : REPLY

i tested on Win8 but no problem. please post a picture of your editor settings. seems 'reformat code' is not checked?

View Article

BASCOM-AVR : (ask)how to output a 4bit each in 1 port : REPLY

Hi, I have to guess about what you like to do here but think you like to show : 1000's at Portb 0-3 100's at Portb 4-7 10's at Portc 0-3 1's at Portc 4-7 so you have 4 digits so MAx is 9999 see the...

View Article


Share your working BASCOM-AVR code here : GPS processing and status display :...

Sorry guys no pictures. I successfully fried my m128, pcf8833 display and mkII programmer. :smt022

View Article

BASCOM-AVR : how to save more power ? : NEWTOPIC

Hi everybody, I still working when I have little time on my project, and have questions about save power. On my project ( a wireless remote ) is a batterie Li-ion 3,7V 1000mA. in my project I have the...

View Article


BASCOM-AVR : how to save more power ? : REPLY

Hi, What CPU are you using? what powerdown/power saving mode are you using? I imagine that the 1.1Volt reference is whats costing you so much, mabe try switching it off before you idle. Regards Ian...

View Article

BASCOM-AVR : how to save more power ? : REPLY

Thanks for the reply. For my project i'm using the ATMega88PA. here is the actual code I use that consume the 0,485mA. [code:1:90911cf3d9]...

View Article

BASCOM-AVR : (ask)how to output a 4bit each in 1 port : REPLY

We are sorry Mr.kimmi. why can not appear to LCD though I've added a pin configuration LCD 16 x 2 and subroutines for menmpilkannya. for help in correction where the fault lies. thank you. [/url]

View Article
Browsing all 20558 articles
Browse latest View live


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