Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of FT810 by
Revision 7:3b4d59de6398, committed 2016-11-15
- Comitter:
- cpm219
- Date:
- Tue Nov 15 03:32:56 2016 +0000
- Parent:
- 6:ce30c1530d71
- Child:
- 9:ca6a7c6a2f4b
- Commit message:
- added function RomFont
Changed in this revision
| inc/FT_Gpu_Hal.h | Show annotated file Show diff for this revision Revisions of this file |
| src/FT_CoPro_Cmds.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/inc/FT_Gpu_Hal.h Mon Oct 03 00:55:18 2016 +0000
+++ b/inc/FT_Gpu_Hal.h Tue Nov 15 03:32:56 2016 +0000
@@ -216,6 +216,7 @@
ft_void_t MemSet(ft_uint32_t ptr, ft_uint32_t value, ft_uint32_t num);
ft_void_t Calibrate(ft_uint32_t result);
ft_void_t SetFont(ft_uint32_t font, ft_uint32_t ptr);
+ ft_void_t RomFont( ft_uint32_t font, ft_uint32_t rom_slot);
ft_void_t Bitmap_Transform(ft_int32_t x0, ft_int32_t y0, ft_int32_t x1, ft_int32_t y1, ft_int32_t x2, ft_int32_t y2, ft_int32_t tx0, ft_int32_t ty0, ft_int32_t tx1, ft_int32_t ty1, ft_int32_t tx2, ft_int32_t ty2, ft_uint16_t result);
ft_void_t GradColor(ft_uint32_t c);
ft_void_t Append(ft_uint32_t ptr, ft_uint32_t num);
--- a/src/FT_CoPro_Cmds.cpp Mon Oct 03 00:55:18 2016 +0000
+++ b/src/FT_CoPro_Cmds.cpp Tue Nov 15 03:32:56 2016 +0000
@@ -319,6 +319,17 @@
SendCmd( ptr);
EndFunc( (FT_CMD_SIZE*3));
}
+//Curtis Mattull added this function on 11/14/16, copied from above...
+ft_void_t FT800::RomFont( ft_uint32_t rom_slot, ft_uint32_t font)
+{
+ StartFunc( FT_CMD_SIZE*3);
+ SendCmd( CMD_ROMFONT);
+ SendCmd( rom_slot);
+ SendCmd( font);
+ EndFunc( (FT_CMD_SIZE*3));
+}
+
+
ft_void_t FT800::Logo( )
{
StartFunc( FT_CMD_SIZE*1);
