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

BASCOM-AVR Old versions : Timer-Interrupts : REPLY

Hello!! Evert Sorry for the delay. I made the modification and STK500 card use and I mark mistake !! Something's wrong? My code: [code:1:e87331033d]$regfile = "m16adef.dat" $Crystal=4000000...

View Article


BASCOM-AVR Old versions : Timer-Interrupts : REPLY

Add a variable: [code:1:6d58754dab]Dim Zs As Bit Dim Bz As Byte Dim Bz1 As Byte[/code:1:6d58754dab] The full code but because no PORTA.7 does not blink? [code:1:6d58754dab]$regfile = "m16adef.dat"...

View Article


BASCOM-AVR Old versions : Timer-Interrupts : REPLY

[quote:5d8c998710="Evert :-)"]Depends how you connected your button. If you connected it between pinc.0 and gnd you need a pull-up resistor to vcc. You can enable this with [code:1:5d8c998710]portc.0...

View Article

BASCOM-AVR Old versions : Timer-Interrupts : REPLY

Try it ;) [code:1:8ead48d244]$regfile = "m16def.dat" $Crystal=4000000 $hwstack=40 $swstack=16 $framesize=32 Config Pind.0 = Output : Led_0 Alias Portd.0 : Led_0 = 0 Config Pind.1 = Output : Led_1...

View Article

Share your working BASCOM-AVR code here : SSD1306 LCD SPI-mode library :...

Library for SPI4 OLED displays. Support text & pictures. [b:1d923f8de3]Note![/b:1d923f8de3] Usually SSD1306 displays has default "Alternative COM pin configuration", but some has "COM Left/Right...

View Article


BASCOM-AVR : ATxmega128B3 : REPLY

Hi, The hardware serial port does not work properly. Can anybody make a test with a 128B3 ? Best regards Georges

View Article

BASCOM-AVR Old versions : Timer-Interrupts : REPLY

Hi EDC !! Many Thanks!! :P :P :D :smt038

View Article

BASCOM-AVR : problem with delay using motion sensor : NEWTOPIC

i want to control light in 2 rooms using motion sensor (pir sensor).each room has pir sensor. if motion detect in one of the room then uc will activated a relay to turn on the light for 10 seconds and...

View Article


BASCOM-AVR : problem with delay using motion sensor : REPLY

Post your code then we try to tweak it :P Even if you don`t know how to configure Timer then you can in loop insert small delay eg. 100ms and when one sensor enable relay then set some variable for...

View Article


Share your working BASCOM-AVR code here : WEB Server based CLOCK with NTP...

Hello everyone. Maybe I never post that simple code but I wana show mistake I made who cost me whole day of thinking :D I`m not big fan of Arduino PCB`s because its description terminology. To do...

View Article

BASCOM-AVR : ATxmega128B3 : REPLY

$regfile = "xm128b3def.dat" $crystal = 32000000 $hwstack = 96 $swstack = 64 $framesize = 64 'First Enable The Osc Of Your Choice , make sure to enable 32 KHz clock or use an external 32 KHz clock...

View Article

BASCOM-AVR Old versions : problem with delay using motion sensor : REPLY

Hello!! as calculated for 100 ms? :-k

View Article

BASCOM-AVR Old versions : problem with delay using motion sensor : REPLY

It depends on the value of time? [code:1:9c93f8dc94]Waitms 100 [/code:1:9c93f8dc94] :-k

View Article


BASCOM-AVR Old versions : problem with delay using motion sensor : REPLY

thank you Mr EDC... it works...

View Article

BASCOM-AVR : ATxmega128B3 : REPLY

If you say "Doesn't receive" is it sending? What pins are you using for com1? Should be TX=C.3 RX= C.2

View Article


BASCOM-AVR : Bootloader special characters : NEWTOPIC

Using MCS Bootloader - Works great - When sending characters prior to the #123, how I can enter a carriage return? Tried usual identifiers to no avail. [b][color=red](BASCOM-AVR version : 2.0.7.9 ,...

View Article

BASCOM-AVR : ATxmega128B3 : REPLY

Hi, Thanks for your help. I use the right PINS. I think baudrate or format is not right or something like this. I communique at 8 bit, 1 stop, 9600 bauds ( GSM SIM808 ) I see character on RX with a...

View Article


BASCOM-AVR : Bootloader special characters : REPLY

{013} is a enter ;)

View Article

BASCOM-AVR : ATxmega128B3 : REPLY

Try adapt to your Xmega. For better transmision stability automatic osc calibration is enabled. Your speed 9600 is slow but for higher (I test this) calibration must be done because transmision...

View Article

BASCOM-AVR : Bootloader special characters : REPLY

Thank you very much!

View Article
Browsing all 20714 articles
Browse latest View live


Latest Images

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