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

BASCOM-AVR Old versions : timer overflow and wait statement confuse me!? : REPLY

You are calling "wait 3" inside your ISR (Interrupt Service Routine). While processing an ISR the global interrupt is disabled. When the ISR takes longer as the timer overflow, the interrupt flag is...

View Article


Share your working BASCOM-AVR code here : Arduino Mega W5100 ethernetshield...

Nice! Thanks for this sample, it is very helpful Bojan

View Article


BASCOM-AVR : DCF77 time with big characters : NEWTOPIC

hay all. what I will is the (dcf_sec)time to view this in custom fonts but how to? I have now... Set_font Glcdvet_font Lcdtext Time$ , 61 , 13 , Inverted , Rotate_0 >>> this will not view the...

View Article

BASCOM-AVR Old versions : timer overflow and wait statement confuse me!? : REPLY

thanks a lot laborratte i understand it. now i change my code as below and it work nice. other question! what is happen when hardware stack become overflow? processing stopped or reset occur?...

View Article

BASCOM-AVR : data loss using inkey #2 with software UART : NEWTOPIC

I tried to set up a simple serial communication (9600,8,n,1) between my AtMega88 and a serial device. First I tested the device using Hyperterm on the PC - everything works fine. Since the device...

View Article


BASCOM-AVR : data loss using inkey #2 with software UART : REPLY

Hi, try to use the interrupt on pin you use for Software uart, to get attention if byte rx. I will give you parts of a project of mine, which uses Interrupt Receive on soft serial: You have to change...

View Article

Share your working BASCOM-AVR code here : Arduino Mega W5100 ethernetshield...

i also found out, that sometimes sd-card works more stable with different settings... to change SPI settings at runtime for different Hardware i do it this way: [code:1:4569579720] '( *** SPCR SPI...

View Article

BASCOM-AVR : data loss using inkey #2 with software UART : REPLY

Hi Michael, thanks very much for the reply and the neat solution. :D My concern ist that in this case my interrupt based the soft clock will not properly work any longer, because the receive loop can...

View Article


BASCOM-AVR : data loss using inkey #2 with software UART : REPLY

[quote:9b8abd1e99="jwolf"]I learned that >Print #1< always will send a sequence >CR LF< at the end.[/quote:9b8abd1e99] Then it might help you to learn, that a semicolon at the end...

View Article


BASCOM-AVR : data loss using inkey #2 with software UART : REPLY

Huuu... [quote:882b99f0ce]Prosaically circumscribing [/quote:882b99f0ce] english for runaways :lol: :lol: :lol:

View Article

BASCOM-AVR Old versions : timer overflow and wait statement confuse me!? : REPLY

[quote:1107b15fa5]what is happen when hardware stack become overflow? processing stopped or reset occur? [/quote:1107b15fa5] most likely the system gets crazy. There is no operating system that...

View Article

BASCOM-AVR : data loss using inkey #2 with software UART : REPLY

[quote:d08abffae0="six1"]english for runaways[/quote:d08abffae0] I break together :D

View Article

BASCOM-AVR : data loss using inkey #2 with software UART : REPLY

I noticed one thing. Sometimes receiving processing for one sign is much slower than ready function "input". I understand that at the time of receiving the data at the time of execution of the main...

View Article


BASCOM-AVR : data loss using inkey #2 with software UART : REPLY

Thank you MWS for the educative answer: sorry for the prosa, I am not a software engineer, but you are fully right that it is obvious to use the expression <print var ;> to avoid sending a...

View Article

BASCOM-AVR : data loss using inkey #2 with software UART : REPLY

jwolf, you can change my sample code to read only one byte and return. with pointer to array pos, it might be easy. also use pushall, popall!

View Article


BASCOM-AVR : data loss using inkey #2 with software UART : REPLY

Michael, [quote:ca3f84a0b6="six1"]with pointer to array pos, it might be easy.[/quote:ca3f84a0b6] just checked your code a bit closer, tell me: why do you disable/enable external interrupts within the...

View Article

BASCOM-AVR : data loss using inkey #2 with software UART : REPLY

because of this was a very special case... i only used INT to get first char of stream and ended reading by timeout. the master plan wasn't to read byte by byte with int! in fact i don't wanted to...

View Article


BASCOM-AVR : [ask] read sms in siemens c55 : NEWTOPIC

how command at the command to read sms siemens c55 which the contents of the sms is one letter "y" ? thank [b:4e31bb1f9a][color=red:4e31bb1f9a](BASCOM-AVR version : 1.11.9.8 , Latest : 2.0.7.6...

View Article

Share your working BASCOM-AVR code here : RHT03 (DHT22) Sensor : REPLY

I got Peter's code to work without problems with an ATtiny4313. I use it with a Parallax ping transducer to measure the fluid level, temperature and humidity in the head space of a septic holding...

View Article

Share your working BASCOM-AVR code here : Autopilot using PNI V2Xe Compass...

Peter: If you go to my profile you will find my email address there. Send me your email address and I will send you the circuit diagram. Alan

View Article
Browsing all 20558 articles
Browse latest View live


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