Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tuSendBuf[0] = 0x84; // 0b10000110 -- Channel 0 and 0-3xvref range Single Ended
- tuSendBuf[1] = 0x88; // 0b10001000 -- Channel 0 and External Clock Mode Control
- //tuSendBuf[2] = 0x80; // 0b10000000 -- Channel 0 Start Conversation
- tuRes = spiTransfer(tuSendBuf,tuRecBuf,1,file);
- tuSendBuf[0] = 0x88; // 0b10001000 -- Channel 0 and External Clock Mode Control
- tuRes = spiTransfer(tuSendBuf,tuRecBuf,1,file);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement