Print degree symbol "°" on Miac (Arduino)

For MIAC users to discuss projects, applications, and any other issues related to the MIAC unit.

Moderators: Benj, Mods

Monie Jacobsen
Posts: 325
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 9 times
Been thanked: 37 times
Contact:

Print degree symbol "°" on Miac (Arduino)

Postby Monie Jacobsen » Fri Feb 10, 2017 5:01 pm

HI everbody

How to write codes for print degree symbol "°" to diaplay in MIAC (Arduino) type MI5466?
Best Regard
Monie

User avatar
LeighM
Matrix Staff
Posts: 1544
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 385 times
Been thanked: 541 times
Contact:

Re: Print degree symbol "°" on Miac (Arduino)

Postby LeighM » Fri Feb 10, 2017 6:13 pm

Hi Monie,
I don't think there are currently many symbols in the font table. I will have a look at adding this next week.
Or you could add your own symbol into the font table in the MIAC FCD file in the case of Flowcode, or the header file in the Arduino library.
For Flowcode another alternative is to use the bitmap component.
Leigh
These users thanked the author LeighM for the post:
Benj (Fri Feb 10, 2017 6:31 pm)
Rating: 5.88%
 

User avatar
LeighM
Matrix Staff
Posts: 1544
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 385 times
Been thanked: 541 times
Contact:

Re: Print degree symbol "°" on Miac (Arduino)

Postby LeighM » Tue Feb 14, 2017 12:47 pm

Hi Monie,
Attached is an updated package for the MIAC Arduino that will give you the degree symbol.
The only two files that have changed are miac.cpp and font610.h, so you could just extract and overwrite these two in your Arduino installation.
If you also need this for Flowcode let me know and I'll try and get that updated sooner rather than later.
Leigh
Attachments
Arduino IDE MIAC Library and Examples.zip
(19.71 KiB) Downloaded 181 times

Monie Jacobsen
Posts: 325
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 9 times
Been thanked: 37 times
Contact:

Re: Print degree symbol "°" on Miac (Arduino)

Postby Monie Jacobsen » Tue Feb 14, 2017 3:39 pm

Hi LeighM
Many, many thanks ...
Degrees sympolet works fine.
Best Regard
Monie