⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 images.c

📁 CNC.rar
💻 C
📖 第 1 页 / 共 3 页
字号:
//*****************************************************************************
//
// images.c - Built-in images used by the demonstrations.
//
// Copyright (c) 2006-2007 Luminary Micro, Inc.  All rights reserved.
//
// Software License Agreement
//
// Luminary Micro, Inc. (LMI) is supplying this software for use solely and
// exclusively on LMI's microcontroller products.
//
// The software is owned by LMI and/or its suppliers, and is protected under
// applicable copyright laws.  All rights are reserved.  Any use in violation
// of the foregoing restrictions may subject the user to criminal sanctions
// under applicable laws, as well as to civil liability for the breach of the
// terms and conditions of this license.
//
// THIS SOFTWARE IS PROVIDED "AS IS".  NO WARRANTIES, WHETHER EXPRESS, IMPLIED
// OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
// LMI SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
// CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
//
// This is part of revision 220 of sw01246.
//
//*****************************************************************************

#include "images.h"

//*****************************************************************************
//
//! \page main_images_intro Introduction
//!
//! The demonstrations utilize a variety of vector images, which are contained
//! in a separate file to speed re-compilation of the application (changes to
//! the demonstration code don't result in the large image arrays being
//! reparsed by the compiler).
//!
//! The arrays describing the images are contained in
//! <tt>main_micro/images.c</tt>, with <tt>main_micro/images.h</tt> containing
//! the API definitions for use by the remainder of the application.
//
//*****************************************************************************

//*****************************************************************************
//
//! \defgroup main_images_api Definitions
//! @{
//
//*****************************************************************************

//*****************************************************************************
//
//! The vectors for the ARM logo.  This image was hand drawn.
//
//*****************************************************************************
const unsigned short g_pusARM[] =
{
    78,
    894, 274,
    0, 0,
    110, 274,
    184, 274,
    293, 0,
    219, 0,
    197, 61,
    96, 61,
    74, 0,
    0, 0,
    65535, 65535,
    113, 109,
    147, 207,
    181, 109,
    113, 109,
    65535, 65535,
    319, 0,
    319, 274,
    438, 274,
    472, 271,
    485, 268,
    494, 264,
    505, 257,
    515, 247,
    524, 235,
    529, 223,
    533, 211,
    534, 205,
    535, 189,
    531, 175,
    525, 160,
    519, 151,
    510, 142,
    501, 135,
    488, 129,
    493, 125,
    502, 117,
    510, 108,
    520, 90,
    562, 0,
    487, 0,
    452, 76,
    444, 90,
    437, 99,
    429, 106,
    422, 109,
    412, 112,
    389, 112,
    389, 0,
    319, 0,
    65535, 65535,
    389, 161,
    389, 225,
    429, 225,
    444, 222,
    454, 216,
    460, 207,
    463, 198,
    463, 189,
    459, 178,
    454, 172,
    446, 166,
    436, 161,
    389, 161,
    65535, 65535,
    598, 0,
    598, 274,
    658, 274,
    746, 171,
    835, 274,
    894, 274,
    894, 0,
    825, 0,
    825, 169,
    750, 79,
    741, 79,
    666, 169,
    666, 0,
    598, 0,
};

//*****************************************************************************
//
//! The vectors for the Luminary Micro logo.  This image was hand drawn.
//
//*****************************************************************************
const unsigned short g_pusLMI[] =
{
    58,
    292, 294,
    0, 294,
    0, 130,
    4, 113,
    9, 99,
    15, 83,
    25, 66,
    38, 48,
    56, 33,
    71, 22,
    92, 11,
    106, 6,
    122, 2,
    146, 0,
    292, 0,
    292 ,160,
    290, 175,
    284, 195,
    277, 213,
    270, 224,
    255, 244,
    237, 261,
    223, 271,
    204, 282,
    180, 290,
    158, 294,
    78, 294,
    78, 155,
    83, 135,
    90, 120,
    96, 110,
    102, 102,
    108, 95,
    115, 89,
    115, 258,
    150, 258,
    166, 255,
    166, 76,
    203, 76,
    203, 240,
    218, 230,
    228, 219,
    242, 200,
    248, 185,
    255, 164,
    255, 36,
    144, 36,
    124, 39,
    107, 44,
    93, 51,
    82, 59,
    71, 67,
    63, 77,
    54, 88,
    46, 101,
    41, 115,
    36, 141,
    36, 294,
    0, 294,
};

//*****************************************************************************
//
//! The vectors for a steer head.  This image was hand drawn.
//
//*****************************************************************************
const unsigned short g_pusSteer[] =
{
    75,
    1224, 579,
    664, 0,
    698, 18,
    717, 45,
    722, 79,
    751, 126,
    782, 148,
    799, 157,
    821, 176,
    828, 197,
    822, 243,
    824, 256,
    836, 263,
    855, 265,
    891, 250,
    960, 240,
    1004, 240,
    1044, 249,
    1067, 261,
    1068, 267,
    1026, 278,
    927, 328,
    969, 338,
    1003, 356,
    1044, 382,
    1118, 465,
    1140, 500,
    1224, 563,
    1224, 578,
    1191, 579,
    1156, 570,
    1081, 531,
    999, 459,
    954, 419,
    833, 396,
    810, 406,
    701, 424,
    660, 426,
    564, 426,
    523, 424,
    414, 406,
    391, 396,
    270, 419,
    225, 459,
    143, 531,
    68, 570,
    33, 579,
    0, 578,
    0, 563,
    84, 500,
    106, 465,
    180, 382,
    221, 356,
    255, 338,
    297, 328,
    198, 278,
    156, 267,
    157, 261,
    180, 249,
    220, 240,
    274, 240,
    333, 250,
    369, 265,
    388, 263,
    400, 256,
    402, 243,
    396, 197,
    403, 176,
    425, 157,
    442, 148,
    473, 126,
    502, 79,
    507, 45,
    526, 18,
    560, 0,
    664, 0,
};

//*****************************************************************************
//
//! The vectors for a printed circuit.  This image was computer generated.
//
//*****************************************************************************
const unsigned short g_pusPCB[] =
{
    707,
    1640, 800,
    134, 206,
    126, 214,
    114, 214,
    106, 206,
    106, 194,
    114, 186,
    126, 186,
    134, 194,
    134, 206,
    65535, 65535,
    134, 286,
    126, 294,
    114, 294,
    106, 286,
    106, 274,
    114, 266,
    126, 266,
    134, 274,
    134, 286,
    65535, 65535,
    134, 366,
    126, 374,
    114, 374,
    106, 366,
    106, 354,
    114, 346,
    126, 346,
    134, 354,
    134, 366,
    65535, 65535,
    134, 446,
    126, 454,
    114, 454,
    106, 446,
    106, 434,
    114, 426,
    126, 426,
    134, 434,
    134, 446,
    65535, 65535,
    134, 526,
    126, 534,
    114, 534,
    106, 526,
    106, 514,
    114, 506,
    126, 506,
    134, 514,
    134, 526,
    65535, 65535,
    134, 606,
    126, 614,
    114, 614,
    106, 606,
    106, 594,
    114, 586,
    126, 586,
    134, 594,
    134, 606,
    65535, 65535,
    454, 686,
    446, 694,
    434, 694,
    426, 686,
    426, 674,
    434, 666,
    446, 666,
    454, 674,
    454, 686,
    65535, 65535,
    414, 606,
    406, 614,
    394, 614,
    386, 606,
    386, 594,
    394, 586,
    406, 586,
    414, 594,
    414, 606,
    65535, 65535,
    414, 526,
    406, 534,
    394, 534,
    386, 526,
    386, 514,
    394, 506,
    406, 506,
    414, 514,
    414, 526,
    65535, 65535,
    414, 446,
    406, 454,
    394, 454,
    386, 446,
    386, 434,
    394, 426,
    406, 426,
    414, 434,
    414, 446,
    65535, 65535,
    414, 366,
    406, 374,
    394, 374,
    386, 366,
    386, 354,
    394, 346,
    406, 346,
    414, 354,
    414, 366,
    65535, 65535,
    414, 286,
    406, 294,
    394, 294,
    386, 286,
    386, 274,
    394, 266,
    406, 266,
    414, 274,
    414, 286,
    65535, 65535,
    414, 206,
    406, 214,
    394, 214,
    386, 206,
    386, 194,
    394, 186,
    406, 186,
    414, 194,
    414, 206,
    65535, 65535,
    414, 126,
    406, 134,
    394, 134,
    386, 126,
    386, 114,
    394, 106,
    406, 106,
    414, 114,
    414, 126,
    65535, 65535,
    654, 126,
    646, 134,
    634, 134,
    626, 126,
    626, 114,
    634, 106,
    646, 106,
    654, 114,
    654, 126,
    65535, 65535,
    654, 206,
    646, 214,
    634, 214,
    626, 206,
    626, 194,
    634, 186,
    646, 186,
    654, 194,
    654, 206,
    65535, 65535,
    654, 286,
    646, 294,
    634, 294,
    626, 286,
    626, 274,
    634, 266,
    646, 266,
    654, 274,
    654, 286,
    65535, 65535,
    654, 366,
    646, 374,
    634, 374,
    626, 366,
    626, 354,
    634, 346,
    646, 346,
    654, 354,
    654, 366,
    65535, 65535,
    654, 446,
    646, 454,
    634, 454,
    626, 446,
    626, 434,
    634, 426,
    646, 426,
    654, 434,
    654, 446,
    65535, 65535,
    654, 526,
    646, 534,
    634, 534,
    626, 526,
    626, 514,
    634, 506,
    646, 506,
    654, 514,
    654, 526,
    65535, 65535,
    654, 606,
    646, 614,
    634, 614,
    626, 606,
    626, 594,
    634, 586,
    646, 586,
    654, 594,
    654, 606,
    65535, 65535,
    614, 686,
    606, 694,
    594, 694,
    586, 686,
    586, 674,
    594, 666,
    606, 666,
    614, 674,
    614, 686,
    65535, 65535,
    1014, 686,
    1006, 694,
    994, 694,
    986, 686,
    986, 674,
    994, 666,
    1006, 666,
    1014, 674,
    1014, 686,
    65535, 65535,
    974, 606,
    966, 614,
    954, 614,
    946, 606,
    946, 594,
    954, 586,
    966, 586,
    974, 594,
    974, 606,
    65535, 65535,
    974, 526,
    966, 534,
    954, 534,
    946, 526,
    946, 514,
    954, 506,
    966, 506,
    974, 514,
    974, 526,
    65535, 65535,
    974, 446,
    966, 454,
    954, 454,
    946, 446,
    946, 434,
    954, 426,
    966, 426,
    974, 434,
    974, 446,
    65535, 65535,
    974, 366,
    966, 374,
    954, 374,
    946, 366,
    946, 354,
    954, 346,
    966, 346,
    974, 354,
    974, 366,
    65535, 65535,
    974, 286,
    966, 294,
    954, 294,
    946, 286,
    946, 274,
    954, 266,
    966, 266,
    974, 274,
    974, 286,
    65535, 65535,
    974, 206,
    966, 214,
    954, 214,
    946, 206,
    946, 194,
    954, 186,
    966, 186,
    974, 194,
    974, 206,
    65535, 65535,
    974, 126,
    966, 134,
    954, 134,
    946, 126,
    946, 114,
    954, 106,
    966, 106,
    974, 114,
    974, 126,
    65535, 65535,
    1214, 126,
    1206, 134,
    1194, 134,
    1186, 126,
    1186, 114,
    1194, 106,
    1206, 106,
    1214, 114,
    1214, 126,
    65535, 65535,
    1214, 206,
    1206, 214,
    1194, 214,
    1186, 206,
    1186, 194,
    1194, 186,
    1206, 186,
    1214, 194,
    1214, 206,
    65535, 65535,
    1214, 286,
    1206, 294,
    1194, 294,
    1186, 286,
    1186, 274,
    1194, 266,
    1206, 266,
    1214, 274,
    1214, 286,
    65535, 65535,
    1214, 366,
    1206, 374,
    1194, 374,
    1186, 366,
    1186, 354,
    1194, 346,
    1206, 346,
    1214, 354,
    1214, 366,
    65535, 65535,
    1214, 446,
    1206, 454,
    1194, 454,
    1186, 446,
    1186, 434,
    1194, 426,
    1206, 426,
    1214, 434,
    1214, 446,
    65535, 65535,
    1214, 526,
    1206, 534,
    1194, 534,
    1186, 526,
    1186, 514,
    1194, 506,
    1206, 506,
    1214, 514,
    1214, 526,
    65535, 65535,
    1214, 606,
    1206, 614,
    1194, 614,
    1186, 606,
    1186, 594,
    1194, 586,
    1206, 586,
    1214, 594,
    1214, 606,
    65535, 65535,
    1174, 686,
    1166, 694,
    1154, 694,
    1146, 686,
    1146, 674,
    1154, 666,
    1166, 666,
    1174, 674,
    1174, 686,
    65535, 65535,
    1534, 766,
    1526, 774,
    1514, 774,
    1506, 766,
    1506, 754,
    1514, 746,
    1526, 746,
    1534, 754,
    1534, 766,
    65535, 65535,
    1534, 686,
    1526, 694,
    1514, 694,
    1506, 686,
    1506, 674,
    1514, 666,
    1526, 666,
    1534, 674,
    1534, 686,
    65535, 65535,
    1534, 606,
    1526, 614,
    1514, 614,
    1506, 606,
    1506, 594,
    1514, 586,
    1526, 586,
    1534, 594,
    1534, 606,
    65535, 65535,
    1534, 526,
    1526, 534,
    1514, 534,
    1506, 526,
    1506, 514,
    1514, 506,
    1526, 506,
    1534, 514,
    1534, 526,
    65535, 65535,
    1534, 446,
    1526, 454,
    1514, 454,
    1506, 446,
    1506, 434,
    1514, 426,
    1526, 426,
    1534, 434,
    1534, 446,
    65535, 65535,
    1534, 366,
    1526, 374,
    1514, 374,
    1506, 366,
    1506, 354,
    1514, 346,
    1526, 346,
    1534, 354,
    1534, 366,
    65535, 65535,
    1534, 286,
    1526, 294,
    1514, 294,
    1506, 286,
    1506, 274,
    1514, 266,
    1526, 266,
    1534, 274,
    1534, 286,
    65535, 65535,
    1534, 206,
    1526, 214,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -