Erik Slagter

Results 74 comments of Erik Slagter

Actually this (my) code appears to be wrong and not working. The principle is a bit neater (with the union) but the rest is wrong. At this point rboot has...

I can figure that, it took me some experimenting and crashing before I realised what's really going on here. What my code version of the code does is mostly the...

But as you have a little more "users" than I do, I'd rather have this reviewed well or not applied. In that case I will keep it in my fork.

What my code does is copy the struct from I/O address space to RAM, neatly aligned in chunks of four bytes. After that you can access any of the struct...

> This appears to copy 16 bytes, although the structure is only 9 including the checksum byte we aren't checking. On the other hand, if anyone were to add to...

> is it possible to provide a small sample, where this lib is included ? Have a look here: http://github.com/eriksl/attiny861_1 What are you making?

> the address of my slave should be 0x55 and the commands are: > 0x01 : led on > 0x02 : led off > But nothing is working. The first...

> I wonder if this library "usitwislave" can be used on ATmega328p > (arduino uno) or at least is there a chance to make it run on ATmega if >...

On 24-04-14 00:27, ilaam wrote: > For a special case I need to use an I2C slave software library and not > the I2C hardware module of the ATmega. USI...

Yes, reSTARTS are not supported, for a large part due to the limitations of USI. So make it two separate transactions: START set register STOP START read register STOP.