That means if the Current Source Register is once set, it can only be reset by making a reset by pulling RSTN to low? And it can't be reset by the 'init bit'?
of course I already have a code for one matrix,
mounted yeah, going no. the code isn't working.
If you do a software reset and set the shdn-bit to 0, are all controll registers resetted then (set to defaultvalues) ? because thats not written in the datasheet.
And i'm not talking anymore about the shdn-bit but about the init-bit.
And I have a second code for two matrix, where I just wanna understand the logic
the CS is 0x00, so the leds won't light!
Both codes are yours which you posted here.
My hardware is working for sure, I measured each pass.
when I uncomment the for-loops the programm crashes!
the compiler crashes!
void AS1130config(unsigned char ram, unsigned char command, unsigned char data)
for (int i=0x01;i<=0x24; i++)
why do I need to read through your reply again? Is there something I missunderstood?
then call AS1130_config(i, 2*j+1, Frames_Data[data]); twice!! (what do you think is wrong with that?)
Nope, that's a part of your code I didn't change. I don't call it twice.
You don't know how much time I'm investigating in this project.
But I also have to do lots of other things that I can't concentrate the whole time on only this project
Please don't be angry, I'm really thankful for your help!
So the only problem is that underscore?
I just have to change it like that: AS1130config(i, 2*j+1, Frames_Data[data]);
and then it's okay?
or what do you still mean with 'calling it twice'?
AS1130_config(i, 2*j+1, Frames_Data[data]); <------FIRST CALL data++;AS1130_config(i,2*j, Frames_Data[data]); <-----SECOND CALL data++;
because the compiler doesn't work with underscores!