Type in the full discussion title or a part of it.
Discussion Title Created date
calculate average
Hi all,   I calculate the average of 16 number with the following code in a attiny24A. This code works fine in a atmega328. The input voltage is constant so the average must...
Thursday, 12 March 2015 - 14:21
ussing different registers
Hello all, I made a delay in 2 ways and one is working fine but the other one doesn't work. I use the atmega328. My delay must be 1.6 sec. but with the non working it is much less...
Thursday, 12 December 2013 - 11:01
Z reg with displacement?
Hi there, I made a piece of code that measures 3 different values every time, and I want to store them in the SRAM. I'm able to store the 3 values in the SRAM once but I want to...
Thursday, 13 December 2012 - 11:02
TWI problem
Hi you all, I use the atmega328p as master. But I have some problem with I2C, it is working but not very well. I measure a temperature ussing a LM75A. First I send all the...
Tuesday, 27 November 2012 - 19:53
ADCH 6 bit instead of 8 bit
Hello, I made a ADC and it works nice but for one reason or another the ADCH is only filled with 6 bits instead of 8 bits. What I did is I put a 10k potentiometer to ADC3 between...
Tuesday, 30 October 2012 - 15:17
Timer1 Compare A Handler not working
Hello, I have a problem with the timer interrupt. I made a very easy interrupt (I thought). It is almost simlair to a interrupt that I use in the atttiny24A, with some changes...
Saturday, 27 October 2012 - 13:21
ADC with Atmega328
Hello, I'm stuck with a problem and I can not figure out why it can not work. I setup a interrupt that will start with a Timer1 Compare A Handler. Every time the interrupt is...
Tuesday, 23 October 2012 - 13:17
reading adch 5x and average
Hello, I use a attiny24A At the moment I read the ADC of PA2 and than do an action if the signal is below 125 decimal. My problem is that when the attiny is working in a eviroment...
Thursday, 15 March 2012 - 15:05
split up a 16 number
Hi you all I use a calculation in my program (with decimal numbers) but the value that is calculated is offcourse decimal and bigger than 8bits. Is there a easy way to convert...
Wednesday, 19 May 2010 - 13:13
constant current
Hi, I'm trying to make a constant current source. The setup is as folowed: I measure the output current and if it exceeds 2Amps I make a pwm signal high so it turns of the control...
Thursday, 15 April 2010 - 14:52
Error relative branch out of reach
Hi I've got a main program and from that main program I do a breq to hiccup As long as I only use timeoutL in the hiccup file everything goes well but if I include timeoutH also I...
Thursday, 8 April 2010 - 09:01
jump to a include file
HI I made a program in a Attiny24 That looks at a setting and due to the setting it has to jump to hiccup or latch. If I put the program in one asm-file everything is working but...
Wednesday, 31 March 2010 - 08:36

Pages