Files
Kevin Thomas 6a9090915b Initial commit
2026-07-06 21:23:12 -04:00

53 lines
2.5 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800">
<style>
.bg{fill:#0a0a0f}.pnl{fill:#12121a;stroke:#1a1a2e}.hdr{fill:#12121a}
.title{font:bold 42px 'Courier New',monospace;fill:#00ff41}
.sub{font:bold 28px 'Courier New',monospace;fill:#00d4ff}
.txt{font:24px 'Courier New',monospace;fill:#c0c0c0}
.dim{font:20px 'Courier New',monospace;fill:#888}
.grn{font:bold 24px 'Courier New',monospace;fill:#00ff41}
.red{font:bold 24px 'Courier New',monospace;fill:#ff0040}
.cyn{font:bold 24px 'Courier New',monospace;fill:#00d4ff}
.amb{font:bold 24px 'Courier New',monospace;fill:#ffaa00}
.badge{stroke:#00ff41;rx:14}
</style>
<rect class="bg" width="1200" height="800"/>
<rect class="hdr" x="0" y="0" width="1200" height="100" rx="0"/>
<text class="title" x="600" y="52" text-anchor="middle">Source Code</text>
<text class="dim" x="600" y="88" text-anchor="middle">0x0017_constants.c</text>
<!-- Code Panel -->
<rect class="pnl" x="30" y="110" width="1140" height="470" rx="8"/>
<rect x="50" y="125" width="1100" height="440" rx="6" fill="#0a0a0f" stroke="#1a1a2e"/>
<text class="dim" x="70" y="155">//--- Defines and Constants ---</text>
<text class="cyn" x="70" y="185">#define FAV_NUM 42</text>
<text class="cyn" x="70" y="215">#define I2C_PORT i2c1</text>
<text class="cyn" x="70" y="245">#define I2C_SDA_PIN 2</text>
<text class="cyn" x="70" y="275">#define I2C_SCL_PIN 3</text>
<text class="amb" x="70" y="305">const int OTHER_FAV_NUM = 1337;</text>
<text class="dim" x="70" y="345">//--- Main Loop ---</text>
<text class="txt" x="70" y="375">lcd_set_cursor(0, 0);</text>
<text class="txt" x="70" y="405">lcd_puts("Reverse");</text>
<text class="txt" x="70" y="435">lcd_set_cursor(1, 0);</text>
<text class="txt" x="70" y="465">lcd_puts("Engineering");</text>
<text class="dim" x="70" y="505">//--- Serial Output Loop ---</text>
<text class="txt" x="70" y="535">printf("FAV_NUM: %d\r\n", FAV_NUM);</text>
<text class="txt" x="70" y="558">printf("OTHER_FAV_NUM: %d\r\n", OTHER_FAV_NUM);</text>
<!-- Right side: Output -->
<rect class="pnl" x="30" y="595" width="555" height="100" rx="8"/>
<text class="sub" x="50" y="628">LCD Output</text>
<text class="grn" x="50" y="660">Line 0: "Reverse"</text>
<text class="grn" x="50" y="685">Line 1: "Engineering"</text>
<rect class="pnl" x="615" y="595" width="555" height="100" rx="8"/>
<text class="sub" x="635" y="628">Serial Output</text>
<text class="txt" x="635" y="660">FAV_NUM: 42</text>
<text class="txt" x="635" y="685">OTHER_FAV_NUM: 1337</text>
<!-- Footer -->
</svg>