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 ArticleBASCOM-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 ArticleVarious : how to convert bascom programming this program C : REPLY
sorry, but me very confused with program
View ArticleBASCOM-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 ArticleBASCOM-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 ArticleBASCOM-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 ArticleBASCOM-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 ArticleBASCOM-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 ArticleBASCOM-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 ArticleBASCOM-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 ArticleBASCOM-AVR Old versions : BASCOM TERMINAL emulator don't see Attiny2313...
Thanks, it's working. Yves
View ArticleBASCOM-AVR Old versions : How to use the FM24C64_256 lib : REPLY
it should work for the 24xx512 as well.
View ArticleBASCOM-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 ArticleBASCOM-AVR Old versions : Atmega32a adxl345 I2C communication error : REPLY
Oh, thank you for your help, it works now
View ArticleBASCOM-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 ArticleBASCOM-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 ArticleBASCOM-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 ArticleBASCOM-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 ArticleBASCOM-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 ArticleBASCOM-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