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

BASCOM-AVR : DS1307 At90usb1286 time not increasing : REPLY

Hi Still got the problem that the time is not updating. Tryed another DS1307-pcb made by another company. Same problem. 1Hz output is working ok. I've traced the I2C bus and can see the Data from...

View Article


BASCOM-AVR : DS1307 At90usb1286 time not increasing : REPLY

Hi! I had this problem long ago and it was a soldering problem.I can´t remember what pin but DS1307 has only 8 and you won´t have much work to do when checking continuity in all of them. Hope it...

View Article


EASY TCP/IP : ENC28J60 and Bascom ( no ping, not visible in the network ) :...

Thanks for the tip. If you have ever created PCB? I just need the network is closed or opened relay.

View Article

BASCOM-AVR : DS1307 At90usb1286 time not increasing : REPLY

Hi, Thank you for thinking with me. That's the reason I changed the DS1307-pcb. One is from adafruit and the other from Sparkfun Also check if it is supplied with 5V, the DS1307 isn't 3v3 compatible....

View Article

BASCOM-AVR : Tone generation with timers : REPLY

Hello, Is it possible this way to generate a Gong sound? Anyone know a simple solution with timer? Best regards toto

View Article


BASCOM-AVR : How to increse frequency of PWM : REPLY

Normally - PWM cycle freq is crystal / (2^number of clock bits). So for: (assuming system clock of 7372800Hz) timer0 or 2 it would be 8 bits or (7372800 / 256) = 112.5Hz timer1 or 3 it would be 16...

View Article

BASCOM-AVR : Tone generation with timers : REPLY

Maybe this helps. [url]http://elektronik-labor.de/AVR/PWMsound.html[/url] Regards, Meister

View Article

BASCOM-AVR : Problem with I2creceive versus I2crbyte : NEWTOPIC

I have a problem with M328 stopping and have tracked it down to I2creceive the device being read is a LM75A the program works sometimes once reading the lm75a sometimes it goes for 20 minutes but...

View Article


BASCOM-AVR : Tone generation with timers : REPLY

Thanks, it works. and works good. Math was never my strong suite. Im having a hard time wrapping my head around how to get the byte values for other tones.

View Article


BASCOM-AVR : Tone generation with timers : REPLY

I have figured out the formula, thanks for the help.

View Article

BASCOM-AVR : HTRC110 with XMEGA : NEWTOPIC

Hi! Did anyone tried to connect HTRC110 with [b:ad4fa25927]Xmega[/b:ad4fa25927] AVR and to use Bascom Hitag routines? I intend to, but have 'problems' with choosing INT0/1 - Xmega actually does...

View Article

EASY TCP/IP : ENC28J60 and Bascom ( no ping, not visible in the network ) :...

Hey, what is it that the ENC28J60 is not visible on the network? Error ATmega168 and ENC28J60? Does anybody have the source code just to set the ip address?

View Article

BASCOM-AVR : Problem with shift right : NEWTOPIC

Having a problem with shift right two lots of code below first compiles second does not gets error 61 ? Regards Paul [code:1:12cad1ad4a] $regfile = "m328def.dat" $crystal = 8000000 'using internal RC...

View Article


BASCOM-AVR : Problem with I2creceive versus I2crbyte : REPLY

if you do not specify the amount of bytes it will just read 1 byte. this should read 2 bytes : I2creceive &H9F , Lm75temp , 0 , 2

View Article

BASCOM-AVR : Problem with shift right : REPLY

mmmh, shifting a floating point number doesn't make any sense to me. Maybe error 61 is BASCOM's way to tell that. Define Lm75temp as long or dword.

View Article


BASCOM-AVR : Problem with I2creceive versus I2crbyte : REPLY

Ok Mark I thought that it would read 2 as the variable was 2 bytes. Regards Paul

View Article

BASCOM-AVR : Problem with shift right : REPLY

Yes it appears that way but what I have is two's compliment with the last 5 bits as not wanted so load the two bytes into a single at the right most two bytes, the last 5 bits are not wanted so move...

View Article


BASCOM-AVR : Problem with shift right : REPLY

the fp_trig lib is missing a reference. edit the lib or lbx and make it look like this : [_ShiftSR] ; Shift Single floating point right is aquivalent to divide by 2, 4, 8, 16 etc. ; Input: _Temp2:...

View Article

BASCOM-AVR : Problem with shift right : REPLY

you use a single and the single shift is used. if you want a 'normal' shift you need to overlay with a long.

View Article

BASCOM-AVR : Problem with shift right : REPLY

Thankyou Mark Now I know I am just doing something silly, just still learning :D Regards Paul

View Article
Browsing all 20771 articles
Browse latest View live


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