TinyCircuits

Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
Tiny Arcade / Font use on screen
« Last post by johnbbq on August 07, 2018, 01:06:09 AM »
Hi there. I have tried today to print a score in our game, but I'm not sure how the font system works.

I found an example in how fonts are used here: https://tinycircuits.com/blogs/learn/tinyscreen-battery-voltage

So I put the following lines in my setup() function:

display.setFont(thinPixel7_10ptFontInfo);
display.fontColor(0xFFFF, 0x0000);

Then in the loop function, i have an scoreUpdate() function called. Here is what it is in scoreUpdate:

display.setCursor(12, 12);
  display.print(score);

(score is a global variable, initialized to 0)
As it stands, when I run the program everything on screen is "frozen" (player can't move, nothing is updating on the screen except the player and the score), and the 0 value for the score is displayed there and it's flickering constantly.

For drawing the screen I am using the drawbuffer function that came with the TinyArcade tutorial.

Could anyone point me to the right way of doing this?

Thanks,
22
General Discussion / Re: TinySaber upload not working
« Last post by Roger Lee on August 06, 2018, 02:22:54 PM »
Thanks for reply Réna,

I did not download version of Zadig ( USB driver )
That appeared to be for Windows machines.

Seems I have left out an important detail, my operating system. Sorry.
running Ubuntu 16.04
( Also tried it on Linux Mint 17 , similar results. j
I do not have easy access to Windows , but probably can find one if I have to.


Roger
23
General Discussion / Re: TinyDuino GPS Tracker not working
« Last post by lennevia on August 06, 2018, 12:06:17 PM »
I'm glad everything's working now!
24
General Discussion / Re: TinySaber upload not working
« Last post by lennevia on August 06, 2018, 12:05:30 PM »
Hello Roger,

Do you know what version of Zadig you downloaded? This may have something to do with the error you received.

Please let me know if a version fix helps or if it's still not uploading!

Thanks,
Réna
25
Tiny Arcade / How do you compare the TinyArcade hardware with?
« Last post by johnbbq on August 06, 2018, 01:43:05 AM »
Hello everyone. I was explaining to a friend how much fun we were having with the TinyArcade, and he wanted to know how does it compare in terms of hardware with old video game consoles. What do you think it would be a fair comparison to?

Cheers,
26
TinyDuino / Re: Tinyscreen+ documentation
« Last post by Hughesxz on August 06, 2018, 01:34:56 AM »
It's important that I discover this forum on google because it may be highly reliable.
27
General Discussion / Re: Serial line noise
« Last post by Hughesxz on August 06, 2018, 01:34:27 AM »
I would like to know why I can get more information and clear enough to introduce me?
28
General Discussion / TinySaber upload not working
« Last post by Roger Lee on August 04, 2018, 12:56:22 PM »
I got a TinySaber at the Detroit Maker Faire last weekend.
(my wife also got a Tiny Piano )

using arduino IDE 1.8.5
board: "TineSaber Rev2"
programmer: "arduino as ISP"

trying to upload the sample TinySaber code.
the sample code does verify.

this is the output from upload attempt.
Code: [Select]
Running Digispark Uploader...
Plug in device now... (will timeout in 60 seconds)
Warning: device with unknown new version of Micronucleus detected.
This tool doesn't know how to upload to this new device. Updates may be available.
Device reports version as: 2.3

What am I doing wrong here. 
Thanks for any help.

Roger.
29
General Discussion / Re: TinyDuino GPS Tracker not working
« Last post by DimSim1010 on August 03, 2018, 10:14:21 PM »
Hello,
It finally works after lots of effort.
Thanks for your help
30
New Product Ideas / Re: Idea: Simple proximity/touch sensor
« Last post by Jason McBurney on August 03, 2018, 03:56:11 AM »
There is also the microwave solution... But yes having a proximity sensor would be nice.
Pages: 1 2 [3] 4 5 ... 10