Цитата:
Сообщение от ElectricMobile
Я забив і купив нормальний датчик...
Доречі, може хто знає як ініціалізувати грамотно MAX7219 і як відправити будьякий малюнок, на 2,3,4 матрицю... бо на першу я і сам вмію... Для такого модуля з 4х матриць 8х8:
http://ru.aliexpress.com/item/4in1-M...2_73_74_75,0_0

|
Проанализируй код часов, из подписи.
Из LedControl.h:
void setRow(int addr, int row, byte value);
/*
* Set all 8 Led's in a column to a new state
* Params:
*
addr address of the display 0,1 ... numDevices
* col column which is to be set (0..7)
* value each bit set to 1 will light up the
* corresponding Led.
*/
void setColumn(int addr, int col, byte value);
Инициализация:
for (int x=0; x<numDevices; x++)
{
lc.shutdown(x,false); //The MAX72XX is in power-saving mode on startup
lc.setIntensity(x,brightness); // Set the brightness to default value
lc.clearDisplay(x); // and clear the display
}