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

BASCOM-AVR : How to program for >1 PCINT? : REPLY

Hi Evert, So program a generic goto, then check each pin as you said, then act.... Is it possible for both to happen at the exact same time? Or just program it so it could, just in case? Thanks for...

View Article


BASCOM-AVR : Eram : REPLY

Hello Tubeampman EEPROM takes longer Regards Paul

View Article


BASCOM-AVR : Eram : REPLY

Hi Thanx for fast answer :-) Øyvind

View Article

BASCOM-AVR : Question about programming : REPLY

So there is no way i can program it without buying a programmer and uploading the boot loader first?

View Article

BASCOM-AVR : Question about programming : REPLY

Yes you have to program it with a boot loader first using a programmer Programmers are very cheap now. Regards Paul

View Article


BASCOM-AVR : Question about programming : REPLY

How about using this: http://wewannalearn.blogspot.com/2011/11/avr-programmer-how-to-make.html ?

View Article

BASCOM-AVR : Question about programming : REPLY

Yes. This is SIProg. I made it with PonyProg years ago and work to this time with Compaq NX9005 without external power supply :D SiProg is supported by AvrDude so for newest chips You can use...

View Article

BASCOM-AVR : Atmega2560 : REPLY

Hi Toto, My opinion without any evidence to back it up is that it is a hardware problem rather that software. Transients can really spoil your day. I say this with a background of using RS485 for...

View Article


BASCOM-AVR : Question about programming : REPLY

Hello, only for some chips : you can do an atmega-arduino bootloader, but you need a arduino uno first I find that in french :...

View Article


BASCOM-AVR : Question about programming : REPLY

My opinion: As a beginner, I would not spend time and money in an "as cheap as possible" programmer. What a beginner needs is a reliable, rock solid programmer, like the AVR MK2. Imagine your first...

View Article

BASCOM-AVR : Question about programming : REPLY

Well i have to finish something in the next few days and i can't get a programmer on such short notice so i will have to try the serial/lpt method and hope it will work.

View Article

BASCOM-AVR : coupling 2 atmega via RS 232 or SPI ? : NEWTOPIC

Dear All, I am kindly asking for your advice how I may proceed. I programmed a ATMega328 ( = CPU A) to control the movement of a stepper motor ( basically creating signals e.g. stepper-clock,...

View Article

BASCOM-AVR : coupling 2 atmega via RS 232 or SPI ? : REPLY

Hi, Why not use an ISR (Interrupt service routine) to handle the stepper motor. I've done something like that for a board with a LCD and a L297/L298. The main loop calculates how often the ISR should...

View Article


BASCOM-AVR : ATXmega 384C3 code size limit? : NEWTOPIC

Hello, I have a strange problem with my program size. I use the ATXmega384C3 with compiler version 2.0.7.7/build 2.0.7.7.004 At round about 81% Flash size I can't add any code line getting one more...

View Article

BASCOM-AVR : ATXmega 384C3 code size limit? : REPLY

Hi Frank, 81% of 384Kb is a huge Bascom program. Your bug sounds like a compiler bug, contact support with an exact description of the problem. Regards Ian Dobson

View Article


BASCOM-AVR : double < 0 : NEWTOPIC

Dim test as double test = 12345 IF test < 0 then 'some time fail . . . IF test < 0.0 then 'work good . . . why? [b:fb21a3a560][color=red:fb21a3a560](BASCOM-AVR version : 2.0.7.7...

View Article

BASCOM-AVR : double < 0 : REPLY

0 and 0.0 are the same and will give the same result. if you compile 2 different samples and compare the output you will find they are (binary) identical. so please produce a sample that demonstrates...

View Article


BASCOM-AVR : coupling 2 atmega via RS 232 or SPI ? : REPLY

yes it is simplest to use a timer ISR. It can create all signals. you can use a byte variables named bStepSate and check its value in the ISR. Then based on the value you take some action and change...

View Article

Share your working BASCOM-AVR code here : MAX31855 Thermocouple : REPLY

Thank you for sharing ! Good example for SHIFTIN.

View Article

BASCOM-AVR : double < 0 : REPLY

http://wiki.mcselec.com/bavr/Language_Fundamentals/#Floating-Point_Complications

View Article
Browsing all 20555 articles
Browse latest View live


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