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

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

Now I tryed exactly the SAME code on both serial0 and serial1. [code:1:ccb38e0d81] Config Com1 = 9600 , Synchrone = 0 , Parity = None , Stopbits = 1 , Databits = 8 , Clockpol = 0 Config Com2 = 9600 ,...

View Article


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

hello sunmat I too had some strange problems with bytematch it only worked with the 100ms delay see here in the code I posted...

View Article


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

When using "Input" command, the ending chars on sending and receiving side must be the same. A terminal sends CRLF on the end of the message. (CR = ascii 13 , LF = ascii 10) So when receiving from a...

View Article

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

you say the code is exactly the same, but it isnt.

View Article

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

[quote:2f333b5784="Paulvk"]strange problems with bytematch it only worked with the 100ms delay[/quote:2f333b5784] It's my believe from the shown sample, that you don't understand exactly what you're...

View Article


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

Hello MWS Yes I can and will improve on that code in the future as I have a number of working servers that send out the time in that way. Why I used integer I can only put down to getting from some...

View Article

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

[quote:f034acaf2d]you say the code is exactly the same, but it isnt[/quote:f034acaf2d] What I mean is that configuration for both com ports is same regarding speed and buffers size. And interrupt...

View Article

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

when you use bytematch, serial buffered input is used. thus all data is received using interrupts. during this interrupt, no other interrupt can occur. so while processing the bytematch routine,...

View Article


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

This is a bit of a guess. It sounds like your string is to small to me. Try Dim ADCHEX as String * 14 or more as a test. Just to eliminate the possibility that you are corrupting memory outside of...

View Article


BASCOM-AVR : Adc and pwm : REPLY

Peace to all what if I want inverted pwm to drive P-channel mosfet for a buck converter to be used in a MPPT controller.

View Article

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

[quote:43b9a50935]did you post the code that sends the data? [/quote:43b9a50935] Look at very beginning of the post. Data is send every second. [quote:43b9a50935]while code should behave the same, the...

View Article

BASCOM-AVR : Adc and pwm : REPLY

In the datasheet search for table "Compare Output Mode, Fast PWM".

View Article

BASCOM-8051 : BASCOM 8051 compatibility : NEWTOPIC

So I am just starting to work on something new that requires a Silabs C8051F930 http://www.silabs.com/products/mcu/lowpower/Pages/C8051F92x-93x.aspx I love Bascom and use it now for all of my projects...

View Article


BASCOM-AVR : Powerdown and RC5 waekup. : NEWTOPIC

Hi, I have a problem with detecting rc5 when the atmel is in powerdown mode. The program should be awake when pressing any rc5 on the remote and do a reset when i press only 1 specific key. It never...

View Article

BASCOM-AVR : Powerdown and RC5 waekup. : REPLY

[quote:09ce28cf79="harrydejonge"][code:1:09ce28cf79]'------------------------------------- M A I M -------------------------------------[/code:1:09ce28cf79][/quote:09ce28cf79] Is this a hint on what...

View Article


BASCOM-AVR : Powerdown and RC5 waekup. : REPLY

You're aware that a level interrupt is executed as long as the pin level matches ? Means at pin low the uC is 100 percent busy executing the ISR.

View Article

BASCOM-AVR : Powerdown and RC5 waekup. : REPLY

[quote:17e5eecdd7="MWS"]You're aware that a level interrupt is executed as long as the pin level matches ? Means at pin low the uC is 100 percent busy executing the ISR.[/quote:17e5eecdd7] MWS How do...

View Article


BASCOM-AVR : Powerdown and RC5 waekup. : REPLY

[quote:59f5897978="harrydejonge"]How do you mean, the pin from RC5 is connected to int6. And this pin is not low.[/quote:59f5897978] The pin changes according the decoded IR signal, it will be high,...

View Article

BASCOM-8051 : does Bascom support SiliconLabs C8051F controller Family? : REPLY

This is old, wonder if any more support for Silabs MCU's came out with Bascom 8051. I am looking at a C8051F930 project at the moment and after a few great years of Bascom AVR I am not wanting to...

View Article

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

After several hours testing, I will conclude this with information that there is a bug in serial input procedure. So. This is sending process: [code:1:9eeb1b6432]do waitms 1000 ADCHEX = "1234567890#"...

View Article
Browsing all 20562 articles
Browse latest View live


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