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

BASCOM-AVR : programming AD9850 - problems with precision of multiplicati :...

Sorry, I could not find any related information in the BASCOM Help-file. A search for "Floating-Point Errors" did not show any result. :( But thanks to the suggestion from MWS to use CONFIG SINGLE I...

View Article


BASCOM-AVR : programming AD9850 - problems with precision of multiplicati :...

A search for "Floating point errors" in Bascom Help will find the chapter heading "Language fundamentals" Scroll down through this ( long ) chapter to find the entries about Floating point. Round off...

View Article


Share your working BASCOM-AVR code here : Si7005 temperature and humidity :...

Thanks Paul! Gary

View Article

BASCOM Project Blog : Build a Webserver with ENC28J60 +AVR : REPLY

when DIM var AT address is used, the change exist you might need to change the code because some chips have SRAM starting at &H60, &H100 or &H200 or &H1000

View Article

Share your working BASCOM-AVR code here : Si7005 temperature and humidity :...

thanks for sharing. I hope the collection keeps growing :-)

View Article


BASCOM-AVR : I2C clock error : REPLY

Hi All Here a exemple of code with XMEGA128D3 and DS1307 (Hardware I2C) it's works perfectly. i use the DS1338Z full compatible with DS1307 but in 3v3 !!! with 4.7 K pull-up on SDA and SCL the code...

View Article

Share your working BASCOM-AVR code here : Atxmega128A Xplained and Bascom :...

Have made the adapter and I am using the Atmel AVRISP mkII programmer. Under AVRstudios 4.18 build 692, I can talk to the Xplained board and read device, fuses, HW settings etc..... Under HW Info...

View Article

Share your working BASCOM-AVR code here : Atxmega128A Xplained and Bascom :...

Ok, since this was my first attempt of programming using the AVRISP mkII under BASCOM. I did what I should have done prior to posting. Since I already did I will close my own post to hopefully aid...

View Article


PCB's : Making Double Sided PCB : NEWTOPIC

Hi guys, For a fair few years now, I've been successfully making double sided PCB for my self at home and for rough prototyping (proof of concept) circuits at work. I thought that it was time that I...

View Article


BASCOM-AVR : I2C clock error : REPLY

Thank you Patrick, for the all ready code :) I am waiting for my new PCB and new xmega chip. Previous hand assembled board was not satisfactory. Best Regards, Devidas

View Article

PCB's : Making Double Sided PCB : REPLY

thanks for a really good step by step guide. the images are very clear. well done !

View Article

BASCOM-AVR : Fast PWM Mode : NEWTOPIC

Hi, I need your help. I have a ATmega8 and I must set the timer in Fast PWM Mode. The problem is that I have never used Assembler instructions in Bascom ... I saw the datasheet page 88:...

View Article

BASCOM-AVR : Fast PWM Mode : REPLY

you dont need asm : just write to the registers as you write to all other registers ! portB = somevalue 'this is normal right? portb.0= 1 'set some bit

View Article


BASCOM-AVR : Fast PWM Mode : REPLY

Or in other words, if you'd compare the timer settings of Bascom, which uses PWM Phase Correct by default, with those of Fast PWM, you'd find, that the only difference is WGM12. So a simple:...

View Article

Share your working BASCOM-AVR code here : A simple WAV file player from an SD...

Hi, is it possible to to play the wav files with variable speed? I know there is a skip function but that´s no solution. I must play the files with normal speed and sometimes faster. The Soundfiles...

View Article


BASCOM-AVR : change distance unit cm to mm : NEWTOPIC

Dear All my master i have source code for distance control with ping sensor : [code:1:21c88a68a3]'----------------------------------------------- ' ' CHIP : ATMEGA8535 ' CLOCK : 16 MHZ ' LCD : PORTC '...

View Article

BASCOM-AVR : Fast PWM Mode : REPLY

Done! :P I wanted to know if there is to make some changes to the following code to improve the square wave of about 670 KHz, that I need ... thanks [code:1:21fb323471] $regfile = "m8def.dat" $crystal...

View Article


BASCOM-AVR : Fast PWM Mode : REPLY

[quote:26169189ac="atmega64"]I wanted to know if there is to make some changes to the following code to improve the square wave of about 670 KHz[/quote:26169189ac] Doesn't look like this would give...

View Article

BASCOM-AVR : Fast PWM Mode : REPLY

@MWS Can you give us some insight, why you not satisfied with this 50/50 square wave? And where is the difference to what you proposed? Thank you.

View Article

BASCOM-AVR : Fast PWM Mode : REPLY

[quote:540fade616="for_ro"]Can you give us some insight, why you not satisfied with this 50/50 square wave? And where is the difference to what you proposed?[/quote:540fade616] Compare match after 2...

View Article
Browsing all 20688 articles
Browse latest View live


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