https://github.com/numist/is31io7326_clone
Functional clone of the IS31IO7326 using an ATtiny48
https://github.com/numist/is31io7326_clone
Last synced: 9 months ago
JSON representation
Functional clone of the IS31IO7326 using an ATtiny48
- Host: GitHub
- URL: https://github.com/numist/is31io7326_clone
- Owner: numist
- License: mit
- Created: 2015-10-12T05:11:33.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2022-07-07T04:10:34.000Z (almost 4 years ago)
- Last Synced: 2025-03-18T10:51:40.430Z (about 1 year ago)
- Language: C
- Size: 6.81 MB
- Stars: 4
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# is31io7326_clone
Functional clone of the IS31IO7326 using an ATtiny48.
Key reporting and rollover detection are tested and working, all options in the configuration register are saved but do not yet influence behaviour.
## Getting started:
1. Install an avr toolchain (if you're on OS X, use [`brew`](http://brew.sh) to install `avr-libc` from [osx-cross](https://github.com/osx-cross/homebrew-avr)).
2. `cd firmware`
3. `make`
4. `make flash` and `make fuse` as necessary to program your MCU (you'll need `avrdude` for this, `brew` has it)
### Common issues:
---
`avrdude: no programmer has been specified on the command line or the config file`
`avrdude` needs to know what kind of programmer you're using. You can uncomment/edit one of the `PROGRAMMER` lines in `firmware/Makefile`, or add a `default_programmer` directive to your `~/.avrduderc`.
For more information, check out [`firmware/Makefile`](firmware/Makefile).
---
`avrdude: AVR Part "attiny48" not found.`
`avrdude` can't find a part config for the attiny48. You can resolve this by appending [`doc/attiny48.avrduderc`](doc/attiny48.avrduderc) to `~/.avrduderc`:
```
cat doc/attiny48.avrduderc >> ~/.avrduderc
```
---
## Porting to different hardware
It's possible to configure this project for different AVRs. Check out [`config/attiny48.h`](firmware/config/attiny48.h) to get familiar with the required definitions and application considerations.