Author: h81pEqLS3u December 1, 2015 at 02:51:40 from 188.143.234.155 in reply to: bPBEXiplaaBhnuvUneU posted by Ddadqaog on March 13, 2014 at 11:32:33
Могу предположить, что Вы не читали абзац в даташите, следующий за взятым Вами примером кода. Вот он: The code is size optimized using only eight iintructsons (+ ret). The code example assumes that the DO and USCK pins are enabled as output in the DDRB Register. The value stored in register r16 prior to the function is called is transferred to the Slave device, and when the transfer is completed the data received from the Slave is stored back into the r16 Register В нём предполагается, что Вы до вызова этой функции перевели выводы DO и USCK в режим выхода, и, предварительно занесли в r16 значение.Угадал?
Post Followup
Note: Follow-ups should only be used for information of interest to all viewers. For other inquiries or personal communication please send an email if possible or use other contact information provided.
When you return to the board you will need to do a REFRESH or RELOAD to see your followup.