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

BASCOM-AVR : I2C clock error : NEWTOPIC

Hi, I am trying to use 1307 I2C clock in xmega256D3 I am getting this error, Error : 5 Line : 167 No more space for BIT [TWI_START] , in File : C:Documents and SettingsAdministratorMy DocumentsMCS...

View Article


BASCOM-AVR : LCD not working with ATmega32m1 : REPLY

:oops: :oops: :oops: Thanks everyone, it was Rs and E inverted on the LCD. So sorry that I didn't spot it earlier !!! I certainly won't disagree with Mark's Stats!!! Regards Larry

View Article


BASCOM-AVR : LCD not working with ATmega32m1 : REPLY

indeed another case for the stats :D but thanks for letting us know.

View Article

BASCOM-AVR : I2C clock error : REPLY

have a look at the xmega in the help. great info, especially when you are new to xmega. and also look at the samples. in your case you must add this : dim TWI_START as byte

View Article

Share your working BASCOM-AVR code here : HONEYWELL HIH-6130/21 Humidity...

thank you for sharing. good to know ! Had no idea SHT was so far off.

View Article


BASCOM-AVR : [help] program is not working as it should : REPLY

order to detect a call ringing at c55 command is AT + CALM, 0 = ring and 1 = silent how an incoming call, it will die portb.0 for 1 hour ??

View Article

BASCOM-AVR : I2C clock error : REPLY

Thanks Mark, Yes. I need to read all help in BASCOM. Now all syntax and compile errors are gone. But i2c clock not working. My mcurevid is coming 4 and I am getting err = 1 after doing any i2c. Is it...

View Article

BASCOM-AVR : CLOCK Output en-/disable by program? : NEWTOPIC

En-/ disabeling system clock output is normaly done by setting / resetting Fusebit B. Can this also be done by program code? Thanks! MHz [b:d8e09dcd69][color=red:d8e09dcd69](BASCOM-AVR version :...

View Article


EASY TCP/IP : Atmega32 and Wiznet W5100 : REPLY

[quote:51470433a9="WXYZ"]You wrote: "Both of the Leds are blinking [orange and green]." In my opinion You have periodically Reset of module. In normal work green Led should shine continuously... And...

View Article


BASCOM-AVR : Library Variable Definiton : REPLY

Greetings, Gentlemen! I have some questions about EM4095 RFID reader and ATmega128: is it possible to work/handle with it on m128 controller using BASCOM either? Or I have to try to write my own...

View Article

BASCOM-AVR : Library Variable Definiton : REPLY

sure it will work. i did not test it with every micro but it should work for the m128

View Article

BASCOM-AVR : I2C clock error : REPLY

did you add config twic=100000 and did you had a look at the XMEGA samples ? it is best to use hardware twi. you can use $forcesofti2c See the help.

View Article

BASCOM-AVR : Library Variable Definiton : REPLY

Dear, Mark [quote:adb2c83711="albertsm"]sure it will work. i did not test it with every micro but it should work for the m128[/quote:adb2c83711] It [b:adb2c83711]must[/b:adb2c83711] work. But how? It...

View Article


BASCOM-AVR : I2C clock error : REPLY

Yes Mark, I read all samples, made all forum search of xmega , i2c and made corrections. Full day looking for it. Also made correction to i2c code by adding extra i2cstop. (which I had never done for...

View Article

BASCOM-AVR : I2C clock error : REPLY

You forgot [b:e61389c612]RETURN[/b:e61389c612] after the I2cstop #4 in your Getdatetime sub.

View Article


BASCOM-AVR : I2C clock error : REPLY

What Ds1307 are you using? How did you connect it? Looking quick at google the DS1307 has an supply voltage of 5V and the xmega256D3 a supply voltage of 3.6V.

View Article

BASCOM-AVR : CLOCK Output en-/disable by program? : REPLY

Looking at the datasheet (M168) it can only be set/reset with the fuse.

View Article


BASCOM-AVR : WS2811/2812 LED strip & Assembler code : REPLY

Having studied the "MWS Mathematical Principle", I have now discovered new formulae that describe the natural world: 1. Vector Mathematics [code:1:b01dda8792] NOP:NOP:NOP:NOP:NOP NOP 'M NOP 'W NOP 'S...

View Article

BASCOM-AVR : I2C clock error : REPLY

Dear Evert, The DS1307 runs on 5 volt. But its inputs / outputs are open drain and vinhigh is 2.2 volt. so connecting it to a micro of 3.3 volt works. Thank you for suggesting a non programming...

View Article

BASCOM-AVR : I2C clock error : REPLY

do you use pull up? did you connect the sda/scl pins properly? try to toggle the used pins to see if you use the right pins. try some other programs to see if it works. read the errata from atmel for...

View Article
Browsing all 20558 articles
Browse latest View live


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