Added: 4 years ago
From: modxhost
Views: 5,872
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (2)

Sign In or Sign Up now to post a comment!
  • thanks for sharing. if you have the possibilty to burn bootloaders you should check ladyadas "no startup delay" version. to get rid of thos ten 10secs at the beginning.

    i'm waiting for an i2c example though :-)

  • Cheers, the 4 blinks followed by a single blink after reset is the Adaboot signature. For i2c we use the wire library, A4+A5 on both chips, and two 1.8k resistors. There are some wire/twi/i2c examples at Arduino, and some over at wiring. We've tested this arrangement using two serial devices and one chip serving as the master, and the second as slave, and it works very well. I can't post the test project because it's work related, so I'll see what else I can come up with to demo i2c :)

  • arrgh, you're right. i missed your manual reset try tried to write something smart :-/

    i could as well ask this at the forum, but does i2c conflict with RXTX functionality?

    best, kuk :-)

  • *lol* no worries, Paul Badger supplies all his 168's with Adaboot, so there's no clever on my part that it happens to be there ;) i2c uses 2 analog 4&5 (pins 27&28) on both IC's, so there's no conflict with both rx/tx (pins 2&3). The wire library is from the wiring board, which has 2 serial buffers, and arranging two 168's like this provides a similar scope of capabilities, but without the expense, and uses considerably less real estate.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more