We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
how 2 intialize at89c51ed2 for spi communication with ds1306?
"is that better?"
A little better ;)
This may be considered better:
I do not think you are right when you say "here is my code". Code has comments. I see no comments in your post. It could therefore be deduced that you have not actually posted any code for us to view.
I do admit, however, that mine is way longer than yours.
ps I totally agree with the sentiments of your original post.