The Puma
Joined: 23 Apr 2004 Posts: 227 Location: The Netherlands
|
|
Posted: Wed May 03, 2006 6:06 am |
|
|
initializing the max7221
I have call one time this routine,
my question is: must i call 10 times this routine for correct initialising 10 max chip?
| Code: | void max7221_init() {
max7221_put(DECODE_MODE,NO_DECODE_DIGITS_7_0);
max7221_put(SCAN_LIMIT,DISPLAY_DIGITS_01234);
max7221_put(SHUT_DOWN,NORMAL_MODE);
max7221_put(DISPLAY_TEST,NORMAL_OPERATION);
max7221_put(INTENSITY,DUTY_CYCLE_1);
max7221_clear();
}
|
|
|