Post Created date
ATtiny416 I2C Master and Slave
So why can't he just use the same i2c bus with two masters and the sensor as a slave , the at416 can just read from the sensors as a master , and when it receives its own address...
Friday, 21 September 2018 - 15:48
Interfacing Ultrasonic module using Interrupt and Timer
why are you setting the INT0 interrupts but configuring the ISC10 which is the INT1 interrupt (edge or level ) triggering configuration ? is that what you want to do? if not what...
Thursday, 23 August 2018 - 14:29
USB ASP read flash+EEPROM+Fuses works fine but programming did not work
I basically use the same chinese ASP programmer , and used it to program atmega32 and tiny before but i use PROG-ISP instead of extreme burner. also I don't recall ever using slow...
Saturday, 11 August 2018 - 17:23
MAX7219 Simple interfacing problem
thanks for the help this worked , although when i changed the uint8_t to a char , it didn't work i have no idea why shouldn't changing to char would've also solved the problem?
Friday, 3 August 2018 - 22:12
MAX7219 Simple interfacing problem
So something like this? void shift8bit(unsigned char data){ unsigned char mask=0x80; for(;mask;mask>>=1){ if(data&(mask)){...
Friday, 3 August 2018 - 22:10
MAX7219 Simple interfacing problem
i think it loops from 7 to 0 so i can use ' i ' to test every bit of the argument data come to think of it i have no idea what it will do in the last iteration with the uint8_t...
Friday, 3 August 2018 - 21:31
while (!(TWCR & (1<<TWINT))); never become 1 " TWI I2C ATmega328p "
Hello, are you using external pull ups ? , if not and you want to use internal pull ups you can do this by setting PORTC high on the SDA,SCL Pins on your controller.  
Sunday, 29 July 2018 - 20:07
Serial monitor gives wrong values /Multiple_IRQ_REQUESTS crash
sternst wrote: if(~(PIND&(1<<ECHO))){Won't work. Either use ! instead, or change the parentheses.   I think changing it to ! fixed it , timer1 was always...
Tuesday, 17 July 2018 - 10:50
ATMEGA32-ISR won't change my global variable
okey i understand what you mean, thanks everyone for your help.
Tuesday, 10 July 2018 - 13:47
ATMEGA32-ISR won't change my global variable
oh i get it now, so i needn't even use reti() and the program returns to where it should automatically , it works fine now. but i thought reti would just pop the address from the...
Tuesday, 10 July 2018 - 12:54