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

BASCOM Project Blog : Making A Meter with the 32 x 8 matrix display : REPLY

Now the I2C buss. This program is a test program searching for devices on the buss and displaying their addresses on the matrix as they are found, wait two seconds between each then get the...

View Article


BASCOM-AVR : How to read calibration bytes for OSCCAL? : NEWTOPIC

Hi, I use atmega8 with internal 8MHz clock. In datasheet there is statement that "During reset, hardware loads the 1MHz calibration byte into the OSCCAL register..." Also "These bytes reside in the...

View Article


Various : how to convert bascom programming this program C : REPLY

sorry, but me very confused with program

View Article

BASCOM-AVR : How to read calibration bytes for OSCCAL? : REPLY

in short : you need a programmer, then read the bytes, and then in your code write to osccal. this is from the mega8A pdf : Writing the calibration byte to this address will trim the Internal...

View Article

BASCOM-AVR Old versions : How to use the FM24C64_256 lib : REPLY

Hi Mark, one Question, can i use 24c512 chips. I think, with modifikations at the lib it works. But i know only 1 assembler command !nop. grettings from germany (35`c hot)

View Article


BASCOM-AVR : How to read calibration bytes for OSCCAL? : REPLY

Yes, I read this few times. Just hoped, that "manually" means write manually some code to do it :) In my case I have 50+ identical devices. It will be real pain to read calibration in programmer, then...

View Article

BASCOM-AVR : How to read calibration bytes for OSCCAL? : REPLY

it is the way atmel designed it. in xmega there are better options. bootloader has nothing to do with it. atmel suggest to read the calibrated value and store it in eeprom. then you can read it in the...

View Article

BASCOM-AVR : How to read calibration bytes for OSCCAL? : REPLY

Hi, Why not use a pin in the Atmel, connected to your Serial port, and pulse this pin at a known frequency. In your PC app see how fast/slow the pin pulses and send a correction Byte that you save in...

View Article


BASCOM-AVR : BASCOM TERMINAL emulator don't see Attiny2313 messages (on t :...

Hello My hardware : Attiny2313 and 10 Mhz external quartz (work fine) USB programmer USBASP (work fine) Converter USB to TTL (with PL2303HX chip) Work fine when i by pass rx-tx...

View Article


BASCOM-AVR Old versions : BASCOM TERMINAL emulator don't see Attiny2313...

the TX of the processor must be connected to RX of the converter. the RX of the processor must be connected to the TX of the converter.

View Article

BASCOM-AVR Old versions : BASCOM TERMINAL emulator don't see Attiny2313...

Thanks, it's working. Yves

View Article

BASCOM-AVR Old versions : How to use the FM24C64_256 lib : REPLY

it should work for the 24xx512 as well.

View Article

BASCOM-AVR : PC Wheel with Force Feedback : NEWTOPIC

I wrote PC Wheel and Gamepad with Force Feedback in BASCOM-AVR (no assembler :D ). It simulate Logitech [b:937a2d72e9]G25[/b:937a2d72e9], [b:937a2d72e9]Driving ForceĀ™ Pro[/b:937a2d72e9] and...

View Article


BASCOM-AVR Old versions : Atmega32a adxl345 I2C communication error : REPLY

Oh, thank you for your help, it works now

View Article

BASCOM-AVR : USART, Baud rate, and Crystal : REPLY

i enhanced the baud calculation : when the processor has a double baud switch , the error will be calculated for the double baud as well, and the best one will be chosen. this should give the smallest...

View Article


BASCOM-AVR : Problems making CTC mode in Timer0 and Timer2 to work. ATMeg :...

Hi All, I have spent the last 3 days trying to make Timer0 and Timer2 to work in CTC mode. I am running BascomAVR 2.0.7.2 in Windows7 Pro 64bit. I wrote several variants of the code; configuring the...

View Article

BASCOM-AVR Old versions : Problems making CTC mode in Timer0 and Timer2 to...

the simulation of timers is very limited. from the help : [PICTURE notice.jpg]The TIMER simulation only simulates TIMER0 and 16 bit TIMER1. And only counting/time modes are supported. PWM mode is not...

View Article


BASCOM-AVR Old versions : Problems making CTC mode in Timer0 and Timer2 to...

Hi Mark, nice to read you. More than 10 years since we sent emails one to each other. Thank you very much for your so fast answer. Although I am a Bascom8051 user since 1999 I am a novice with the...

View Article

BASCOM-AVR : Best and faster programming practice : NEWTOPIC

Hello, What is the faster executed code methode and best programming practice if a = 5 and b <= 10 and c= 120 then code = 23 endif if a = 5 then if b <= 10 then if c= 120 then code = 23 endif...

View Article

BASCOM-AVR Old versions : Best and faster programming practice : REPLY

the condition can only become true if all 3 conditions are true. so the other of them does not matter. but it matters in case one of the conditions is not true. in such a case the second form will be...

View Article
Browsing all 20558 articles
Browse latest View live


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