This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 - Autos & Vehicles | |
1 - Film & Animation | |
10 - Music | |
15 - Pets & Animals | |
17 - Sports | |
18 - Short Movies | |
19 - Travel & Events | |
20 - Gaming | |
21 - Videoblogging | |
22 - People & Blogs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "mbed.h" | |
// Tutorial at https://ee-programming-notepad.blogspot.com/2016/10/suppress-any-warning-in-mbed-compiler.html | |
// Readme: https://developer.arm.com/docs/dui0472/latest/compiler-specific-features/pragma-diag_suppress-tagtag | |
// Warning and error codes: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0496b/BABDJCCI.html | |
// Suppress "Warning: Integer conversion resulted in truncation in "main.cpp", Line: 15, Col: 16" | |
// 69 - Integer conversion resulted in truncation | |
#pragma diag_suppress 69 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://ee-programming-notepad.blogspot.com/2016/10/c-array-of-pointers-to-objects.html | |
#include "mbed.h" | |
#include "ILI9340_Driver.h" | |
#define LCD_MOSI D11 | |
#define LCD_MISO D12 | |
#define LCD_SCK D13 | |
#define LCD_DC D7 | |
#define LCD1_RST D3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://ee-programming-notepad.blogspot.com/2016/10/c-array-of-pointers-to-objects.html | |
#include "mbed.h" | |
#include "ILI9340_Driver.h" | |
#define LCD_MOSI D11 | |
#define LCD_MISO D12 | |
#define LCD_SCK D13 | |
#define LCD_CS D5 | |
#define LCD_RST D3 | |
#define LCD_DC D7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// https://ee-programming-notepad.blogspot.com/2016/09/php-script-to-transform-24-bits-color.html | |
error_reporting(E_ALL); | |
ini_set('display_errors', 'On'); | |
header('Content-type: text/html; charset=utf-8'); | |
set_time_limit(0); | |
// DESCRIPTION: | |
// these functions will transform an 24 bits color depth image file into 16 bits color depth raw file and back again |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://ee-programming-notepad.blogspot.com/2016/09/16-bits-rgb-color-representation.html | |
uint16_t color; | |
// white | |
color = 0b1111111111111111; // binary representation | |
color = 0xFFFF; // hexadecimal representation | |
color = 65535; // decimal representation | |
// black | |
color = 0b0000000000000000; // binary representation |