<source src=/images/2024-04-26-endbasic-st7735s-snake.mov type=video/mp4></video><figcaption>EndBASIC running the snake game on the Raspberry Pi with the ST7735s console, showing the final graphics support as well as interaction with the physical buttons.</figcaption></figure><h1 id=build-your-own-developer-kit>Build your own Developer Kit</h1><p>Does the above sound cool? Do you want to play with it? Here are the parts you’ll need to build you own:</p><ul><li><p><strong><a href="https://www.amazon.com/ELEMENT-Element14-Raspberry-Pi-Motherboard/dp/B07BDR5PDW?&linkCode=ll1&tag=blogsystem5-20&linkId=cab45a45b3e43934d489486d416be7a0&language=en_US&ref_=as_li_ss_tl">Raspberry Pi 3 B+</a>:</strong> I suppose a newer model will work but I don’t have one to try it out; let me know if it does! I also have my eyes on the <a href="https://www.amazon.com/gp/product/B074P6BNGZ?th=1&linkCode=ll1&tag=blogsystem5-20&linkId=1f5bdad0f78d4512685cda89db5c6d87&language=en_US&ref_=as_li_ss_tl">Libre Computer Board - Le Potato</a>, but if you go this route, know that it will <em>definitely</em> require extra work in EndBASIC to be functional. Hardware donations welcome if you want me to give it a try 😉.</p></li><li><p><strong><a href="https://www.amazon.com/CanaKit-Raspberry-Supply-Adapter-Listed/dp/B00MARDJZ4?&linkCode=ll1&tag=blogsystem5-20&linkId=ef82e298644b68298cd9bf5559b74aaa&language=en_US&ref_=as_li_ss_tl">CanaKit 5V 2.5A Power Supply</a>:</strong> Yes, the Raspberry Pi is USB-powered but you need a lot of power for it to run properly—particularly if you are going to attach any USB devices like hard disks. Don’t skimp on the power supply. This is the one I have and works well.</p></li><li><p><strong><a href="https://www.amazon.com/PNY-Elite-microSDHC-Memory-P-SDU32GU185GW-GE/dp/B07R8GVGN9?th=1&linkCode=ll1&tag=blogsystem5-20&linkId=33a25c49f236d8bd6e8f2259a6c57148&language=en_US&ref_=as_li_ss_tl">PNY 32GB microSD card</a>:</strong> Buy any microSD card you like. The SD bay is incredibly slow no matter what and 32GB should be plenty for experimentation.</p></li><li><p><strong><a href="https://www.amazon.com/gp/product/B077Z7DWW1?ie=UTF8&psc=1&linkCode=ll1&tag=&linkId=7a97236b22ca32377d308871eedde6fc&language=en_US&ref_=as_li_ss_tl">waveshare 1.44inch LCD Display HAT 128x128</a>:</strong> The star product of this whole article! You may find other LCD hats and I’m sure they can be made to work, but they’ll require code changes. Hopefully the abstractions I implemented make it easy to support other hats, but I can’t tell yet. Again, hardware donations welcome if you want to keep me busy 😉.</p></li></ul><p>Once you have those pieces, get either Raspbian or Ubuntu, flash the image to the microSD, and boot the machine. After that, you have to build and run EndBASIC from unreleased sources until I publish 0.11:</p><div class=highlight><pre tabindex=0 class=chroma><code class=language-shell data-lang=shell><span class=line><span class=cl>$ cargo install --git<span class=o>=</span>https://github.com/endbasic/endbasic.git --features<span class=o>=</span>rpi
0 commit comments