Memory layout of a data structure: Difference between revisions

Content added Content deleted
mNo edit summary
Line 375: Line 375:
+ voltage (testing)
+ voltage (testing)


We can then make the following code for a new serial port type.
We can then make the following code for a new serial port <code>type</code> or <code>struct</code>:
In Julia, a <code>type</code> is a kind of struct or object. To do so, we may convert
an existing base class BitArray type, which is a subtype of Julia's DenseArray:
</pre>
</pre>
<code Julia>
<code Julia>