Posts Tagged ‘registers’

Direct Digital Synthesizer (DDS) (Part 5)

Part 1, 2, 3, 4, 5, 6, 7, 8, 9 This is an update in the status of PlainDDS library. After revising the code and trying some suggestions made by Arduinoos visitors, I performed some intensive tests from which I have been able to draw some conclusions: – The bits setting must be executed as quickly as possible in order to keep the […]

SD Cards (Part 5)

Other posts on same subject Part 1, 2, 3, 4, 5, 6 Erratum! While building a professional grade application I realized that I made a stupid mistake in the Blocks function from my PlainSDC library. Firstly, here is a nice table showing the content of the CARD SPECIFIC DATA REGISTER: It is taken from the ‘APPLICATION NOTE 3969: SD Media Format Expands […]

Tips and Tricks (3)

Previous T&T This one deals again with arguments passed to functions/commands. This time, I wanted to pass PORTx as an argument, and possibly use its value within the function/command in order to set data direction (DDRx). The solution is pretty easy… once you know it 😉 . The exemples below illustrate two ways of achieving […]