Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - ZLee

#1
Hi Sakuyal,

It's funny I went through the exact same process as you a couple of weeks ago while I was writing the Minecraft Compass Tutorial https://tinycircuits.com/blogs/learn/minecraft-compass for the TinyScreen+.

It turns out you can display about 13-15 bitmaps within the flash and RAM.

I have attached the compass code here, a converter that actually works, and the images I converted!

Basically, all you have to do is create a Sprite object and associate it with a bitmap in a header file:
Sprite compass1 = {offscreen, -14, 96, 96, 0, minecraft_compass1};

In this case, minecraft_compass1 is a bitmap within sprites.h that was generated with the attached converter.

Please let me know if you have any more issues with this project :)
#2
It depends on the voltage drop of your LED. Most likely, you will still need a small resistor.

However, if the voltage drop is very near 3.3v, which is quite possible with a white LED, then you will not need the resistor.
#3
I would try using this extension by Microsoft.  https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.vscode-arduino

Also, if you are ok using visual studio, I can confirm that debugging TinyCircuits products is fairly easy using the visual micro extension for visual studio.

https://www.visualmicro.com/

Let me know if you need any further help, I will be happy to post a guide.
SMF spam blocked by CleanTalk