essai 1
This commit is contained in:
commit
3aac06ae17
|
@ -0,0 +1,6 @@
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
}
|
|
@ -0,0 +1,563 @@
|
||||||
|
// Adafruit Motor shield library
|
||||||
|
// copyright Adafruit Industries LLC, 2009
|
||||||
|
// this code is public domain, enjoy!
|
||||||
|
|
||||||
|
|
||||||
|
#if (ARDUINO >= 100)
|
||||||
|
#include "Arduino.h"
|
||||||
|
#else
|
||||||
|
#include <avr/io.h>
|
||||||
|
#include "WProgram.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "AFMotor.h"
|
||||||
|
|
||||||
|
static uint8_t latch_state;
|
||||||
|
|
||||||
|
#if (MICROSTEPS == 8)
|
||||||
|
uint8_t microstepcurve[] = {0, 50, 98, 142, 180, 212, 236, 250, 255};
|
||||||
|
#elif (MICROSTEPS == 16)
|
||||||
|
uint8_t microstepcurve[] = {0, 25, 50, 74, 98, 120, 141, 162, 180, 197, 212, 225, 236, 244, 250, 253, 255};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
AFMotorController::AFMotorController(void) {
|
||||||
|
}
|
||||||
|
|
||||||
|
void AFMotorController::enable(void) {
|
||||||
|
// setup the latch
|
||||||
|
/*
|
||||||
|
LATCH_DDR |= _BV(LATCH);
|
||||||
|
ENABLE_DDR |= _BV(ENABLE);
|
||||||
|
CLK_DDR |= _BV(CLK);
|
||||||
|
SER_DDR |= _BV(SER);
|
||||||
|
*/
|
||||||
|
pinMode(MOTORLATCH, OUTPUT);
|
||||||
|
pinMode(MOTORENABLE, OUTPUT);
|
||||||
|
pinMode(MOTORDATA, OUTPUT);
|
||||||
|
pinMode(MOTORCLK, OUTPUT);
|
||||||
|
|
||||||
|
latch_state = 0;
|
||||||
|
|
||||||
|
latch_tx(); // "reset"
|
||||||
|
|
||||||
|
//ENABLE_PORT &= ~_BV(ENABLE); // enable the chip outputs!
|
||||||
|
digitalWrite(MOTORENABLE, LOW);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void AFMotorController::latch_tx(void) {
|
||||||
|
uint8_t i;
|
||||||
|
|
||||||
|
//LATCH_PORT &= ~_BV(LATCH);
|
||||||
|
digitalWrite(MOTORLATCH, LOW);
|
||||||
|
|
||||||
|
//SER_PORT &= ~_BV(SER);
|
||||||
|
digitalWrite(MOTORDATA, LOW);
|
||||||
|
|
||||||
|
for (i=0; i<8; i++) {
|
||||||
|
//CLK_PORT &= ~_BV(CLK);
|
||||||
|
digitalWrite(MOTORCLK, LOW);
|
||||||
|
|
||||||
|
if (latch_state & _BV(7-i)) {
|
||||||
|
//SER_PORT |= _BV(SER);
|
||||||
|
digitalWrite(MOTORDATA, HIGH);
|
||||||
|
} else {
|
||||||
|
//SER_PORT &= ~_BV(SER);
|
||||||
|
digitalWrite(MOTORDATA, LOW);
|
||||||
|
}
|
||||||
|
//CLK_PORT |= _BV(CLK);
|
||||||
|
digitalWrite(MOTORCLK, HIGH);
|
||||||
|
}
|
||||||
|
//LATCH_PORT |= _BV(LATCH);
|
||||||
|
digitalWrite(MOTORLATCH, HIGH);
|
||||||
|
}
|
||||||
|
|
||||||
|
static AFMotorController MC;
|
||||||
|
|
||||||
|
|
||||||
|
/******************************************
|
||||||
|
MOTORS
|
||||||
|
******************************************/
|
||||||
|
inline void initPWM1(uint8_t freq) {
|
||||||
|
#if defined(__AVR_ATmega8__) || \
|
||||||
|
defined(__AVR_ATmega48__) || \
|
||||||
|
defined(__AVR_ATmega88__) || \
|
||||||
|
defined(__AVR_ATmega168__) || \
|
||||||
|
defined(__AVR_ATmega328P__)
|
||||||
|
// use PWM from timer2A on PB3 (Arduino pin #11)
|
||||||
|
TCCR2A |= _BV(COM2A1) | _BV(WGM20) | _BV(WGM21); // fast PWM, turn on oc2a
|
||||||
|
TCCR2B = freq & 0x7;
|
||||||
|
OCR2A = 0;
|
||||||
|
#elif defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
|
||||||
|
// on arduino mega, pin 11 is now PB5 (OC1A)
|
||||||
|
TCCR1A |= _BV(COM1A1) | _BV(WGM10); // fast PWM, turn on oc1a
|
||||||
|
TCCR1B = (freq & 0x7) | _BV(WGM12);
|
||||||
|
OCR1A = 0;
|
||||||
|
#else
|
||||||
|
#error "This chip is not supported!"
|
||||||
|
#endif
|
||||||
|
pinMode(11, OUTPUT);
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void setPWM1(uint8_t s) {
|
||||||
|
#if defined(__AVR_ATmega8__) || \
|
||||||
|
defined(__AVR_ATmega48__) || \
|
||||||
|
defined(__AVR_ATmega88__) || \
|
||||||
|
defined(__AVR_ATmega168__) || \
|
||||||
|
defined(__AVR_ATmega328P__)
|
||||||
|
// use PWM from timer2A on PB3 (Arduino pin #11)
|
||||||
|
OCR2A = s;
|
||||||
|
#elif defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
|
||||||
|
// on arduino mega, pin 11 is now PB5 (OC1A)
|
||||||
|
OCR1A = s;
|
||||||
|
#else
|
||||||
|
#error "This chip is not supported!"
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void initPWM2(uint8_t freq) {
|
||||||
|
#if defined(__AVR_ATmega8__) || \
|
||||||
|
defined(__AVR_ATmega48__) || \
|
||||||
|
defined(__AVR_ATmega88__) || \
|
||||||
|
defined(__AVR_ATmega168__) || \
|
||||||
|
defined(__AVR_ATmega328P__)
|
||||||
|
// use PWM from timer2B (pin 3)
|
||||||
|
TCCR2A |= _BV(COM2B1) | _BV(WGM20) | _BV(WGM21); // fast PWM, turn on oc2b
|
||||||
|
TCCR2B = freq & 0x7;
|
||||||
|
OCR2B = 0;
|
||||||
|
#elif defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
|
||||||
|
// on arduino mega, pin 3 is now PE5 (OC3C)
|
||||||
|
TCCR3A |= _BV(COM1C1) | _BV(WGM10); // fast PWM, turn on oc3c
|
||||||
|
TCCR3B = (freq & 0x7) | _BV(WGM12);
|
||||||
|
OCR3C = 0;
|
||||||
|
#else
|
||||||
|
#error "This chip is not supported!"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
pinMode(3, OUTPUT);
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void setPWM2(uint8_t s) {
|
||||||
|
#if defined(__AVR_ATmega8__) || \
|
||||||
|
defined(__AVR_ATmega48__) || \
|
||||||
|
defined(__AVR_ATmega88__) || \
|
||||||
|
defined(__AVR_ATmega168__) || \
|
||||||
|
defined(__AVR_ATmega328P__)
|
||||||
|
// use PWM from timer2A on PB3 (Arduino pin #11)
|
||||||
|
OCR2B = s;
|
||||||
|
#elif defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
|
||||||
|
// on arduino mega, pin 11 is now PB5 (OC1A)
|
||||||
|
OCR3C = s;
|
||||||
|
#else
|
||||||
|
#error "This chip is not supported!"
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void initPWM3(uint8_t freq) {
|
||||||
|
#if defined(__AVR_ATmega8__) || \
|
||||||
|
defined(__AVR_ATmega48__) || \
|
||||||
|
defined(__AVR_ATmega88__) || \
|
||||||
|
defined(__AVR_ATmega168__) || \
|
||||||
|
defined(__AVR_ATmega328P__)
|
||||||
|
// use PWM from timer0A / PD6 (pin 6)
|
||||||
|
TCCR0A |= _BV(COM0A1) | _BV(WGM00) | _BV(WGM01); // fast PWM, turn on OC0A
|
||||||
|
//TCCR0B = freq & 0x7;
|
||||||
|
OCR0A = 0;
|
||||||
|
#elif defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
|
||||||
|
// on arduino mega, pin 6 is now PH3 (OC4A)
|
||||||
|
TCCR4A |= _BV(COM1A1) | _BV(WGM10); // fast PWM, turn on oc4a
|
||||||
|
TCCR4B = (freq & 0x7) | _BV(WGM12);
|
||||||
|
//TCCR4B = 1 | _BV(WGM12);
|
||||||
|
OCR4A = 0;
|
||||||
|
#else
|
||||||
|
#error "This chip is not supported!"
|
||||||
|
#endif
|
||||||
|
pinMode(6, OUTPUT);
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void setPWM3(uint8_t s) {
|
||||||
|
#if defined(__AVR_ATmega8__) || \
|
||||||
|
defined(__AVR_ATmega48__) || \
|
||||||
|
defined(__AVR_ATmega88__) || \
|
||||||
|
defined(__AVR_ATmega168__) || \
|
||||||
|
defined(__AVR_ATmega328P__)
|
||||||
|
// use PWM from timer0A on PB3 (Arduino pin #6)
|
||||||
|
OCR0A = s;
|
||||||
|
#elif defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
|
||||||
|
// on arduino mega, pin 6 is now PH3 (OC4A)
|
||||||
|
OCR4A = s;
|
||||||
|
#else
|
||||||
|
#error "This chip is not supported!"
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
inline void initPWM4(uint8_t freq) {
|
||||||
|
#if defined(__AVR_ATmega8__) || \
|
||||||
|
defined(__AVR_ATmega48__) || \
|
||||||
|
defined(__AVR_ATmega88__) || \
|
||||||
|
defined(__AVR_ATmega168__) || \
|
||||||
|
defined(__AVR_ATmega328P__)
|
||||||
|
// use PWM from timer0B / PD5 (pin 5)
|
||||||
|
TCCR0A |= _BV(COM0B1) | _BV(WGM00) | _BV(WGM01); // fast PWM, turn on oc0a
|
||||||
|
//TCCR0B = freq & 0x7;
|
||||||
|
OCR0B = 0;
|
||||||
|
#elif defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
|
||||||
|
// on arduino mega, pin 5 is now PE3 (OC3A)
|
||||||
|
TCCR3A |= _BV(COM1A1) | _BV(WGM10); // fast PWM, turn on oc3a
|
||||||
|
TCCR3B = (freq & 0x7) | _BV(WGM12);
|
||||||
|
//TCCR4B = 1 | _BV(WGM12);
|
||||||
|
OCR3A = 0;
|
||||||
|
#else
|
||||||
|
#error "This chip is not supported!"
|
||||||
|
#endif
|
||||||
|
pinMode(5, OUTPUT);
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void setPWM4(uint8_t s) {
|
||||||
|
#if defined(__AVR_ATmega8__) || \
|
||||||
|
defined(__AVR_ATmega48__) || \
|
||||||
|
defined(__AVR_ATmega88__) || \
|
||||||
|
defined(__AVR_ATmega168__) || \
|
||||||
|
defined(__AVR_ATmega328P__)
|
||||||
|
// use PWM from timer0A on PB3 (Arduino pin #6)
|
||||||
|
OCR0B = s;
|
||||||
|
#elif defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
|
||||||
|
// on arduino mega, pin 6 is now PH3 (OC4A)
|
||||||
|
OCR3A = s;
|
||||||
|
#else
|
||||||
|
#error "This chip is not supported!"
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
AF_DCMotor::AF_DCMotor(uint8_t num, uint8_t freq) {
|
||||||
|
motornum = num;
|
||||||
|
pwmfreq = freq;
|
||||||
|
|
||||||
|
MC.enable();
|
||||||
|
|
||||||
|
switch (num) {
|
||||||
|
case 1:
|
||||||
|
latch_state &= ~_BV(MOTOR1_A) & ~_BV(MOTOR1_B); // set both motor pins to 0
|
||||||
|
MC.latch_tx();
|
||||||
|
initPWM1(freq);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
latch_state &= ~_BV(MOTOR2_A) & ~_BV(MOTOR2_B); // set both motor pins to 0
|
||||||
|
MC.latch_tx();
|
||||||
|
initPWM2(freq);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
latch_state &= ~_BV(MOTOR3_A) & ~_BV(MOTOR3_B); // set both motor pins to 0
|
||||||
|
MC.latch_tx();
|
||||||
|
initPWM3(freq);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
latch_state &= ~_BV(MOTOR4_A) & ~_BV(MOTOR4_B); // set both motor pins to 0
|
||||||
|
MC.latch_tx();
|
||||||
|
initPWM4(freq);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void AF_DCMotor::run(uint8_t cmd) {
|
||||||
|
uint8_t a, b;
|
||||||
|
switch (motornum) {
|
||||||
|
case 1:
|
||||||
|
a = MOTOR1_A; b = MOTOR1_B; break;
|
||||||
|
case 2:
|
||||||
|
a = MOTOR2_A; b = MOTOR2_B; break;
|
||||||
|
case 3:
|
||||||
|
a = MOTOR3_A; b = MOTOR3_B; break;
|
||||||
|
case 4:
|
||||||
|
a = MOTOR4_A; b = MOTOR4_B; break;
|
||||||
|
default:
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (cmd) {
|
||||||
|
case FORWARD:
|
||||||
|
latch_state |= _BV(a);
|
||||||
|
latch_state &= ~_BV(b);
|
||||||
|
MC.latch_tx();
|
||||||
|
break;
|
||||||
|
case BACKWARD:
|
||||||
|
latch_state &= ~_BV(a);
|
||||||
|
latch_state |= _BV(b);
|
||||||
|
MC.latch_tx();
|
||||||
|
break;
|
||||||
|
case RELEASE:
|
||||||
|
latch_state &= ~_BV(a);
|
||||||
|
latch_state &= ~_BV(b);
|
||||||
|
MC.latch_tx();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void AF_DCMotor::setSpeed(uint8_t speed) {
|
||||||
|
switch (motornum) {
|
||||||
|
case 1:
|
||||||
|
setPWM1(speed); break;
|
||||||
|
case 2:
|
||||||
|
setPWM2(speed); break;
|
||||||
|
case 3:
|
||||||
|
setPWM3(speed); break;
|
||||||
|
case 4:
|
||||||
|
setPWM4(speed); break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/******************************************
|
||||||
|
STEPPERS
|
||||||
|
******************************************/
|
||||||
|
|
||||||
|
AF_Stepper::AF_Stepper(uint16_t steps, uint8_t num) {
|
||||||
|
MC.enable();
|
||||||
|
|
||||||
|
revsteps = steps;
|
||||||
|
steppernum = num;
|
||||||
|
currentstep = 0;
|
||||||
|
|
||||||
|
if (steppernum == 1) {
|
||||||
|
latch_state &= ~_BV(MOTOR1_A) & ~_BV(MOTOR1_B) &
|
||||||
|
~_BV(MOTOR2_A) & ~_BV(MOTOR2_B); // all motor pins to 0
|
||||||
|
MC.latch_tx();
|
||||||
|
|
||||||
|
// enable both H bridges
|
||||||
|
pinMode(11, OUTPUT);
|
||||||
|
pinMode(3, OUTPUT);
|
||||||
|
digitalWrite(11, HIGH);
|
||||||
|
digitalWrite(3, HIGH);
|
||||||
|
|
||||||
|
// use PWM for microstepping support
|
||||||
|
initPWM1(MOTOR12_64KHZ);
|
||||||
|
initPWM2(MOTOR12_64KHZ);
|
||||||
|
setPWM1(255);
|
||||||
|
setPWM2(255);
|
||||||
|
|
||||||
|
} else if (steppernum == 2) {
|
||||||
|
latch_state &= ~_BV(MOTOR3_A) & ~_BV(MOTOR3_B) &
|
||||||
|
~_BV(MOTOR4_A) & ~_BV(MOTOR4_B); // all motor pins to 0
|
||||||
|
MC.latch_tx();
|
||||||
|
|
||||||
|
// enable both H bridges
|
||||||
|
pinMode(5, OUTPUT);
|
||||||
|
pinMode(6, OUTPUT);
|
||||||
|
digitalWrite(5, HIGH);
|
||||||
|
digitalWrite(6, HIGH);
|
||||||
|
|
||||||
|
// use PWM for microstepping support
|
||||||
|
// use PWM for microstepping support
|
||||||
|
initPWM3(1);
|
||||||
|
initPWM4(1);
|
||||||
|
setPWM3(255);
|
||||||
|
setPWM4(255);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void AF_Stepper::setSpeed(uint16_t rpm) {
|
||||||
|
usperstep = 60000000 / (revsteps * rpm);
|
||||||
|
steppingcounter = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
void AF_Stepper::release(void) {
|
||||||
|
if (steppernum == 1) {
|
||||||
|
latch_state &= ~_BV(MOTOR1_A) & ~_BV(MOTOR1_B) &
|
||||||
|
~_BV(MOTOR2_A) & ~_BV(MOTOR2_B); // all motor pins to 0
|
||||||
|
MC.latch_tx();
|
||||||
|
} else if (steppernum == 2) {
|
||||||
|
latch_state &= ~_BV(MOTOR3_A) & ~_BV(MOTOR3_B) &
|
||||||
|
~_BV(MOTOR4_A) & ~_BV(MOTOR4_B); // all motor pins to 0
|
||||||
|
MC.latch_tx();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void AF_Stepper::step(uint16_t steps, uint8_t dir, uint8_t style) {
|
||||||
|
uint32_t uspers = usperstep;
|
||||||
|
uint8_t ret = 0;
|
||||||
|
|
||||||
|
if (style == INTERLEAVE) {
|
||||||
|
uspers /= 2;
|
||||||
|
}
|
||||||
|
else if (style == MICROSTEP) {
|
||||||
|
uspers /= MICROSTEPS;
|
||||||
|
steps *= MICROSTEPS;
|
||||||
|
#ifdef MOTORDEBUG
|
||||||
|
Serial.print("steps = "); Serial.println(steps, DEC);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
while (steps--) {
|
||||||
|
ret = onestep(dir, style);
|
||||||
|
delay(uspers/1000); // in ms
|
||||||
|
steppingcounter += (uspers % 1000);
|
||||||
|
if (steppingcounter >= 1000) {
|
||||||
|
delay(1);
|
||||||
|
steppingcounter -= 1000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (style == MICROSTEP) {
|
||||||
|
while ((ret != 0) && (ret != MICROSTEPS)) {
|
||||||
|
ret = onestep(dir, style);
|
||||||
|
delay(uspers/1000); // in ms
|
||||||
|
steppingcounter += (uspers % 1000);
|
||||||
|
if (steppingcounter >= 1000) {
|
||||||
|
delay(1);
|
||||||
|
steppingcounter -= 1000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
uint8_t AF_Stepper::onestep(uint8_t dir, uint8_t style) {
|
||||||
|
uint8_t a, b, c, d;
|
||||||
|
uint8_t ocrb, ocra;
|
||||||
|
|
||||||
|
ocra = ocrb = 255;
|
||||||
|
|
||||||
|
if (steppernum == 1) {
|
||||||
|
a = _BV(MOTOR1_A);
|
||||||
|
b = _BV(MOTOR2_A);
|
||||||
|
c = _BV(MOTOR1_B);
|
||||||
|
d = _BV(MOTOR2_B);
|
||||||
|
} else if (steppernum == 2) {
|
||||||
|
a = _BV(MOTOR3_A);
|
||||||
|
b = _BV(MOTOR4_A);
|
||||||
|
c = _BV(MOTOR3_B);
|
||||||
|
d = _BV(MOTOR4_B);
|
||||||
|
} else {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// next determine what sort of stepping procedure we're up to
|
||||||
|
if (style == SINGLE) {
|
||||||
|
if ((currentstep/(MICROSTEPS/2)) % 2) { // we're at an odd step, weird
|
||||||
|
if (dir == FORWARD) {
|
||||||
|
currentstep += MICROSTEPS/2;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
currentstep -= MICROSTEPS/2;
|
||||||
|
}
|
||||||
|
} else { // go to the next even step
|
||||||
|
if (dir == FORWARD) {
|
||||||
|
currentstep += MICROSTEPS;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
currentstep -= MICROSTEPS;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else if (style == DOUBLE) {
|
||||||
|
if (! (currentstep/(MICROSTEPS/2) % 2)) { // we're at an even step, weird
|
||||||
|
if (dir == FORWARD) {
|
||||||
|
currentstep += MICROSTEPS/2;
|
||||||
|
} else {
|
||||||
|
currentstep -= MICROSTEPS/2;
|
||||||
|
}
|
||||||
|
} else { // go to the next odd step
|
||||||
|
if (dir == FORWARD) {
|
||||||
|
currentstep += MICROSTEPS;
|
||||||
|
} else {
|
||||||
|
currentstep -= MICROSTEPS;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else if (style == INTERLEAVE) {
|
||||||
|
if (dir == FORWARD) {
|
||||||
|
currentstep += MICROSTEPS/2;
|
||||||
|
} else {
|
||||||
|
currentstep -= MICROSTEPS/2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (style == MICROSTEP) {
|
||||||
|
if (dir == FORWARD) {
|
||||||
|
currentstep++;
|
||||||
|
} else {
|
||||||
|
// BACKWARDS
|
||||||
|
currentstep--;
|
||||||
|
}
|
||||||
|
|
||||||
|
currentstep += MICROSTEPS*4;
|
||||||
|
currentstep %= MICROSTEPS*4;
|
||||||
|
|
||||||
|
ocra = ocrb = 0;
|
||||||
|
if ( (currentstep >= 0) && (currentstep < MICROSTEPS)) {
|
||||||
|
ocra = microstepcurve[MICROSTEPS - currentstep];
|
||||||
|
ocrb = microstepcurve[currentstep];
|
||||||
|
} else if ( (currentstep >= MICROSTEPS) && (currentstep < MICROSTEPS*2)) {
|
||||||
|
ocra = microstepcurve[currentstep - MICROSTEPS];
|
||||||
|
ocrb = microstepcurve[MICROSTEPS*2 - currentstep];
|
||||||
|
} else if ( (currentstep >= MICROSTEPS*2) && (currentstep < MICROSTEPS*3)) {
|
||||||
|
ocra = microstepcurve[MICROSTEPS*3 - currentstep];
|
||||||
|
ocrb = microstepcurve[currentstep - MICROSTEPS*2];
|
||||||
|
} else if ( (currentstep >= MICROSTEPS*3) && (currentstep < MICROSTEPS*4)) {
|
||||||
|
ocra = microstepcurve[currentstep - MICROSTEPS*3];
|
||||||
|
ocrb = microstepcurve[MICROSTEPS*4 - currentstep];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
currentstep += MICROSTEPS*4;
|
||||||
|
currentstep %= MICROSTEPS*4;
|
||||||
|
|
||||||
|
#ifdef MOTORDEBUG
|
||||||
|
Serial.print("current step: "); Serial.println(currentstep, DEC);
|
||||||
|
Serial.print(" pwmA = "); Serial.print(ocra, DEC);
|
||||||
|
Serial.print(" pwmB = "); Serial.println(ocrb, DEC);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
if (steppernum == 1) {
|
||||||
|
setPWM1(ocra);
|
||||||
|
setPWM2(ocrb);
|
||||||
|
} else if (steppernum == 2) {
|
||||||
|
setPWM3(ocra);
|
||||||
|
setPWM4(ocrb);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// release all
|
||||||
|
latch_state &= ~a & ~b & ~c & ~d; // all motor pins to 0
|
||||||
|
|
||||||
|
//Serial.println(step, DEC);
|
||||||
|
if (style == MICROSTEP) {
|
||||||
|
if ((currentstep >= 0) && (currentstep < MICROSTEPS))
|
||||||
|
latch_state |= a | b;
|
||||||
|
if ((currentstep >= MICROSTEPS) && (currentstep < MICROSTEPS*2))
|
||||||
|
latch_state |= b | c;
|
||||||
|
if ((currentstep >= MICROSTEPS*2) && (currentstep < MICROSTEPS*3))
|
||||||
|
latch_state |= c | d;
|
||||||
|
if ((currentstep >= MICROSTEPS*3) && (currentstep < MICROSTEPS*4))
|
||||||
|
latch_state |= d | a;
|
||||||
|
} else {
|
||||||
|
switch (currentstep/(MICROSTEPS/2)) {
|
||||||
|
case 0:
|
||||||
|
latch_state |= a; // energize coil 1 only
|
||||||
|
break;
|
||||||
|
case 1:
|
||||||
|
latch_state |= a | b; // energize coil 1+2
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
latch_state |= b; // energize coil 2 only
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
latch_state |= b | c; // energize coil 2+3
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
latch_state |= c; // energize coil 3 only
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
latch_state |= c | d; // energize coil 3+4
|
||||||
|
break;
|
||||||
|
case 6:
|
||||||
|
latch_state |= d; // energize coil 4 only
|
||||||
|
break;
|
||||||
|
case 7:
|
||||||
|
latch_state |= d | a; // energize coil 1+4
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
MC.latch_tx();
|
||||||
|
return currentstep;
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,104 @@
|
||||||
|
// Adafruit Motor shield library
|
||||||
|
// copyright Adafruit Industries LLC, 2009
|
||||||
|
// this code is public domain, enjoy!
|
||||||
|
|
||||||
|
#ifndef _AFMotor_h_
|
||||||
|
#define _AFMotor_h_
|
||||||
|
|
||||||
|
#include <inttypes.h>
|
||||||
|
#include <avr/io.h>
|
||||||
|
|
||||||
|
//#define MOTORDEBUG 1
|
||||||
|
|
||||||
|
#define MICROSTEPS 16 // 8 or 16
|
||||||
|
|
||||||
|
#define MOTOR12_64KHZ _BV(CS20) // no prescale
|
||||||
|
#define MOTOR12_8KHZ _BV(CS21) // divide by 8
|
||||||
|
#define MOTOR12_2KHZ _BV(CS21) | _BV(CS20) // divide by 32
|
||||||
|
#define MOTOR12_1KHZ _BV(CS22) // divide by 64
|
||||||
|
|
||||||
|
#define MOTOR34_64KHZ _BV(CS00) // no prescale
|
||||||
|
#define MOTOR34_8KHZ _BV(CS01) // divide by 8
|
||||||
|
#define MOTOR34_1KHZ _BV(CS01) | _BV(CS00) // divide by 64
|
||||||
|
|
||||||
|
#define MOTOR1_A 2
|
||||||
|
#define MOTOR1_B 3
|
||||||
|
#define MOTOR2_A 1
|
||||||
|
#define MOTOR2_B 4
|
||||||
|
#define MOTOR4_A 0
|
||||||
|
#define MOTOR4_B 6
|
||||||
|
#define MOTOR3_A 5
|
||||||
|
#define MOTOR3_B 7
|
||||||
|
|
||||||
|
#define FORWARD 1
|
||||||
|
#define BACKWARD 2
|
||||||
|
#define BRAKE 3
|
||||||
|
#define RELEASE 4
|
||||||
|
|
||||||
|
#define SINGLE 1
|
||||||
|
#define DOUBLE 2
|
||||||
|
#define INTERLEAVE 3
|
||||||
|
#define MICROSTEP 4
|
||||||
|
|
||||||
|
/*
|
||||||
|
#define LATCH 4
|
||||||
|
#define LATCH_DDR DDRB
|
||||||
|
#define LATCH_PORT PORTB
|
||||||
|
|
||||||
|
#define CLK_PORT PORTD
|
||||||
|
#define CLK_DDR DDRD
|
||||||
|
#define CLK 4
|
||||||
|
|
||||||
|
#define ENABLE_PORT PORTD
|
||||||
|
#define ENABLE_DDR DDRD
|
||||||
|
#define ENABLE 7
|
||||||
|
|
||||||
|
#define SER 0
|
||||||
|
#define SER_DDR DDRB
|
||||||
|
#define SER_PORT PORTB
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Arduino pin names
|
||||||
|
#define MOTORLATCH 12
|
||||||
|
#define MOTORCLK 4
|
||||||
|
#define MOTORENABLE 7
|
||||||
|
#define MOTORDATA 8
|
||||||
|
|
||||||
|
class AFMotorController
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
AFMotorController(void);
|
||||||
|
void enable(void);
|
||||||
|
friend class AF_DCMotor;
|
||||||
|
void latch_tx(void);
|
||||||
|
};
|
||||||
|
|
||||||
|
class AF_DCMotor
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
AF_DCMotor(uint8_t motornum, uint8_t freq = MOTOR34_8KHZ);
|
||||||
|
void run(uint8_t);
|
||||||
|
void setSpeed(uint8_t);
|
||||||
|
|
||||||
|
private:
|
||||||
|
uint8_t motornum, pwmfreq;
|
||||||
|
};
|
||||||
|
|
||||||
|
class AF_Stepper {
|
||||||
|
public:
|
||||||
|
AF_Stepper(uint16_t, uint8_t);
|
||||||
|
void step(uint16_t steps, uint8_t dir, uint8_t style = SINGLE);
|
||||||
|
void setSpeed(uint16_t);
|
||||||
|
uint8_t onestep(uint8_t dir, uint8_t style);
|
||||||
|
void release(void);
|
||||||
|
uint16_t revsteps; // # steps per revolution
|
||||||
|
uint8_t steppernum;
|
||||||
|
uint32_t usperstep, steppingcounter;
|
||||||
|
private:
|
||||||
|
uint8_t currentstep;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
uint8_t getlatchstate(void);
|
||||||
|
|
||||||
|
#endif
|
|
@ -0,0 +1,5 @@
|
||||||
|
This is the August 12, 2009 Adafruit Motor shield firmware with basic Microstepping support. Works with all Arduinos and the Mega
|
||||||
|
|
||||||
|
For more information on the shield, please visit http://www.ladyada.net/make/mshield/
|
||||||
|
|
||||||
|
To install, click DOWNLOAD SOURCE in the top right corner, and see our tutorial at http://www.ladyada.net/library/arduino/libraries.html on Arduino Library installation
|
|
@ -0,0 +1,60 @@
|
||||||
|
// Adafruit Motor shield library
|
||||||
|
// copyright Adafruit Industries LLC, 2009
|
||||||
|
// this code is public domain, enjoy!
|
||||||
|
|
||||||
|
#include <AFMotor.h>
|
||||||
|
#include <ServoTimer1.h>
|
||||||
|
|
||||||
|
// DC motor on M2
|
||||||
|
AF_DCMotor motor(2);
|
||||||
|
// DC hobby servo
|
||||||
|
ServoTimer1 servo1;
|
||||||
|
// Stepper motor on M3+M4 48 steps per revolution
|
||||||
|
AF_Stepper stepper(48, 2);
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
Serial.begin(9600); // set up Serial library at 9600 bps
|
||||||
|
Serial.println("Motor party!");
|
||||||
|
|
||||||
|
// turn on servo
|
||||||
|
servo1.attach(9);
|
||||||
|
|
||||||
|
// turn on motor #2
|
||||||
|
motor.setSpeed(200);
|
||||||
|
motor.run(RELEASE);
|
||||||
|
}
|
||||||
|
|
||||||
|
int i;
|
||||||
|
|
||||||
|
// Test the DC motor, stepper and servo ALL AT ONCE!
|
||||||
|
void loop() {
|
||||||
|
motor.run(FORWARD);
|
||||||
|
for (i=0; i<255; i++) {
|
||||||
|
servo1.write(i);
|
||||||
|
motor.setSpeed(i);
|
||||||
|
stepper.step(1, FORWARD, INTERLEAVE);
|
||||||
|
delay(3);
|
||||||
|
}
|
||||||
|
|
||||||
|
for (i=255; i!=0; i--) {
|
||||||
|
servo1.write(i-255);
|
||||||
|
motor.setSpeed(i);
|
||||||
|
stepper.step(1, BACKWARD, INTERLEAVE);
|
||||||
|
delay(3);
|
||||||
|
}
|
||||||
|
|
||||||
|
motor.run(BACKWARD);
|
||||||
|
for (i=0; i<255; i++) {
|
||||||
|
servo1.write(i);
|
||||||
|
motor.setSpeed(i);
|
||||||
|
delay(3);
|
||||||
|
stepper.step(1, FORWARD, DOUBLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
for (i=255; i!=0; i--) {
|
||||||
|
servo1.write(i-255);
|
||||||
|
motor.setSpeed(i);
|
||||||
|
stepper.step(1, BACKWARD, DOUBLE);
|
||||||
|
delay(3);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,52 @@
|
||||||
|
// Adafruit Motor shield library
|
||||||
|
// copyright Adafruit Industries LLC, 2009
|
||||||
|
// this code is public domain, enjoy!
|
||||||
|
|
||||||
|
#include <AFMotor.h>
|
||||||
|
|
||||||
|
AF_DCMotor motor(4);
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
Serial.begin(9600); // set up Serial library at 9600 bps
|
||||||
|
Serial.println("Motor test!");
|
||||||
|
|
||||||
|
// turn on motor
|
||||||
|
motor.setSpeed(200);
|
||||||
|
|
||||||
|
motor.run(RELEASE);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
uint8_t i;
|
||||||
|
|
||||||
|
Serial.print("tick");
|
||||||
|
|
||||||
|
motor.run(FORWARD);
|
||||||
|
for (i=0; i<255; i++) {
|
||||||
|
motor.setSpeed(i);
|
||||||
|
delay(10);
|
||||||
|
}
|
||||||
|
|
||||||
|
for (i=255; i!=0; i--) {
|
||||||
|
motor.setSpeed(i);
|
||||||
|
delay(10);
|
||||||
|
}
|
||||||
|
|
||||||
|
Serial.print("tock");
|
||||||
|
|
||||||
|
motor.run(BACKWARD);
|
||||||
|
for (i=0; i<255; i++) {
|
||||||
|
motor.setSpeed(i);
|
||||||
|
delay(10);
|
||||||
|
}
|
||||||
|
|
||||||
|
for (i=255; i!=0; i--) {
|
||||||
|
motor.setSpeed(i);
|
||||||
|
delay(10);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Serial.print("tech");
|
||||||
|
motor.run(RELEASE);
|
||||||
|
delay(1000);
|
||||||
|
}
|
|
@ -0,0 +1,34 @@
|
||||||
|
// Adafruit Motor shield library
|
||||||
|
// copyright Adafruit Industries LLC, 2009
|
||||||
|
// this code is public domain, enjoy!
|
||||||
|
|
||||||
|
#include <AFMotor.h>
|
||||||
|
|
||||||
|
// Connect a stepper motor with 48 steps per revolution (7.5 degree)
|
||||||
|
// to motor port #2 (M3 and M4)
|
||||||
|
AF_Stepper motor(48, 2);
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
Serial.begin(9600); // set up Serial library at 9600 bps
|
||||||
|
Serial.println("Stepper test!");
|
||||||
|
|
||||||
|
motor.setSpeed(10); // 10 rpm
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
Serial.println("Single coil steps");
|
||||||
|
motor.step(100, FORWARD, SINGLE);
|
||||||
|
motor.step(100, BACKWARD, SINGLE);
|
||||||
|
|
||||||
|
Serial.println("Double coil steps");
|
||||||
|
motor.step(100, FORWARD, DOUBLE);
|
||||||
|
motor.step(100, BACKWARD, DOUBLE);
|
||||||
|
|
||||||
|
Serial.println("Interleave coil steps");
|
||||||
|
motor.step(100, FORWARD, INTERLEAVE);
|
||||||
|
motor.step(100, BACKWARD, INTERLEAVE);
|
||||||
|
|
||||||
|
Serial.println("Micrsostep steps");
|
||||||
|
motor.step(100, FORWARD, MICROSTEP);
|
||||||
|
motor.step(100, BACKWARD, MICROSTEP);
|
||||||
|
}
|
|
@ -0,0 +1,35 @@
|
||||||
|
#######################################
|
||||||
|
# Syntax Coloring Map for AFMotor
|
||||||
|
#######################################
|
||||||
|
|
||||||
|
#######################################
|
||||||
|
# Datatypes (KEYWORD1)
|
||||||
|
#######################################
|
||||||
|
|
||||||
|
AF_DCMotor KEYWORD1
|
||||||
|
AF_Stepper KEYWORD1
|
||||||
|
|
||||||
|
#######################################
|
||||||
|
# Methods and Functions (KEYWORD2)
|
||||||
|
#######################################
|
||||||
|
|
||||||
|
enable KEYWORD2
|
||||||
|
run KEYWORD2
|
||||||
|
setSpeed KEYWORD2
|
||||||
|
step KEYWORD2
|
||||||
|
onestep KEYWORD2
|
||||||
|
release KEYWORD2
|
||||||
|
|
||||||
|
#######################################
|
||||||
|
# Constants (LITERAL1)
|
||||||
|
#######################################
|
||||||
|
|
||||||
|
MICROSTEPPING LITERAL1
|
||||||
|
FORWARD LITERAL1
|
||||||
|
BACKWARD LITERAL1
|
||||||
|
BRAKE LITERAL1
|
||||||
|
RELEASE LITERAL1
|
||||||
|
SINGLE LITERAL1
|
||||||
|
DOUBLE LITERAL1
|
||||||
|
INTERLEAVE LITERAL1
|
||||||
|
MICROSTEP LITERAL1
|
|
@ -0,0 +1,624 @@
|
||||||
|
// AccelStepper.cpp
|
||||||
|
//
|
||||||
|
// Copyright (C) 2009-2013 Mike McCauley
|
||||||
|
// $Id: AccelStepper.cpp,v 1.17 2013/08/02 01:53:21 mikem Exp mikem $
|
||||||
|
|
||||||
|
#include "AccelStepper.h"
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
// Some debugging assistance
|
||||||
|
void dump(uint8_t* p, int l)
|
||||||
|
{
|
||||||
|
int i;
|
||||||
|
|
||||||
|
for (i = 0; i < l; i++)
|
||||||
|
{
|
||||||
|
Serial.print(p[i], HEX);
|
||||||
|
Serial.print(" ");
|
||||||
|
}
|
||||||
|
Serial.println("");
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void AccelStepper::moveTo(long absolute)
|
||||||
|
{
|
||||||
|
if (_targetPos != absolute)
|
||||||
|
{
|
||||||
|
_targetPos = absolute;
|
||||||
|
computeNewSpeed();
|
||||||
|
// compute new n?
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void AccelStepper::move(long relative)
|
||||||
|
{
|
||||||
|
moveTo(_currentPos + relative);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Implements steps according to the current step interval
|
||||||
|
// You must call this at least once per step
|
||||||
|
// returns true if a step occurred
|
||||||
|
boolean AccelStepper::runSpeed()
|
||||||
|
{
|
||||||
|
// Dont do anything unless we actually have a step interval
|
||||||
|
if (!_stepInterval)
|
||||||
|
return false;
|
||||||
|
|
||||||
|
unsigned long time = micros();
|
||||||
|
// Gymnastics to detect wrapping of either the nextStepTime and/or the current time
|
||||||
|
unsigned long nextStepTime = _lastStepTime + _stepInterval;
|
||||||
|
if ( ((nextStepTime >= _lastStepTime) && ((time >= nextStepTime) || (time < _lastStepTime)))
|
||||||
|
|| ((nextStepTime < _lastStepTime) && ((time >= nextStepTime) && (time < _lastStepTime))))
|
||||||
|
|
||||||
|
{
|
||||||
|
if (_direction == DIRECTION_CW)
|
||||||
|
{
|
||||||
|
// Clockwise
|
||||||
|
_currentPos += 1;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Anticlockwise
|
||||||
|
_currentPos -= 1;
|
||||||
|
}
|
||||||
|
step(_currentPos);
|
||||||
|
|
||||||
|
_lastStepTime = time;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
long AccelStepper::distanceToGo()
|
||||||
|
{
|
||||||
|
return _targetPos - _currentPos;
|
||||||
|
}
|
||||||
|
|
||||||
|
long AccelStepper::targetPosition()
|
||||||
|
{
|
||||||
|
return _targetPos;
|
||||||
|
}
|
||||||
|
|
||||||
|
long AccelStepper::currentPosition()
|
||||||
|
{
|
||||||
|
return _currentPos;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Useful during initialisations or after initial positioning
|
||||||
|
// Sets speed to 0
|
||||||
|
void AccelStepper::setCurrentPosition(long position)
|
||||||
|
{
|
||||||
|
_targetPos = _currentPos = position;
|
||||||
|
_n = 0;
|
||||||
|
_stepInterval = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
void AccelStepper::computeNewSpeed()
|
||||||
|
{
|
||||||
|
long distanceTo = distanceToGo(); // +ve is clockwise from curent location
|
||||||
|
|
||||||
|
long stepsToStop = (long)((_speed * _speed) / (2.0 * _acceleration)); // Equation 16
|
||||||
|
|
||||||
|
if (distanceTo == 0 && stepsToStop <= 1)
|
||||||
|
{
|
||||||
|
// We are at the target and its time to stop
|
||||||
|
_stepInterval = 0;
|
||||||
|
_speed = 0.0;
|
||||||
|
_n = 0;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (distanceTo > 0)
|
||||||
|
{
|
||||||
|
// We are anticlockwise from the target
|
||||||
|
// Need to go clockwise from here, maybe decelerate now
|
||||||
|
if (_n > 0)
|
||||||
|
{
|
||||||
|
// Currently accelerating, need to decel now? Or maybe going the wrong way?
|
||||||
|
if ((stepsToStop >= distanceTo) || _direction == DIRECTION_CCW)
|
||||||
|
_n = -stepsToStop; // Start deceleration
|
||||||
|
}
|
||||||
|
else if (_n < 0)
|
||||||
|
{
|
||||||
|
// Currently decelerating, need to accel again?
|
||||||
|
if ((stepsToStop < distanceTo) && _direction == DIRECTION_CW)
|
||||||
|
_n = -_n; // Start accceleration
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (distanceTo < 0)
|
||||||
|
{
|
||||||
|
// We are clockwise from the target
|
||||||
|
// Need to go anticlockwise from here, maybe decelerate
|
||||||
|
if (_n > 0)
|
||||||
|
{
|
||||||
|
// Currently accelerating, need to decel now? Or maybe going the wrong way?
|
||||||
|
if ((stepsToStop >= -distanceTo) || _direction == DIRECTION_CW)
|
||||||
|
_n = -stepsToStop; // Start deceleration
|
||||||
|
}
|
||||||
|
else if (_n < 0)
|
||||||
|
{
|
||||||
|
// Currently decelerating, need to accel again?
|
||||||
|
if ((stepsToStop < -distanceTo) && _direction == DIRECTION_CCW)
|
||||||
|
_n = -_n; // Start accceleration
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Need to accelerate or decelerate
|
||||||
|
if (_n == 0)
|
||||||
|
{
|
||||||
|
// First step from stopped
|
||||||
|
_cn = _c0;
|
||||||
|
_direction = (distanceTo > 0) ? DIRECTION_CW : DIRECTION_CCW;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Subsequent step. Works for accel (n is +_ve) and decel (n is -ve).
|
||||||
|
_cn = _cn - ((2.0 * _cn) / ((4.0 * _n) + 1)); // Equation 13
|
||||||
|
_cn = max(_cn, _cmin);
|
||||||
|
}
|
||||||
|
_n++;
|
||||||
|
_stepInterval = _cn;
|
||||||
|
_speed = 1000000.0 / _cn;
|
||||||
|
if (_direction == DIRECTION_CCW)
|
||||||
|
_speed = -_speed;
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
Serial.println(_speed);
|
||||||
|
Serial.println(_acceleration);
|
||||||
|
Serial.println(_cn);
|
||||||
|
Serial.println(_c0);
|
||||||
|
Serial.println(_n);
|
||||||
|
Serial.println(_stepInterval);
|
||||||
|
Serial.println(distanceTo);
|
||||||
|
Serial.println(stepsToStop);
|
||||||
|
Serial.println("-----");
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
// Run the motor to implement speed and acceleration in order to proceed to the target position
|
||||||
|
// You must call this at least once per step, preferably in your main loop
|
||||||
|
// If the motor is in the desired position, the cost is very small
|
||||||
|
// returns true if the motor is still running to the target position.
|
||||||
|
boolean AccelStepper::run()
|
||||||
|
{
|
||||||
|
if (runSpeed())
|
||||||
|
computeNewSpeed();
|
||||||
|
return _speed != 0.0 || distanceToGo() != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
AccelStepper::AccelStepper(uint8_t interface, uint8_t pin1, uint8_t pin2, uint8_t pin3, uint8_t pin4, bool enable)
|
||||||
|
{
|
||||||
|
_interface = interface;
|
||||||
|
_currentPos = 0;
|
||||||
|
_targetPos = 0;
|
||||||
|
_speed = 0.0;
|
||||||
|
_maxSpeed = 1.0;
|
||||||
|
_acceleration = 1.0;
|
||||||
|
_sqrt_twoa = 1.0;
|
||||||
|
_stepInterval = 0;
|
||||||
|
_minPulseWidth = 1;
|
||||||
|
_enablePin = 0xff;
|
||||||
|
_lastStepTime = 0;
|
||||||
|
_pin[0] = pin1;
|
||||||
|
_pin[1] = pin2;
|
||||||
|
_pin[2] = pin3;
|
||||||
|
_pin[3] = pin4;
|
||||||
|
|
||||||
|
// NEW
|
||||||
|
_n = 0;
|
||||||
|
_c0 = 0.0;
|
||||||
|
_cn = 0.0;
|
||||||
|
_cmin = 1.0;
|
||||||
|
_direction = DIRECTION_CCW;
|
||||||
|
|
||||||
|
int i;
|
||||||
|
for (i = 0; i < 4; i++)
|
||||||
|
_pinInverted[i] = 0;
|
||||||
|
if (enable)
|
||||||
|
enableOutputs();
|
||||||
|
}
|
||||||
|
|
||||||
|
AccelStepper::AccelStepper(void (*forward)(), void (*backward)())
|
||||||
|
{
|
||||||
|
_interface = 0;
|
||||||
|
_currentPos = 0;
|
||||||
|
_targetPos = 0;
|
||||||
|
_speed = 0.0;
|
||||||
|
_maxSpeed = 1.0;
|
||||||
|
_acceleration = 1.0;
|
||||||
|
_sqrt_twoa = 1.0;
|
||||||
|
_stepInterval = 0;
|
||||||
|
_minPulseWidth = 1;
|
||||||
|
_enablePin = 0xff;
|
||||||
|
_lastStepTime = 0;
|
||||||
|
_pin[0] = 0;
|
||||||
|
_pin[1] = 0;
|
||||||
|
_pin[2] = 0;
|
||||||
|
_pin[3] = 0;
|
||||||
|
_forward = forward;
|
||||||
|
_backward = backward;
|
||||||
|
|
||||||
|
// NEW
|
||||||
|
_n = 0;
|
||||||
|
_c0 = 0.0;
|
||||||
|
_cn = 0.0;
|
||||||
|
_cmin = 1.0;
|
||||||
|
_direction = DIRECTION_CCW;
|
||||||
|
|
||||||
|
int i;
|
||||||
|
for (i = 0; i < 4; i++)
|
||||||
|
_pinInverted[i] = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
void AccelStepper::setMaxSpeed(float speed)
|
||||||
|
{
|
||||||
|
if (_maxSpeed != speed)
|
||||||
|
{
|
||||||
|
_maxSpeed = speed;
|
||||||
|
_cmin = 1000000.0 / speed;
|
||||||
|
// Recompute _n from current speed and adjust speed if accelerating or cruising
|
||||||
|
if (_n > 0)
|
||||||
|
{
|
||||||
|
_n = (long)((_speed * _speed) / (2.0 * _acceleration)); // Equation 16
|
||||||
|
computeNewSpeed();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void AccelStepper::setAcceleration(float acceleration)
|
||||||
|
{
|
||||||
|
if (acceleration == 0.0)
|
||||||
|
return;
|
||||||
|
if (_acceleration != acceleration)
|
||||||
|
{
|
||||||
|
// Recompute _n per Equation 17
|
||||||
|
_n = _n * (_acceleration / acceleration);
|
||||||
|
// New c0 per Equation 7
|
||||||
|
_c0 = sqrt(2.0 / acceleration) * 1000000.0;
|
||||||
|
_acceleration = acceleration;
|
||||||
|
computeNewSpeed();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void AccelStepper::setSpeed(float speed)
|
||||||
|
{
|
||||||
|
if (speed == _speed)
|
||||||
|
return;
|
||||||
|
speed = constrain(speed, -_maxSpeed, _maxSpeed);
|
||||||
|
if (speed == 0.0)
|
||||||
|
_stepInterval = 0;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_stepInterval = fabs(1000000.0 / speed);
|
||||||
|
_direction = (speed > 0.0) ? DIRECTION_CW : DIRECTION_CCW;
|
||||||
|
}
|
||||||
|
_speed = speed;
|
||||||
|
}
|
||||||
|
|
||||||
|
float AccelStepper::speed()
|
||||||
|
{
|
||||||
|
return _speed;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Subclasses can override
|
||||||
|
void AccelStepper::step(long step)
|
||||||
|
{
|
||||||
|
switch (_interface)
|
||||||
|
{
|
||||||
|
case FUNCTION:
|
||||||
|
step0(step);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case DRIVER:
|
||||||
|
step1(step);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case FULL2WIRE:
|
||||||
|
step2(step);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case FULL3WIRE:
|
||||||
|
step3(step);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case FULL4WIRE:
|
||||||
|
step4(step);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case HALF3WIRE:
|
||||||
|
step6(step);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case HALF4WIRE:
|
||||||
|
step8(step);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// You might want to override this to implement eg serial output
|
||||||
|
// bit 0 of the mask corresponds to _pin[0]
|
||||||
|
// bit 1 of the mask corresponds to _pin[1]
|
||||||
|
// ....
|
||||||
|
void AccelStepper::setOutputPins(uint8_t mask)
|
||||||
|
{
|
||||||
|
uint8_t numpins = 2;
|
||||||
|
if (_interface == FULL4WIRE || _interface == HALF4WIRE)
|
||||||
|
numpins = 4;
|
||||||
|
uint8_t i;
|
||||||
|
for (i = 0; i < numpins; i++)
|
||||||
|
digitalWrite(_pin[i], (mask & (1 << i)) ? (HIGH ^ _pinInverted[i]) : (LOW ^ _pinInverted[i]));
|
||||||
|
}
|
||||||
|
|
||||||
|
// 0 pin step function (ie for functional usage)
|
||||||
|
void AccelStepper::step0(long step)
|
||||||
|
{
|
||||||
|
if (_speed > 0)
|
||||||
|
_forward();
|
||||||
|
else
|
||||||
|
_backward();
|
||||||
|
}
|
||||||
|
|
||||||
|
// 1 pin step function (ie for stepper drivers)
|
||||||
|
// This is passed the current step number (0 to 7)
|
||||||
|
// Subclasses can override
|
||||||
|
void AccelStepper::step1(long step)
|
||||||
|
{
|
||||||
|
// _pin[0] is step, _pin[1] is direction
|
||||||
|
setOutputPins(_direction ? 0b10 : 0b00); // Set direction first else get rogue pulses
|
||||||
|
setOutputPins(_direction ? 0b11 : 0b01); // step HIGH
|
||||||
|
// Caution 200ns setup time
|
||||||
|
// Delay the minimum allowed pulse width
|
||||||
|
delayMicroseconds(_minPulseWidth);
|
||||||
|
setOutputPins(_direction ? 0b10 : 0b00); // step LOW
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 2 pin step function
|
||||||
|
// This is passed the current step number (0 to 7)
|
||||||
|
// Subclasses can override
|
||||||
|
void AccelStepper::step2(long step)
|
||||||
|
{
|
||||||
|
switch (step & 0x3)
|
||||||
|
{
|
||||||
|
case 0: /* 01 */
|
||||||
|
setOutputPins(0b10);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 1: /* 11 */
|
||||||
|
setOutputPins(0b11);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 2: /* 10 */
|
||||||
|
setOutputPins(0b01);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 3: /* 00 */
|
||||||
|
setOutputPins(0b00);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 3 pin step function
|
||||||
|
// This is passed the current step number (0 to 7)
|
||||||
|
// Subclasses can override
|
||||||
|
void AccelStepper::step3(long step)
|
||||||
|
{
|
||||||
|
switch (step % 3)
|
||||||
|
{
|
||||||
|
case 0: // 100
|
||||||
|
setOutputPins(0b100);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 1: // 001
|
||||||
|
setOutputPins(0b001);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 2: //010
|
||||||
|
setOutputPins(0b010);
|
||||||
|
break;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 4 pin step function for half stepper
|
||||||
|
// This is passed the current step number (0 to 7)
|
||||||
|
// Subclasses can override
|
||||||
|
void AccelStepper::step4(long step)
|
||||||
|
{
|
||||||
|
switch (step & 0x3)
|
||||||
|
{
|
||||||
|
case 0: // 1010
|
||||||
|
setOutputPins(0b0101);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 1: // 0110
|
||||||
|
setOutputPins(0b0110);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 2: //0101
|
||||||
|
setOutputPins(0b1010);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 3: //1001
|
||||||
|
setOutputPins(0b1001);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 3 pin half step function
|
||||||
|
// This is passed the current step number (0 to 7)
|
||||||
|
// Subclasses can override
|
||||||
|
void AccelStepper::step6(long step)
|
||||||
|
{
|
||||||
|
switch (step % 6)
|
||||||
|
{
|
||||||
|
case 0: // 100
|
||||||
|
setOutputPins(0b100);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 1: // 101
|
||||||
|
setOutputPins(0b101);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 2: // 001
|
||||||
|
setOutputPins(0b001);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 3: // 011
|
||||||
|
setOutputPins(0b011);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 4: // 010
|
||||||
|
setOutputPins(0b010);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 5: // 011
|
||||||
|
setOutputPins(0b110);
|
||||||
|
break;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 4 pin half step function
|
||||||
|
// This is passed the current step number (0 to 7)
|
||||||
|
// Subclasses can override
|
||||||
|
void AccelStepper::step8(long step)
|
||||||
|
{
|
||||||
|
switch (step & 0x7)
|
||||||
|
{
|
||||||
|
case 0: // 1000
|
||||||
|
setOutputPins(0b0001);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 1: // 1010
|
||||||
|
setOutputPins(0b0101);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 2: // 0010
|
||||||
|
setOutputPins(0b0100);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 3: // 0110
|
||||||
|
setOutputPins(0b0110);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 4: // 0100
|
||||||
|
setOutputPins(0b0010);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 5: //0101
|
||||||
|
setOutputPins(0b1010);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 6: // 0001
|
||||||
|
setOutputPins(0b1000);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 7: //1001
|
||||||
|
setOutputPins(0b1001);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Prevents power consumption on the outputs
|
||||||
|
void AccelStepper::disableOutputs()
|
||||||
|
{
|
||||||
|
if (! _interface) return;
|
||||||
|
|
||||||
|
setOutputPins(0); // Handles inversion automatically
|
||||||
|
if (_enablePin != 0xff)
|
||||||
|
digitalWrite(_enablePin, LOW ^ _enableInverted);
|
||||||
|
}
|
||||||
|
|
||||||
|
void AccelStepper::enableOutputs()
|
||||||
|
{
|
||||||
|
if (! _interface)
|
||||||
|
return;
|
||||||
|
|
||||||
|
pinMode(_pin[0], OUTPUT);
|
||||||
|
pinMode(_pin[1], OUTPUT);
|
||||||
|
if (_interface == FULL4WIRE || _interface == HALF4WIRE)
|
||||||
|
{
|
||||||
|
pinMode(_pin[2], OUTPUT);
|
||||||
|
pinMode(_pin[3], OUTPUT);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (_enablePin != 0xff)
|
||||||
|
{
|
||||||
|
pinMode(_enablePin, OUTPUT);
|
||||||
|
digitalWrite(_enablePin, HIGH ^ _enableInverted);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void AccelStepper::setMinPulseWidth(unsigned int minWidth)
|
||||||
|
{
|
||||||
|
_minPulseWidth = minWidth;
|
||||||
|
}
|
||||||
|
|
||||||
|
void AccelStepper::setEnablePin(uint8_t enablePin)
|
||||||
|
{
|
||||||
|
_enablePin = enablePin;
|
||||||
|
|
||||||
|
// This happens after construction, so init pin now.
|
||||||
|
if (_enablePin != 0xff)
|
||||||
|
{
|
||||||
|
pinMode(_enablePin, OUTPUT);
|
||||||
|
digitalWrite(_enablePin, HIGH ^ _enableInverted);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void AccelStepper::setPinsInverted(bool directionInvert, bool stepInvert, bool enableInvert)
|
||||||
|
{
|
||||||
|
_pinInverted[0] = stepInvert;
|
||||||
|
_pinInverted[1] = directionInvert;
|
||||||
|
_enableInverted = enableInvert;
|
||||||
|
}
|
||||||
|
|
||||||
|
void AccelStepper::setPinsInverted(bool pin1Invert, bool pin2Invert, bool pin3Invert, bool pin4Invert, bool enableInvert)
|
||||||
|
{
|
||||||
|
_pinInverted[0] = pin1Invert;
|
||||||
|
_pinInverted[1] = pin2Invert;
|
||||||
|
_pinInverted[2] = pin3Invert;
|
||||||
|
_pinInverted[3] = pin4Invert;
|
||||||
|
_enableInverted = enableInvert;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Blocks until the target position is reached and stopped
|
||||||
|
void AccelStepper::runToPosition()
|
||||||
|
{
|
||||||
|
while (run())
|
||||||
|
;
|
||||||
|
}
|
||||||
|
|
||||||
|
boolean AccelStepper::runSpeedToPosition()
|
||||||
|
{
|
||||||
|
if (_targetPos == _currentPos)
|
||||||
|
return false;
|
||||||
|
if (_targetPos >_currentPos)
|
||||||
|
_direction = DIRECTION_CW;
|
||||||
|
else
|
||||||
|
_direction = DIRECTION_CCW;
|
||||||
|
return runSpeed();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Blocks until the new target position is reached
|
||||||
|
void AccelStepper::runToNewPosition(long position)
|
||||||
|
{
|
||||||
|
moveTo(position);
|
||||||
|
runToPosition();
|
||||||
|
}
|
||||||
|
|
||||||
|
void AccelStepper::stop()
|
||||||
|
{
|
||||||
|
if (_speed != 0.0)
|
||||||
|
{
|
||||||
|
long stepsToStop = (long)((_speed * _speed) / (2.0 * _acceleration)) + 1; // Equation 16 (+integer rounding)
|
||||||
|
if (_speed > 0)
|
||||||
|
move(stepsToStop);
|
||||||
|
else
|
||||||
|
move(-stepsToStop);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,620 @@
|
||||||
|
// AccelStepper.h
|
||||||
|
//
|
||||||
|
/// \mainpage AccelStepper library for Arduino
|
||||||
|
///
|
||||||
|
/// This is the Arduino AccelStepper library.
|
||||||
|
/// It provides an object-oriented interface for 2, 3 or 4 pin stepper motors.
|
||||||
|
///
|
||||||
|
/// The standard Arduino IDE includes the Stepper library
|
||||||
|
/// (http://arduino.cc/en/Reference/Stepper) for stepper motors. It is
|
||||||
|
/// perfectly adequate for simple, single motor applications.
|
||||||
|
///
|
||||||
|
/// AccelStepper significantly improves on the standard Arduino Stepper library in several ways:
|
||||||
|
/// \li Supports acceleration and deceleration
|
||||||
|
/// \li Supports multiple simultaneous steppers, with independent concurrent stepping on each stepper
|
||||||
|
/// \li API functions never delay() or block
|
||||||
|
/// \li Supports 2, 3 and 4 wire steppers, plus 3 and 4 wire half steppers.
|
||||||
|
/// \li Supports alternate stepping functions to enable support of AFMotor (https://github.com/adafruit/Adafruit-Motor-Shield-library)
|
||||||
|
/// \li Supports stepper drivers such as the Sparkfun EasyDriver (based on 3967 driver chip)
|
||||||
|
/// \li Very slow speeds are supported
|
||||||
|
/// \li Extensive API
|
||||||
|
/// \li Subclass support
|
||||||
|
///
|
||||||
|
/// The latest version of this documentation can be downloaded from
|
||||||
|
/// http://www.airspayce.com/mikem/arduino/AccelStepper
|
||||||
|
/// The version of the package that this documentation refers to can be downloaded
|
||||||
|
/// from http://www.airspayce.com/mikem/arduino/AccelStepper/AccelStepper-1.38.zip
|
||||||
|
///
|
||||||
|
/// Example Arduino programs are included to show the main modes of use.
|
||||||
|
///
|
||||||
|
/// You can also find online help and discussion at http://groups.google.com/group/accelstepper
|
||||||
|
/// Please use that group for all questions and discussions on this topic.
|
||||||
|
/// Do not contact the author directly, unless it is to discuss commercial licensing.
|
||||||
|
///
|
||||||
|
/// Tested on Arduino Diecimila and Mega with arduino-0018 & arduino-0021
|
||||||
|
/// on OpenSuSE 11.1 and avr-libc-1.6.1-1.15,
|
||||||
|
/// cross-avr-binutils-2.19-9.1, cross-avr-gcc-4.1.3_20080612-26.5.
|
||||||
|
///
|
||||||
|
/// \par Installation
|
||||||
|
/// Install in the usual way: unzip the distribution zip file to the libraries
|
||||||
|
/// sub-folder of your sketchbook.
|
||||||
|
///
|
||||||
|
/// \par Theory
|
||||||
|
/// This code uses speed calculations as described in
|
||||||
|
/// "Generate stepper-motor speed profiles in real time" by David Austin
|
||||||
|
/// http://fab.cba.mit.edu/classes/MIT/961.09/projects/i0/Stepper_Motor_Speed_Profile.pdf
|
||||||
|
/// with the exception that AccelStepper uses steps per second rather than radians per second
|
||||||
|
/// (because we dont know the step angle of the motor)
|
||||||
|
/// An initial step interval is calculated for the first step, based on the desired acceleration
|
||||||
|
/// On subsequent steps, shorter step intervals are calculated based
|
||||||
|
/// on the previous step until max speed is achieved.
|
||||||
|
///
|
||||||
|
/// This software is Copyright (C) 2010 Mike McCauley. Use is subject to license
|
||||||
|
/// conditions. The main licensing options available are GPL V2 or Commercial:
|
||||||
|
///
|
||||||
|
/// \par Open Source Licensing GPL V2
|
||||||
|
/// This is the appropriate option if you want to share the source code of your
|
||||||
|
/// application with everyone you distribute it to, and you also want to give them
|
||||||
|
/// the right to share who uses it. If you wish to use this software under Open
|
||||||
|
/// Source Licensing, you must contribute all your source code to the open source
|
||||||
|
/// community in accordance with the GPL Version 2 when your application is
|
||||||
|
/// distributed. See http://www.gnu.org/copyleft/gpl.html
|
||||||
|
///
|
||||||
|
/// \par Commercial Licensing
|
||||||
|
/// This is the appropriate option if you are creating proprietary applications
|
||||||
|
/// and you are not prepared to distribute and share the source code of your
|
||||||
|
/// application. Contact info@airspayce.com for details.
|
||||||
|
///
|
||||||
|
/// \par Revision History
|
||||||
|
/// \version 1.0 Initial release
|
||||||
|
///
|
||||||
|
/// \version 1.1 Added speed() function to get the current speed.
|
||||||
|
/// \version 1.2 Added runSpeedToPosition() submitted by Gunnar Arndt.
|
||||||
|
/// \version 1.3 Added support for stepper drivers (ie with Step and Direction inputs) with _pins == 1
|
||||||
|
/// \version 1.4 Added functional contructor to support AFMotor, contributed by Limor, with example sketches.
|
||||||
|
/// \version 1.5 Improvements contributed by Peter Mousley: Use of microsecond steps and other speed improvements
|
||||||
|
/// to increase max stepping speed to about 4kHz. New option for user to set the min allowed pulse width.
|
||||||
|
/// Added checks for already running at max speed and skip further calcs if so.
|
||||||
|
/// \version 1.6 Fixed a problem with wrapping of microsecond stepping that could cause stepping to hang.
|
||||||
|
/// Reported by Sandy Noble.
|
||||||
|
/// Removed redundant _lastRunTime member.
|
||||||
|
/// \version 1.7 Fixed a bug where setCurrentPosition() did not always work as expected.
|
||||||
|
/// Reported by Peter Linhart.
|
||||||
|
/// \version 1.8 Added support for 4 pin half-steppers, requested by Harvey Moon
|
||||||
|
/// \version 1.9 setCurrentPosition() now also sets motor speed to 0.
|
||||||
|
/// \version 1.10 Builds on Arduino 1.0
|
||||||
|
/// \version 1.11 Improvments from Michael Ellison:
|
||||||
|
/// Added optional enable line support for stepper drivers
|
||||||
|
/// Added inversion for step/direction/enable lines for stepper drivers
|
||||||
|
/// \version 1.12 Announce Google Group
|
||||||
|
/// \version 1.13 Improvements to speed calculation. Cost of calculation is now less in the worst case,
|
||||||
|
/// and more or less constant in all cases. This should result in slightly beter high speed performance, and
|
||||||
|
/// reduce anomalous speed glitches when other steppers are accelerating.
|
||||||
|
/// However, its hard to see how to replace the sqrt() required at the very first step from 0 speed.
|
||||||
|
/// \version 1.14 Fixed a problem with compiling under arduino 0021 reported by EmbeddedMan
|
||||||
|
/// \version 1.15 Fixed a problem with runSpeedToPosition which did not correctly handle
|
||||||
|
/// running backwards to a smaller target position. Added examples
|
||||||
|
/// \version 1.16 Fixed some cases in the code where abs() was used instead of fabs().
|
||||||
|
/// \version 1.17 Added example ProportionalControl
|
||||||
|
/// \version 1.18 Fixed a problem: If one calls the funcion runSpeed() when Speed is zero, it makes steps
|
||||||
|
/// without counting. reported by Friedrich, Klappenbach.
|
||||||
|
/// \version 1.19 Added MotorInterfaceType and symbolic names for the number of pins to use
|
||||||
|
/// for the motor interface. Updated examples to suit.
|
||||||
|
/// Replaced individual pin assignment variables _pin1, _pin2 etc with array _pin[4].
|
||||||
|
/// _pins member changed to _interface.
|
||||||
|
/// Added _pinInverted array to simplify pin inversion operations.
|
||||||
|
/// Added new function setOutputPins() which sets the motor output pins.
|
||||||
|
/// It can be overridden in order to provide, say, serial output instead of parallel output
|
||||||
|
/// Some refactoring and code size reduction.
|
||||||
|
/// \version 1.20 Improved documentation and examples to show need for correctly
|
||||||
|
/// specifying AccelStepper::FULL4WIRE and friends.
|
||||||
|
/// \version 1.21 Fixed a problem where desiredSpeed could compute the wrong step acceleration
|
||||||
|
/// when _speed was small but non-zero. Reported by Brian Schmalz.
|
||||||
|
/// Precompute sqrt_twoa to improve performance and max possible stepping speed
|
||||||
|
/// \version 1.22 Added Bounce.pde example
|
||||||
|
/// Fixed a problem where calling moveTo(), setMaxSpeed(), setAcceleration() more
|
||||||
|
/// frequently than the step time, even
|
||||||
|
/// with the same values, would interfere with speed calcs. Now a new speed is computed
|
||||||
|
/// only if there was a change in the set value. Reported by Brian Schmalz.
|
||||||
|
/// \version 1.23 Rewrite of the speed algorithms in line with
|
||||||
|
/// http://fab.cba.mit.edu/classes/MIT/961.09/projects/i0/Stepper_Motor_Speed_Profile.pdf
|
||||||
|
/// Now expect smoother and more linear accelerations and decelerations. The desiredSpeed()
|
||||||
|
/// function was removed.
|
||||||
|
/// \version 1.24 Fixed a problem introduced in 1.23: with runToPosition, which did never returned
|
||||||
|
/// \version 1.25 Now ignore attempts to set acceleration to 0.0
|
||||||
|
/// \version 1.26 Fixed a problem where certina combinations of speed and accelration could cause
|
||||||
|
/// oscillation about the target position.
|
||||||
|
/// \version 1.27 Added stop() function to stop as fast as possible with current acceleration parameters.
|
||||||
|
/// Also added new Quickstop example showing its use.
|
||||||
|
/// \version 1.28 Fixed another problem where certain combinations of speed and accelration could cause
|
||||||
|
/// oscillation about the target position.
|
||||||
|
/// Added support for 3 wire full and half steppers such as Hard Disk Drive spindle.
|
||||||
|
/// Contributed by Yuri Ivatchkovitch.
|
||||||
|
/// \version 1.29 Fixed a problem that could cause a DRIVER stepper to continually step
|
||||||
|
/// with some sketches. Reported by Vadim.
|
||||||
|
/// \version 1.30 Fixed a problem that could cause stepper to back up a few steps at the end of
|
||||||
|
/// accelerated travel with certain speeds. Reported and patched by jolo.
|
||||||
|
/// \version 1.31 Updated author and distribution location details to airspayce.com
|
||||||
|
/// \version 1.32 Fixed a problem with enableOutputs() and setEnablePin on Arduino Due that
|
||||||
|
/// prevented the enable pin changing stae correctly. Reported by Duane Bishop.
|
||||||
|
/// \version 1.33 Fixed an error in example AFMotor_ConstantSpeed.pde did not setMaxSpeed();
|
||||||
|
/// Fixed a problem that caused incorrect pin sequencing of FULL3WIRE and HALF3WIRE.
|
||||||
|
/// Unfortunately this meant changing the signature for all step*() functions.
|
||||||
|
/// Added example MotorShield, showing how to use AdaFruit Motor Shield to control
|
||||||
|
/// a 3 phase motor such as a HDD spindle motor (and without using the AFMotor library.
|
||||||
|
/// \version 1.34 Added setPinsInverted(bool pin1Invert, bool pin2Invert, bool pin3Invert, bool pin4Invert, bool enableInvert)
|
||||||
|
/// to allow inversion of 2, 3 and 4 wire stepper pins. Requested by Oleg.
|
||||||
|
/// \version 1.35 Removed default args from setPinsInverted(bool, bool, bool, bool, bool) to prevent ambiguity with
|
||||||
|
/// setPinsInverted(bool, bool, bool). Reported by Mac Mac.
|
||||||
|
/// \version 1.36 Changed enableOutputs() and disableOutputs() to be virtual so can be overridden.
|
||||||
|
/// Added new optional argument 'enable' to constructor, which allows you toi disable the
|
||||||
|
/// automatic enabling of outputs at construction time. Suggested by Guido.
|
||||||
|
/// \version 1.37 Fixed a problem with step1 that could cause a rogue step in the
|
||||||
|
/// wrong direction (or not,
|
||||||
|
/// depending on the setup-time requirements of the connected hardware).
|
||||||
|
/// Reported by Mark Tillotson.
|
||||||
|
/// \version 1.38 run() function incorrectly always returned true. Updated function and doc so it returns true
|
||||||
|
/// if the motor is still running to the target position.
|
||||||
|
///
|
||||||
|
/// \author Mike McCauley (mikem@airspayce.com) DO NOT CONTACT THE AUTHOR DIRECTLY: USE THE LISTS
|
||||||
|
// Copyright (C) 2009-2013 Mike McCauley
|
||||||
|
// $Id: AccelStepper.h,v 1.19 2013/08/02 01:53:21 mikem Exp mikem $
|
||||||
|
|
||||||
|
#ifndef AccelStepper_h
|
||||||
|
#define AccelStepper_h
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
#if ARDUINO >= 100
|
||||||
|
#include <Arduino.h>
|
||||||
|
#else
|
||||||
|
#include <WProgram.h>
|
||||||
|
#include <wiring.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// These defs cause trouble on some versions of Arduino
|
||||||
|
#undef round
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////
|
||||||
|
/// \class AccelStepper AccelStepper.h <AccelStepper.h>
|
||||||
|
/// \brief Support for stepper motors with acceleration etc.
|
||||||
|
///
|
||||||
|
/// This defines a single 2 or 4 pin stepper motor, or stepper moter with fdriver chip, with optional
|
||||||
|
/// acceleration, deceleration, absolute positioning commands etc. Multiple
|
||||||
|
/// simultaneous steppers are supported, all moving
|
||||||
|
/// at different speeds and accelerations.
|
||||||
|
///
|
||||||
|
/// \par Operation
|
||||||
|
/// This module operates by computing a step time in microseconds. The step
|
||||||
|
/// time is recomputed after each step and after speed and acceleration
|
||||||
|
/// parameters are changed by the caller. The time of each step is recorded in
|
||||||
|
/// microseconds. The run() function steps the motor once if a new step is due.
|
||||||
|
/// The run() function must be called frequently until the motor is in the
|
||||||
|
/// desired position, after which time run() will do nothing.
|
||||||
|
///
|
||||||
|
/// \par Positioning
|
||||||
|
/// Positions are specified by a signed long integer. At
|
||||||
|
/// construction time, the current position of the motor is consider to be 0. Positive
|
||||||
|
/// positions are clockwise from the initial position; negative positions are
|
||||||
|
/// anticlockwise. The curent position can be altered for instance after
|
||||||
|
/// initialization positioning.
|
||||||
|
///
|
||||||
|
/// \par Caveats
|
||||||
|
/// This is an open loop controller: If the motor stalls or is oversped,
|
||||||
|
/// AccelStepper will not have a correct
|
||||||
|
/// idea of where the motor really is (since there is no feedback of the motor's
|
||||||
|
/// real position. We only know where we _think_ it is, relative to the
|
||||||
|
/// initial starting point).
|
||||||
|
///
|
||||||
|
/// \par Performance
|
||||||
|
/// The fastest motor speed that can be reliably supported is about 4000 steps per
|
||||||
|
/// second at a clock frequency of 16 MHz on Arduino such as Uno etc.
|
||||||
|
/// Faster processors can support faster stepping speeds.
|
||||||
|
/// However, any speed less than that
|
||||||
|
/// down to very slow speeds (much less than one per second) are also supported,
|
||||||
|
/// provided the run() function is called frequently enough to step the motor
|
||||||
|
/// whenever required for the speed set.
|
||||||
|
/// Calling setAcceleration() is expensive,
|
||||||
|
/// since it requires a square root to be calculated.
|
||||||
|
class AccelStepper
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
/// \brief Symbolic names for number of pins.
|
||||||
|
/// Use this in the pins argument the AccelStepper constructor to
|
||||||
|
/// provide a symbolic name for the number of pins
|
||||||
|
/// to use.
|
||||||
|
typedef enum
|
||||||
|
{
|
||||||
|
FUNCTION = 0, ///< Use the functional interface, implementing your own driver functions (internal use only)
|
||||||
|
DRIVER = 1, ///< Stepper Driver, 2 driver pins required
|
||||||
|
FULL2WIRE = 2, ///< 2 wire stepper, 2 motor pins required
|
||||||
|
FULL3WIRE = 3, ///< 3 wire stepper, such as HDD spindle, 3 motor pins required
|
||||||
|
FULL4WIRE = 4, ///< 4 wire full stepper, 4 motor pins required
|
||||||
|
HALF3WIRE = 6, ///< 3 wire half stepper, such as HDD spindle, 3 motor pins required
|
||||||
|
HALF4WIRE = 8 ///< 4 wire half stepper, 4 motor pins required
|
||||||
|
} MotorInterfaceType;
|
||||||
|
|
||||||
|
/// Constructor. You can have multiple simultaneous steppers, all moving
|
||||||
|
/// at different speeds and accelerations, provided you call their run()
|
||||||
|
/// functions at frequent enough intervals. Current Position is set to 0, target
|
||||||
|
/// position is set to 0. MaxSpeed and Acceleration default to 1.0.
|
||||||
|
/// The motor pins will be initialised to OUTPUT mode during the
|
||||||
|
/// constructor by a call to enableOutputs().
|
||||||
|
/// \param[in] interface Number of pins to interface to. 1, 2, 4 or 8 are
|
||||||
|
/// supported, but it is preferred to use the \ref MotorInterfaceType symbolic names.
|
||||||
|
/// AccelStepper::DRIVER (1) means a stepper driver (with Step and Direction pins).
|
||||||
|
/// If an enable line is also needed, call setEnablePin() after construction.
|
||||||
|
/// You may also invert the pins using setPinsInverted().
|
||||||
|
/// AccelStepper::FULL2WIRE (2) means a 2 wire stepper (2 pins required).
|
||||||
|
/// AccelStepper::FULL3WIRE (3) means a 3 wire stepper, such as HDD spindle (3 pins required).
|
||||||
|
/// AccelStepper::FULL4WIRE (4) means a 4 wire stepper (4 pins required).
|
||||||
|
/// AccelStepper::HALF3WIRE (6) means a 3 wire half stepper, such as HDD spindle (3 pins required)
|
||||||
|
/// AccelStepper::HALF4WIRE (8) means a 4 wire half stepper (4 pins required)
|
||||||
|
/// Defaults to AccelStepper::FULL4WIRE (4) pins.
|
||||||
|
/// \param[in] pin1 Arduino digital pin number for motor pin 1. Defaults
|
||||||
|
/// to pin 2. For a AccelStepper::DRIVER (pins==1),
|
||||||
|
/// this is the Step input to the driver. Low to high transition means to step)
|
||||||
|
/// \param[in] pin2 Arduino digital pin number for motor pin 2. Defaults
|
||||||
|
/// to pin 3. For a AccelStepper::DRIVER (pins==1),
|
||||||
|
/// this is the Direction input the driver. High means forward.
|
||||||
|
/// \param[in] pin3 Arduino digital pin number for motor pin 3. Defaults
|
||||||
|
/// to pin 4.
|
||||||
|
/// \param[in] pin4 Arduino digital pin number for motor pin 4. Defaults
|
||||||
|
/// to pin 5.
|
||||||
|
/// \param[in] enable If this is true (the default), enableOutpuys() will be called to enable
|
||||||
|
/// the output pins at construction time.
|
||||||
|
AccelStepper(uint8_t interface = AccelStepper::FULL4WIRE, uint8_t pin1 = 2, uint8_t pin2 = 3, uint8_t pin3 = 4, uint8_t pin4 = 5, bool enable = true);
|
||||||
|
|
||||||
|
/// Alternate Constructor which will call your own functions for forward and backward steps.
|
||||||
|
/// You can have multiple simultaneous steppers, all moving
|
||||||
|
/// at different speeds and accelerations, provided you call their run()
|
||||||
|
/// functions at frequent enough intervals. Current Position is set to 0, target
|
||||||
|
/// position is set to 0. MaxSpeed and Acceleration default to 1.0.
|
||||||
|
/// Any motor initialization should happen before hand, no pins are used or initialized.
|
||||||
|
/// \param[in] forward void-returning procedure that will make a forward step
|
||||||
|
/// \param[in] backward void-returning procedure that will make a backward step
|
||||||
|
AccelStepper(void (*forward)(), void (*backward)());
|
||||||
|
|
||||||
|
/// Set the target position. The run() function will try to move the motor (at most one step per call)
|
||||||
|
/// from the current position to the target position set by the most
|
||||||
|
/// recent call to this function. Caution: moveTo() also recalculates the speed for the next step.
|
||||||
|
/// If you are trying to use constant speed movements, you should call setSpeed() after calling moveTo().
|
||||||
|
/// \param[in] absolute The desired absolute position. Negative is
|
||||||
|
/// anticlockwise from the 0 position.
|
||||||
|
virtual void moveTo(long absolute);
|
||||||
|
|
||||||
|
/// Set the target position relative to the current position
|
||||||
|
/// \param[in] relative The desired position relative to the current position. Negative is
|
||||||
|
/// anticlockwise from the current position.
|
||||||
|
void move(long relative);
|
||||||
|
|
||||||
|
/// Poll the motor and step it if a step is due, implementing
|
||||||
|
/// accelerations and decelerations to acheive the target position. You must call this as
|
||||||
|
/// frequently as possible, but at least once per minimum step time interval,
|
||||||
|
/// preferably in your main loop. Note that each call to run() will make at most one step, and then only when a step is due,
|
||||||
|
/// based on the current speed and the time since the last step.
|
||||||
|
/// \return true if the motor is still running to the target position.
|
||||||
|
boolean run();
|
||||||
|
|
||||||
|
/// Poll the motor and step it if a step is due, implementing a constant
|
||||||
|
/// speed as set by the most recent call to setSpeed(). You must call this as
|
||||||
|
/// frequently as possible, but at least once per step interval,
|
||||||
|
/// \return true if the motor was stepped.
|
||||||
|
virtual boolean runSpeed();
|
||||||
|
|
||||||
|
/// Sets the maximum permitted speed. The run() function will accelerate
|
||||||
|
/// up to the speed set by this function.
|
||||||
|
/// \param[in] speed The desired maximum speed in steps per second. Must
|
||||||
|
/// be > 0. Caution: Speeds that exceed the maximum speed supported by the processor may
|
||||||
|
/// Result in non-linear accelerations and decelerations.
|
||||||
|
void setMaxSpeed(float speed);
|
||||||
|
|
||||||
|
/// Sets the acceleration/deceleration rate.
|
||||||
|
/// \param[in] acceleration The desired acceleration in steps per second
|
||||||
|
/// per second. Must be > 0.0. This is an expensive call since it requires a square
|
||||||
|
/// root to be calculated. Dont call more ofthen than needed
|
||||||
|
void setAcceleration(float acceleration);
|
||||||
|
|
||||||
|
/// Sets the desired constant speed for use with runSpeed().
|
||||||
|
/// \param[in] speed The desired constant speed in steps per
|
||||||
|
/// second. Positive is clockwise. Speeds of more than 1000 steps per
|
||||||
|
/// second are unreliable. Very slow speeds may be set (eg 0.00027777 for
|
||||||
|
/// once per hour, approximately. Speed accuracy depends on the Arduino
|
||||||
|
/// crystal. Jitter depends on how frequently you call the runSpeed() function.
|
||||||
|
void setSpeed(float speed);
|
||||||
|
|
||||||
|
/// The most recently set speed
|
||||||
|
/// \return the most recent speed in steps per second
|
||||||
|
float speed();
|
||||||
|
|
||||||
|
/// The distance from the current position to the target position.
|
||||||
|
/// \return the distance from the current position to the target position
|
||||||
|
/// in steps. Positive is clockwise from the current position.
|
||||||
|
long distanceToGo();
|
||||||
|
|
||||||
|
/// The most recently set target position.
|
||||||
|
/// \return the target position
|
||||||
|
/// in steps. Positive is clockwise from the 0 position.
|
||||||
|
long targetPosition();
|
||||||
|
|
||||||
|
/// The currently motor position.
|
||||||
|
/// \return the current motor position
|
||||||
|
/// in steps. Positive is clockwise from the 0 position.
|
||||||
|
long currentPosition();
|
||||||
|
|
||||||
|
/// Resets the current position of the motor, so that wherever the motor
|
||||||
|
/// happens to be right now is considered to be the new 0 position. Useful
|
||||||
|
/// for setting a zero position on a stepper after an initial hardware
|
||||||
|
/// positioning move.
|
||||||
|
/// Has the side effect of setting the current motor speed to 0.
|
||||||
|
/// \param[in] position The position in steps of wherever the motor
|
||||||
|
/// happens to be right now.
|
||||||
|
void setCurrentPosition(long position);
|
||||||
|
|
||||||
|
/// Moves the motor at the currently selected constant speed (forward or reverse)
|
||||||
|
/// to the target position and blocks until it is at
|
||||||
|
/// position. Dont use this in event loops, since it blocks.
|
||||||
|
void runToPosition();
|
||||||
|
|
||||||
|
/// Runs at the currently selected speed until the target position is reached
|
||||||
|
/// Does not implement accelerations.
|
||||||
|
/// \return true if it stepped
|
||||||
|
virtual boolean runSpeedToPosition();
|
||||||
|
|
||||||
|
/// Moves the motor to the new target position and blocks until it is at
|
||||||
|
/// position. Dont use this in event loops, since it blocks.
|
||||||
|
/// \param[in] position The new target position.
|
||||||
|
void runToNewPosition(long position);
|
||||||
|
|
||||||
|
/// Sets a new target position that causes the stepper
|
||||||
|
/// to stop as quickly as possible, using to the current speed and acceleration parameters.
|
||||||
|
void stop();
|
||||||
|
|
||||||
|
/// Disable motor pin outputs by setting them all LOW
|
||||||
|
/// Depending on the design of your electronics this may turn off
|
||||||
|
/// the power to the motor coils, saving power.
|
||||||
|
/// This is useful to support Arduino low power modes: disable the outputs
|
||||||
|
/// during sleep and then reenable with enableOutputs() before stepping
|
||||||
|
/// again.
|
||||||
|
virtual void disableOutputs();
|
||||||
|
|
||||||
|
/// Enable motor pin outputs by setting the motor pins to OUTPUT
|
||||||
|
/// mode. Called automatically by the constructor.
|
||||||
|
virtual void enableOutputs();
|
||||||
|
|
||||||
|
/// Sets the minimum pulse width allowed by the stepper driver. The minimum practical pulse width is
|
||||||
|
/// approximately 20 microseconds. Times less than 20 microseconds
|
||||||
|
/// will usually result in 20 microseconds or so.
|
||||||
|
/// \param[in] minWidth The minimum pulse width in microseconds.
|
||||||
|
void setMinPulseWidth(unsigned int minWidth);
|
||||||
|
|
||||||
|
/// Sets the enable pin number for stepper drivers.
|
||||||
|
/// 0xFF indicates unused (default).
|
||||||
|
/// Otherwise, if a pin is set, the pin will be turned on when
|
||||||
|
/// enableOutputs() is called and switched off when disableOutputs()
|
||||||
|
/// is called.
|
||||||
|
/// \param[in] enablePin Arduino digital pin number for motor enable
|
||||||
|
/// \sa setPinsInverted
|
||||||
|
void setEnablePin(uint8_t enablePin = 0xff);
|
||||||
|
|
||||||
|
/// Sets the inversion for stepper driver pins
|
||||||
|
/// \param[in] directionInvert True for inverted direction pin, false for non-inverted
|
||||||
|
/// \param[in] stepInvert True for inverted step pin, false for non-inverted
|
||||||
|
/// \param[in] enableInvert True for inverted enable pin, false (default) for non-inverted
|
||||||
|
void setPinsInverted(bool directionInvert = false, bool stepInvert = false, bool enableInvert = false);
|
||||||
|
|
||||||
|
/// Sets the inversion for 2, 3 and 4 wire stepper pins
|
||||||
|
/// \param[in] pin1Invert True for inverted pin1, false for non-inverted
|
||||||
|
/// \param[in] pin2Invert True for inverted pin2, false for non-inverted
|
||||||
|
/// \param[in] pin3Invert True for inverted pin3, false for non-inverted
|
||||||
|
/// \param[in] pin4Invert True for inverted pin4, false for non-inverted
|
||||||
|
/// \param[in] enableInvert True for inverted enable pin, false (default) for non-inverted
|
||||||
|
void setPinsInverted(bool pin1Invert, bool pin2Invert, bool pin3Invert, bool pin4Invert, bool enableInvert);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
|
||||||
|
/// \brief Direction indicator
|
||||||
|
/// Symbolic names for the direction the motor is turning
|
||||||
|
typedef enum
|
||||||
|
{
|
||||||
|
DIRECTION_CCW = 0, ///< Clockwise
|
||||||
|
DIRECTION_CW = 1 ///< Counter-Clockwise
|
||||||
|
} Direction;
|
||||||
|
|
||||||
|
/// Forces the library to compute a new instantaneous speed and set that as
|
||||||
|
/// the current speed. It is called by
|
||||||
|
/// the library:
|
||||||
|
/// \li after each step
|
||||||
|
/// \li after change to maxSpeed through setMaxSpeed()
|
||||||
|
/// \li after change to acceleration through setAcceleration()
|
||||||
|
/// \li after change to target position (relative or absolute) through
|
||||||
|
/// move() or moveTo()
|
||||||
|
void computeNewSpeed();
|
||||||
|
|
||||||
|
/// Low level function to set the motor output pins
|
||||||
|
/// bit 0 of the mask corresponds to _pin[0]
|
||||||
|
/// bit 1 of the mask corresponds to _pin[1]
|
||||||
|
/// You can override this to impment, for example serial chip output insted of using the
|
||||||
|
/// output pins directly
|
||||||
|
virtual void setOutputPins(uint8_t mask);
|
||||||
|
|
||||||
|
/// Called to execute a step. Only called when a new step is
|
||||||
|
/// required. Subclasses may override to implement new stepping
|
||||||
|
/// interfaces. The default calls step1(), step2(), step4() or step8() depending on the
|
||||||
|
/// number of pins defined for the stepper.
|
||||||
|
/// \param[in] step The current step phase number (0 to 7)
|
||||||
|
virtual void step(long step);
|
||||||
|
|
||||||
|
/// Called to execute a step using stepper functions (pins = 0) Only called when a new step is
|
||||||
|
/// required. Calls _forward() or _backward() to perform the step
|
||||||
|
/// \param[in] step The current step phase number (0 to 7)
|
||||||
|
virtual void step0(long step);
|
||||||
|
|
||||||
|
/// Called to execute a step on a stepper driver (ie where pins == 1). Only called when a new step is
|
||||||
|
/// required. Subclasses may override to implement new stepping
|
||||||
|
/// interfaces. The default sets or clears the outputs of Step pin1 to step,
|
||||||
|
/// and sets the output of _pin2 to the desired direction. The Step pin (_pin1) is pulsed for 1 microsecond
|
||||||
|
/// which is the minimum STEP pulse width for the 3967 driver.
|
||||||
|
/// \param[in] step The current step phase number (0 to 7)
|
||||||
|
virtual void step1(long step);
|
||||||
|
|
||||||
|
/// Called to execute a step on a 2 pin motor. Only called when a new step is
|
||||||
|
/// required. Subclasses may override to implement new stepping
|
||||||
|
/// interfaces. The default sets or clears the outputs of pin1 and pin2
|
||||||
|
/// \param[in] step The current step phase number (0 to 7)
|
||||||
|
virtual void step2(long step);
|
||||||
|
|
||||||
|
/// Called to execute a step on a 3 pin motor, such as HDD spindle. Only called when a new step is
|
||||||
|
/// required. Subclasses may override to implement new stepping
|
||||||
|
/// interfaces. The default sets or clears the outputs of pin1, pin2,
|
||||||
|
/// pin3
|
||||||
|
/// \param[in] step The current step phase number (0 to 7)
|
||||||
|
virtual void step3(long step);
|
||||||
|
|
||||||
|
/// Called to execute a step on a 4 pin motor. Only called when a new step is
|
||||||
|
/// required. Subclasses may override to implement new stepping
|
||||||
|
/// interfaces. The default sets or clears the outputs of pin1, pin2,
|
||||||
|
/// pin3, pin4.
|
||||||
|
/// \param[in] step The current step phase number (0 to 7)
|
||||||
|
virtual void step4(long step);
|
||||||
|
|
||||||
|
/// Called to execute a step on a 3 pin motor, such as HDD spindle. Only called when a new step is
|
||||||
|
/// required. Subclasses may override to implement new stepping
|
||||||
|
/// interfaces. The default sets or clears the outputs of pin1, pin2,
|
||||||
|
/// pin3
|
||||||
|
/// \param[in] step The current step phase number (0 to 7)
|
||||||
|
virtual void step6(long step);
|
||||||
|
|
||||||
|
/// Called to execute a step on a 4 pin half-steper motor. Only called when a new step is
|
||||||
|
/// required. Subclasses may override to implement new stepping
|
||||||
|
/// interfaces. The default sets or clears the outputs of pin1, pin2,
|
||||||
|
/// pin3, pin4.
|
||||||
|
/// \param[in] step The current step phase number (0 to 7)
|
||||||
|
virtual void step8(long step);
|
||||||
|
|
||||||
|
//private:
|
||||||
|
/// Number of pins on the stepper motor. Permits 2 or 4. 2 pins is a
|
||||||
|
/// bipolar, and 4 pins is a unipolar.
|
||||||
|
uint8_t _interface; // 0, 1, 2, 4, 8, See MotorInterfaceType
|
||||||
|
|
||||||
|
/// Arduino pin number assignments for the 2 or 4 pins required to interface to the
|
||||||
|
/// stepper motor or driver
|
||||||
|
uint8_t _pin[4];
|
||||||
|
|
||||||
|
/// Whether the _pins is inverted or not
|
||||||
|
uint8_t _pinInverted[4];
|
||||||
|
|
||||||
|
/// The current absolution position in steps.
|
||||||
|
long _currentPos; // Steps
|
||||||
|
|
||||||
|
/// The target position in steps. The AccelStepper library will move the
|
||||||
|
/// motor from the _currentPos to the _targetPos, taking into account the
|
||||||
|
/// max speed, acceleration and deceleration
|
||||||
|
long _targetPos; // Steps
|
||||||
|
|
||||||
|
/// The current motos speed in steps per second
|
||||||
|
/// Positive is clockwise
|
||||||
|
float _speed; // Steps per second
|
||||||
|
|
||||||
|
/// The maximum permitted speed in steps per second. Must be > 0.
|
||||||
|
float _maxSpeed;
|
||||||
|
|
||||||
|
/// The acceleration to use to accelerate or decelerate the motor in steps
|
||||||
|
/// per second per second. Must be > 0
|
||||||
|
float _acceleration;
|
||||||
|
float _sqrt_twoa; // Precomputed sqrt(2*_acceleration)
|
||||||
|
|
||||||
|
/// The current interval between steps in microseconds.
|
||||||
|
/// 0 means the motor is currently stopped with _speed == 0
|
||||||
|
unsigned long _stepInterval;
|
||||||
|
|
||||||
|
/// The last step time in microseconds
|
||||||
|
unsigned long _lastStepTime;
|
||||||
|
|
||||||
|
/// The minimum allowed pulse width in microseconds
|
||||||
|
unsigned int _minPulseWidth;
|
||||||
|
|
||||||
|
/// Is the direction pin inverted?
|
||||||
|
///bool _dirInverted; /// Moved to _pinInverted[1]
|
||||||
|
|
||||||
|
/// Is the step pin inverted?
|
||||||
|
///bool _stepInverted; /// Moved to _pinInverted[0]
|
||||||
|
|
||||||
|
/// Is the enable pin inverted?
|
||||||
|
bool _enableInverted;
|
||||||
|
|
||||||
|
/// Enable pin for stepper driver, or 0xFF if unused.
|
||||||
|
uint8_t _enablePin;
|
||||||
|
|
||||||
|
/// The pointer to a forward-step procedure
|
||||||
|
void (*_forward)();
|
||||||
|
|
||||||
|
/// The pointer to a backward-step procedure
|
||||||
|
void (*_backward)();
|
||||||
|
|
||||||
|
/// The step counter for speed calculations
|
||||||
|
long _n;
|
||||||
|
|
||||||
|
/// Initial step size in microseconds
|
||||||
|
float _c0;
|
||||||
|
|
||||||
|
/// Last step size in microseconds
|
||||||
|
float _cn;
|
||||||
|
|
||||||
|
/// Min step size in microseconds based on maxSpeed
|
||||||
|
float _cmin; // at max speed
|
||||||
|
|
||||||
|
/// Current direction motor is spinning in
|
||||||
|
boolean _direction; // 1 == CW
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
/// @example Random.pde
|
||||||
|
/// Make a single stepper perform random changes in speed, position and acceleration
|
||||||
|
|
||||||
|
/// @example Overshoot.pde
|
||||||
|
/// Check overshoot handling
|
||||||
|
/// which sets a new target position and then waits until the stepper has
|
||||||
|
/// achieved it. This is used for testing the handling of overshoots
|
||||||
|
|
||||||
|
/// @example MultiStepper.pde
|
||||||
|
/// Shows how to multiple simultaneous steppers
|
||||||
|
/// Runs one stepper forwards and backwards, accelerating and decelerating
|
||||||
|
/// at the limits. Runs other steppers at the same time
|
||||||
|
|
||||||
|
/// @example ConstantSpeed.pde
|
||||||
|
/// Shows how to run AccelStepper in the simplest,
|
||||||
|
/// fixed speed mode with no accelerations
|
||||||
|
|
||||||
|
/// @example Blocking.pde
|
||||||
|
/// Shows how to use the blocking call runToNewPosition
|
||||||
|
/// Which sets a new target position and then waits until the stepper has
|
||||||
|
/// achieved it.
|
||||||
|
|
||||||
|
/// @example AFMotor_MultiStepper.pde
|
||||||
|
/// Control both Stepper motors at the same time with different speeds
|
||||||
|
/// and accelerations.
|
||||||
|
|
||||||
|
/// @example AFMotor_ConstantSpeed.pde
|
||||||
|
/// Shows how to run AccelStepper in the simplest,
|
||||||
|
/// fixed speed mode with no accelerations
|
||||||
|
|
||||||
|
/// @example ProportionalControl.pde
|
||||||
|
/// Make a single stepper follow the analog value read from a pot or whatever
|
||||||
|
/// The stepper will move at a constant speed to each newly set posiiton,
|
||||||
|
/// depending on the value of the pot.
|
||||||
|
|
||||||
|
/// @example Bounce.pde
|
||||||
|
/// Make a single stepper bounce from one limit to another, observing
|
||||||
|
/// accelrations at each end of travel
|
||||||
|
|
||||||
|
/// @example Quickstop.pde
|
||||||
|
/// Check stop handling.
|
||||||
|
/// Calls stop() while the stepper is travelling at full speed, causing
|
||||||
|
/// the stepper to stop as quickly as possible, within the constraints of the
|
||||||
|
/// current acceleration.
|
||||||
|
|
||||||
|
/// @example MotorShield.pde
|
||||||
|
/// Shows how to use AccelStepper to control a 3-phase motor, such as a HDD spindle motor
|
||||||
|
/// using the Adafruit Motor Shield http://www.ladyada.net/make/mshield/index.html.
|
||||||
|
|
||||||
|
#endif
|
|
@ -0,0 +1,17 @@
|
||||||
|
This software is Copyright (C) 2008 Mike McCauley. Use is subject to license
|
||||||
|
conditions. The main licensing options available are GPL V2 or Commercial:
|
||||||
|
|
||||||
|
Open Source Licensing GPL V2
|
||||||
|
|
||||||
|
This is the appropriate option if you want to share the source code of your
|
||||||
|
application with everyone you distribute it to, and you also want to give them
|
||||||
|
the right to share who uses it. If you wish to use this software under Open
|
||||||
|
Source Licensing, you must contribute all your source code to the open source
|
||||||
|
community in accordance with the GPL Version 2 when your application is
|
||||||
|
distributed. See http://www.gnu.org/copyleft/gpl.html
|
||||||
|
|
||||||
|
Commercial Licensing
|
||||||
|
|
||||||
|
This is the appropriate option if you are creating proprietary applications
|
||||||
|
and you are not prepared to distribute and share the source code of your
|
||||||
|
application. Contact info@open.com.au for details.
|
|
@ -0,0 +1,34 @@
|
||||||
|
AccelStepper/Makefile
|
||||||
|
AccelStepper/AccelStepper.h
|
||||||
|
AccelStepper/AccelStepper.cpp
|
||||||
|
AccelStepper/MANIFEST
|
||||||
|
AccelStepper/LICENSE
|
||||||
|
AccelStepper/project.cfg
|
||||||
|
AccelStepper/keywords.txt
|
||||||
|
AccelStepper/doc
|
||||||
|
AccelStepper/examples/Blocking/Blocking.pde
|
||||||
|
AccelStepper/examples/MultiStepper/MultiStepper.pde
|
||||||
|
AccelStepper/examples/Overshoot/Overshoot.pde
|
||||||
|
AccelStepper/examples/ConstantSpeed/ConstantSpeed.pde
|
||||||
|
AccelStepper/examples/Random/Random.pde
|
||||||
|
AccelStepper/examples/AFMotor_ConstantSpeed/AFMotor_ConstantSpeed.pde
|
||||||
|
AccelStepper/examples/AFMotor_MultiStepper/AFMotor_MultiStepper.pde
|
||||||
|
AccelStepper/examples/ProportionalControl/ProportionalControl.pde
|
||||||
|
AccelStepper/examples/Bounce/Bounce.pde
|
||||||
|
AccelStepper/examples/Quickstop/Quickstop.pde
|
||||||
|
AccelStepper/examples/MotorShield/MotorShield.pde
|
||||||
|
AccelStepper/doc
|
||||||
|
AccelStepper/doc/index.html
|
||||||
|
AccelStepper/doc/functions.html
|
||||||
|
AccelStepper/doc/annotated.html
|
||||||
|
AccelStepper/doc/tab_l.gif
|
||||||
|
AccelStepper/doc/tabs.css
|
||||||
|
AccelStepper/doc/files.html
|
||||||
|
AccelStepper/doc/classAccelStepper-members.html
|
||||||
|
AccelStepper/doc/doxygen.css
|
||||||
|
AccelStepper/doc/AccelStepper_8h-source.html
|
||||||
|
AccelStepper/doc/tab_r.gif
|
||||||
|
AccelStepper/doc/doxygen.png
|
||||||
|
AccelStepper/doc/tab_b.gif
|
||||||
|
AccelStepper/doc/functions_func.html
|
||||||
|
AccelStepper/doc/classAccelStepper.html
|
|
@ -0,0 +1,25 @@
|
||||||
|
# Makefile
|
||||||
|
#
|
||||||
|
# Makefile for the Arduino AccelStepper project
|
||||||
|
#
|
||||||
|
# Author: Mike McCauley (mikem@airspayce.com)
|
||||||
|
# Copyright (C) 2010 Mike McCauley
|
||||||
|
# $Id: Makefile,v 1.4 2013/03/21 21:48:27 mikem Exp mikem $
|
||||||
|
|
||||||
|
PROJNAME = AccelStepper
|
||||||
|
# Dont forget to also change the version at the top of AccelStepper.h:
|
||||||
|
DISTFILE = $(PROJNAME)-1.38.zip
|
||||||
|
|
||||||
|
all: doxygen dist upload
|
||||||
|
|
||||||
|
doxygen:
|
||||||
|
doxygen project.cfg
|
||||||
|
|
||||||
|
ci:
|
||||||
|
(cd ..;ci -l `cat $(PROJNAME)/MANIFEST`)
|
||||||
|
|
||||||
|
dist:
|
||||||
|
(cd ..; zip $(PROJNAME)/$(DISTFILE) `cat $(PROJNAME)/MANIFEST`)
|
||||||
|
|
||||||
|
upload:
|
||||||
|
rsync -avz $(DISTFILE) doc/ www.airspayce.com:public_html/mikem/arduino/$(PROJNAME)
|
|
@ -0,0 +1,420 @@
|
||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||||
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||||
|
<title>AccelStepper: AccelStepper.h Source File</title>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||||
|
</head><body>
|
||||||
|
<!-- Generated by Doxygen 1.5.6 -->
|
||||||
|
<div class="navigation" id="top">
|
||||||
|
<div class="tabs">
|
||||||
|
<ul>
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Classes</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<h1>AccelStepper.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// AccelStepper.h</span>
|
||||||
|
<a name="l00002"></a>00002 <span class="comment">//</span><span class="comment"></span>
|
||||||
|
<a name="l00003"></a>00003 <span class="comment">/// \mainpage AccelStepper library for Arduino</span>
|
||||||
|
<a name="l00004"></a>00004 <span class="comment">///</span>
|
||||||
|
<a name="l00005"></a>00005 <span class="comment">/// This is the Arduino AccelStepper library.</span>
|
||||||
|
<a name="l00006"></a>00006 <span class="comment">/// It provides an object-oriented interface for 2 or 4 pin stepper motors.</span>
|
||||||
|
<a name="l00007"></a>00007 <span class="comment">///</span>
|
||||||
|
<a name="l00008"></a>00008 <span class="comment">/// The standard Arduino IDE includes the Stepper library</span>
|
||||||
|
<a name="l00009"></a>00009 <span class="comment">/// (http://arduino.cc/en/Reference/Stepper) for stepper motors. It is</span>
|
||||||
|
<a name="l00010"></a>00010 <span class="comment">/// perfectly adequate for simple, single motor applications.</span>
|
||||||
|
<a name="l00011"></a>00011 <span class="comment">///</span>
|
||||||
|
<a name="l00012"></a>00012 <span class="comment">/// AccelStepper significantly improves on the standard Arduino Stepper library in several ways:</span>
|
||||||
|
<a name="l00013"></a>00013 <span class="comment">/// \li Supports acceleration and deceleration</span>
|
||||||
|
<a name="l00014"></a>00014 <span class="comment">/// \li Supports multiple simultaneous steppers, with independent concurrent stepping on each stepper</span>
|
||||||
|
<a name="l00015"></a>00015 <span class="comment">/// \li API functions never delay() or block</span>
|
||||||
|
<a name="l00016"></a>00016 <span class="comment">/// \li Supports 2 and 4 wire steppers, plus 4 wire half steppers.</span>
|
||||||
|
<a name="l00017"></a>00017 <span class="comment">/// \li Supports alternate stepping functions to enable support of AFMotor (https://github.com/adafruit/Adafruit-Motor-Shield-library)</span>
|
||||||
|
<a name="l00018"></a>00018 <span class="comment">/// \li Supports stepper drivers such as the Sparkfun EasyDriver (based on 3967 driver chip)</span>
|
||||||
|
<a name="l00019"></a>00019 <span class="comment">/// \li Very slow speeds are supported</span>
|
||||||
|
<a name="l00020"></a>00020 <span class="comment">/// \li Extensive API</span>
|
||||||
|
<a name="l00021"></a>00021 <span class="comment">/// \li Subclass support</span>
|
||||||
|
<a name="l00022"></a>00022 <span class="comment">///</span>
|
||||||
|
<a name="l00023"></a>00023 <span class="comment">/// The latest version of this documentation can be downloaded from </span>
|
||||||
|
<a name="l00024"></a>00024 <span class="comment">/// http://www.open.com.au/mikem/arduino/AccelStepper</span>
|
||||||
|
<a name="l00025"></a>00025 <span class="comment">///</span>
|
||||||
|
<a name="l00026"></a>00026 <span class="comment">/// Example Arduino programs are included to show the main modes of use.</span>
|
||||||
|
<a name="l00027"></a>00027 <span class="comment">///</span>
|
||||||
|
<a name="l00028"></a>00028 <span class="comment">/// The version of the package that this documentation refers to can be downloaded </span>
|
||||||
|
<a name="l00029"></a>00029 <span class="comment">/// from http://www.open.com.au/mikem/arduino/AccelStepper/AccelStepper-1.11.zip</span>
|
||||||
|
<a name="l00030"></a>00030 <span class="comment">/// You can find the latest version at http://www.open.com.au/mikem/arduino/AccelStepper</span>
|
||||||
|
<a name="l00031"></a>00031 <span class="comment">///</span>
|
||||||
|
<a name="l00032"></a>00032 <span class="comment">/// Tested on Arduino Diecimila and Mega with arduino-0018 & arduino-0021 </span>
|
||||||
|
<a name="l00033"></a>00033 <span class="comment">/// on OpenSuSE 11.1 and avr-libc-1.6.1-1.15,</span>
|
||||||
|
<a name="l00034"></a>00034 <span class="comment">/// cross-avr-binutils-2.19-9.1, cross-avr-gcc-4.1.3_20080612-26.5.</span>
|
||||||
|
<a name="l00035"></a>00035 <span class="comment">///</span>
|
||||||
|
<a name="l00036"></a>00036 <span class="comment">/// \par Installation</span>
|
||||||
|
<a name="l00037"></a>00037 <span class="comment">/// Install in the usual way: unzip the distribution zip file to the libraries</span>
|
||||||
|
<a name="l00038"></a>00038 <span class="comment">/// sub-folder of your sketchbook. </span>
|
||||||
|
<a name="l00039"></a>00039 <span class="comment">///</span>
|
||||||
|
<a name="l00040"></a>00040 <span class="comment">/// This software is Copyright (C) 2010 Mike McCauley. Use is subject to license</span>
|
||||||
|
<a name="l00041"></a>00041 <span class="comment">/// conditions. The main licensing options available are GPL V2 or Commercial:</span>
|
||||||
|
<a name="l00042"></a>00042 <span class="comment">/// </span>
|
||||||
|
<a name="l00043"></a>00043 <span class="comment">/// \par Open Source Licensing GPL V2</span>
|
||||||
|
<a name="l00044"></a>00044 <span class="comment">/// This is the appropriate option if you want to share the source code of your</span>
|
||||||
|
<a name="l00045"></a>00045 <span class="comment">/// application with everyone you distribute it to, and you also want to give them</span>
|
||||||
|
<a name="l00046"></a>00046 <span class="comment">/// the right to share who uses it. If you wish to use this software under Open</span>
|
||||||
|
<a name="l00047"></a>00047 <span class="comment">/// Source Licensing, you must contribute all your source code to the open source</span>
|
||||||
|
<a name="l00048"></a>00048 <span class="comment">/// community in accordance with the GPL Version 2 when your application is</span>
|
||||||
|
<a name="l00049"></a>00049 <span class="comment">/// distributed. See http://www.gnu.org/copyleft/gpl.html</span>
|
||||||
|
<a name="l00050"></a>00050 <span class="comment">/// </span>
|
||||||
|
<a name="l00051"></a>00051 <span class="comment">/// \par Commercial Licensing</span>
|
||||||
|
<a name="l00052"></a>00052 <span class="comment">/// This is the appropriate option if you are creating proprietary applications</span>
|
||||||
|
<a name="l00053"></a>00053 <span class="comment">/// and you are not prepared to distribute and share the source code of your</span>
|
||||||
|
<a name="l00054"></a>00054 <span class="comment">/// application. Contact info@open.com.au for details.</span>
|
||||||
|
<a name="l00055"></a>00055 <span class="comment">///</span>
|
||||||
|
<a name="l00056"></a>00056 <span class="comment">/// \par Revision History</span>
|
||||||
|
<a name="l00057"></a>00057 <span class="comment">/// \version 1.0 Initial release</span>
|
||||||
|
<a name="l00058"></a>00058 <span class="comment">///</span>
|
||||||
|
<a name="l00059"></a>00059 <span class="comment">/// \version 1.1 Added speed() function to get the current speed.</span>
|
||||||
|
<a name="l00060"></a>00060 <span class="comment">/// \version 1.2 Added runSpeedToPosition() submitted by Gunnar Arndt.</span>
|
||||||
|
<a name="l00061"></a>00061 <span class="comment">/// \version 1.3 Added support for stepper drivers (ie with Step and Direction inputs) with _pins == 1</span>
|
||||||
|
<a name="l00062"></a>00062 <span class="comment">/// \version 1.4 Added functional contructor to support AFMotor, contributed by Limor, with example sketches.</span>
|
||||||
|
<a name="l00063"></a>00063 <span class="comment">/// \version 1.5 Improvements contributed by Peter Mousley: Use of microsecond steps and other speed improvements</span>
|
||||||
|
<a name="l00064"></a>00064 <span class="comment">/// to increase max stepping speed to about 4kHz. New option for user to set the min allowed pulse width.</span>
|
||||||
|
<a name="l00065"></a>00065 <span class="comment">/// Added checks for already running at max speed and skip further calcs if so. </span>
|
||||||
|
<a name="l00066"></a>00066 <span class="comment">/// \version 1.6 Fixed a problem with wrapping of microsecond stepping that could cause stepping to hang. </span>
|
||||||
|
<a name="l00067"></a>00067 <span class="comment">/// Reported by Sandy Noble.</span>
|
||||||
|
<a name="l00068"></a>00068 <span class="comment">/// Removed redundant _lastRunTime member.</span>
|
||||||
|
<a name="l00069"></a>00069 <span class="comment">/// \version 1.7 Fixed a bug where setCurrentPosition() did always work as expected. Reported by Peter Linhart.</span>
|
||||||
|
<a name="l00070"></a>00070 <span class="comment">/// Reported by Sandy Noble.</span>
|
||||||
|
<a name="l00071"></a>00071 <span class="comment">/// Removed redundant _lastRunTime member.</span>
|
||||||
|
<a name="l00072"></a>00072 <span class="comment">/// \version 1.8 Added support for 4 pin half-steppers, requested by Harvey Moon</span>
|
||||||
|
<a name="l00073"></a>00073 <span class="comment">/// \version 1.9 setCurrentPosition() now also sets motor speed to 0.</span>
|
||||||
|
<a name="l00074"></a>00074 <span class="comment">/// \version 1.10 Builds on Arduino 1.0</span>
|
||||||
|
<a name="l00075"></a>00075 <span class="comment">/// \version 1.11 Improvments from Michael Ellison:</span>
|
||||||
|
<a name="l00076"></a>00076 <span class="comment">/// Added optional enable line support for stepper drivers</span>
|
||||||
|
<a name="l00077"></a>00077 <span class="comment">/// Added inversion for step/direction/enable lines for stepper drivers</span>
|
||||||
|
<a name="l00078"></a>00078 <span class="comment">///</span>
|
||||||
|
<a name="l00079"></a>00079 <span class="comment">/// \author Mike McCauley (mikem@open.com.au)</span>
|
||||||
|
<a name="l00080"></a>00080 <span class="comment"></span><span class="comment">// Copyright (C) 2009 Mike McCauley</span>
|
||||||
|
<a name="l00081"></a>00081 <span class="comment">// $Id: AccelStepper.h,v 1.5 2011/03/21 00:42:15 mikem Exp mikem $</span>
|
||||||
|
<a name="l00082"></a>00082
|
||||||
|
<a name="l00083"></a>00083 <span class="preprocessor">#ifndef AccelStepper_h</span>
|
||||||
|
<a name="l00084"></a>00084 <span class="preprocessor"></span><span class="preprocessor">#define AccelStepper_h</span>
|
||||||
|
<a name="l00085"></a>00085 <span class="preprocessor"></span>
|
||||||
|
<a name="l00086"></a>00086 <span class="preprocessor">#include <stdlib.h></span>
|
||||||
|
<a name="l00087"></a>00087 <span class="preprocessor">#if ARDUINO >= 100</span>
|
||||||
|
<a name="l00088"></a>00088 <span class="preprocessor"></span><span class="preprocessor">#include <Arduino.h></span>
|
||||||
|
<a name="l00089"></a>00089 <span class="preprocessor">#else</span>
|
||||||
|
<a name="l00090"></a>00090 <span class="preprocessor"></span><span class="preprocessor">#include <wiring.h></span>
|
||||||
|
<a name="l00091"></a>00091 <span class="preprocessor">#endif</span>
|
||||||
|
<a name="l00092"></a>00092 <span class="preprocessor"></span>
|
||||||
|
<a name="l00093"></a>00093 <span class="comment">// These defs cause trouble on some versions of Arduino</span>
|
||||||
|
<a name="l00094"></a>00094 <span class="preprocessor">#undef round</span>
|
||||||
|
<a name="l00095"></a>00095 <span class="preprocessor"></span><span class="comment"></span>
|
||||||
|
<a name="l00096"></a>00096 <span class="comment">/////////////////////////////////////////////////////////////////////</span>
|
||||||
|
<a name="l00097"></a>00097 <span class="comment">/// \class AccelStepper AccelStepper.h <AccelStepper.h></span>
|
||||||
|
<a name="l00098"></a>00098 <span class="comment">/// \brief Support for stepper motors with acceleration etc.</span>
|
||||||
|
<a name="l00099"></a>00099 <span class="comment">///</span>
|
||||||
|
<a name="l00100"></a>00100 <span class="comment">/// This defines a single 2 or 4 pin stepper motor, or stepper moter with fdriver chip, with optional</span>
|
||||||
|
<a name="l00101"></a>00101 <span class="comment">/// acceleration, deceleration, absolute positioning commands etc. Multiple</span>
|
||||||
|
<a name="l00102"></a>00102 <span class="comment">/// simultaneous steppers are supported, all moving </span>
|
||||||
|
<a name="l00103"></a>00103 <span class="comment">/// at different speeds and accelerations. </span>
|
||||||
|
<a name="l00104"></a>00104 <span class="comment">///</span>
|
||||||
|
<a name="l00105"></a>00105 <span class="comment">/// \par Operation</span>
|
||||||
|
<a name="l00106"></a>00106 <span class="comment">/// This module operates by computing a step time in microseconds. The step</span>
|
||||||
|
<a name="l00107"></a>00107 <span class="comment">/// time is recomputed after each step and after speed and acceleration</span>
|
||||||
|
<a name="l00108"></a>00108 <span class="comment">/// parameters are changed by the caller. The time of each step is recorded in</span>
|
||||||
|
<a name="l00109"></a>00109 <span class="comment">/// microseconds. The run() function steps the motor if a new step is due.</span>
|
||||||
|
<a name="l00110"></a>00110 <span class="comment">/// The run() function must be called frequently until the motor is in the</span>
|
||||||
|
<a name="l00111"></a>00111 <span class="comment">/// desired position, after which time run() will do nothing.</span>
|
||||||
|
<a name="l00112"></a>00112 <span class="comment">///</span>
|
||||||
|
<a name="l00113"></a>00113 <span class="comment">/// \par Positioning</span>
|
||||||
|
<a name="l00114"></a>00114 <span class="comment">/// Positions are specified by a signed long integer. At</span>
|
||||||
|
<a name="l00115"></a>00115 <span class="comment">/// construction time, the current position of the motor is consider to be 0. Positive</span>
|
||||||
|
<a name="l00116"></a>00116 <span class="comment">/// positions are clockwise from the initial position; negative positions are</span>
|
||||||
|
<a name="l00117"></a>00117 <span class="comment">/// anticlockwise. The curent position can be altered for instance after</span>
|
||||||
|
<a name="l00118"></a>00118 <span class="comment">/// initialization positioning.</span>
|
||||||
|
<a name="l00119"></a>00119 <span class="comment">///</span>
|
||||||
|
<a name="l00120"></a>00120 <span class="comment">/// \par Caveats</span>
|
||||||
|
<a name="l00121"></a>00121 <span class="comment">/// This is an open loop controller: If the motor stalls or is oversped,</span>
|
||||||
|
<a name="l00122"></a>00122 <span class="comment">/// AccelStepper will not have a correct </span>
|
||||||
|
<a name="l00123"></a>00123 <span class="comment">/// idea of where the motor really is (since there is no feedback of the motor's</span>
|
||||||
|
<a name="l00124"></a>00124 <span class="comment">/// real position. We only know where we _think_ it is, relative to the</span>
|
||||||
|
<a name="l00125"></a>00125 <span class="comment">/// initial starting point).</span>
|
||||||
|
<a name="l00126"></a>00126 <span class="comment">///</span>
|
||||||
|
<a name="l00127"></a>00127 <span class="comment">/// The fastest motor speed that can be reliably supported is 4000 steps per</span>
|
||||||
|
<a name="l00128"></a>00128 <span class="comment">/// second (4 kHz) at a clock frequency of 16 MHz. However, any speed less than that</span>
|
||||||
|
<a name="l00129"></a>00129 <span class="comment">/// down to very slow speeds (much less than one per second) are also supported,</span>
|
||||||
|
<a name="l00130"></a>00130 <span class="comment">/// provided the run() function is called frequently enough to step the motor</span>
|
||||||
|
<a name="l00131"></a>00131 <span class="comment">/// whenever required for the speed set.</span>
|
||||||
|
<a name="l00132"></a><a class="code" href="classAccelStepper.html">00132</a> <span class="comment"></span><span class="keyword">class </span><a class="code" href="classAccelStepper.html" title="Support for stepper motors with acceleration etc.">AccelStepper</a>
|
||||||
|
<a name="l00133"></a>00133 {
|
||||||
|
<a name="l00134"></a>00134 <span class="keyword">public</span>:<span class="comment"></span>
|
||||||
|
<a name="l00135"></a>00135 <span class="comment"> /// Constructor. You can have multiple simultaneous steppers, all moving</span>
|
||||||
|
<a name="l00136"></a>00136 <span class="comment"> /// at different speeds and accelerations, provided you call their run()</span>
|
||||||
|
<a name="l00137"></a>00137 <span class="comment"> /// functions at frequent enough intervals. Current Position is set to 0, target</span>
|
||||||
|
<a name="l00138"></a>00138 <span class="comment"> /// position is set to 0. MaxSpeed and Acceleration default to 1.0.</span>
|
||||||
|
<a name="l00139"></a>00139 <span class="comment"> /// The motor pins will be initialised to OUTPUT mode during the</span>
|
||||||
|
<a name="l00140"></a>00140 <span class="comment"> /// constructor by a call to enableOutputs().</span>
|
||||||
|
<a name="l00141"></a>00141 <span class="comment"> /// \param[in] pins Number of pins to interface to. 1, 2 or 4 are</span>
|
||||||
|
<a name="l00142"></a>00142 <span class="comment"> /// supported. 1 means a stepper driver (with Step and Direction pins).</span>
|
||||||
|
<a name="l00143"></a>00143 <span class="comment"> /// If an enable line is also needed, call setEnablePin() after construction.</span>
|
||||||
|
<a name="l00144"></a>00144 <span class="comment"> /// You may also invert the pins using setPinsInverted().</span>
|
||||||
|
<a name="l00145"></a>00145 <span class="comment"> /// 2 means a 2 wire stepper. 4 means a 4 wire stepper. 8 means a 4 wire half stepper</span>
|
||||||
|
<a name="l00146"></a>00146 <span class="comment"> /// Defaults to 4 pins.</span>
|
||||||
|
<a name="l00147"></a>00147 <span class="comment"> /// \param[in] pin1 Arduino digital pin number for motor pin 1. Defaults</span>
|
||||||
|
<a name="l00148"></a>00148 <span class="comment"> /// to pin 2. For a driver (pins==1), this is the Step input to the driver. Low to high transition means to step)</span>
|
||||||
|
<a name="l00149"></a>00149 <span class="comment"> /// \param[in] pin2 Arduino digital pin number for motor pin 2. Defaults</span>
|
||||||
|
<a name="l00150"></a>00150 <span class="comment"> /// to pin 3. For a driver (pins==1), this is the Direction input the driver. High means forward.</span>
|
||||||
|
<a name="l00151"></a>00151 <span class="comment"> /// \param[in] pin3 Arduino digital pin number for motor pin 3. Defaults</span>
|
||||||
|
<a name="l00152"></a>00152 <span class="comment"> /// to pin 4.</span>
|
||||||
|
<a name="l00153"></a>00153 <span class="comment"> /// \param[in] pin4 Arduino digital pin number for motor pin 4. Defaults</span>
|
||||||
|
<a name="l00154"></a>00154 <span class="comment"> /// to pin 5.</span>
|
||||||
|
<a name="l00155"></a>00155 <span class="comment"></span> <a class="code" href="classAccelStepper.html#a1290897df35915069e5eca9d034038c">AccelStepper</a>(uint8_t pins = 4, uint8_t pin1 = 2, uint8_t pin2 = 3, uint8_t pin3 = 4, uint8_t pin4 = 5);
|
||||||
|
<a name="l00156"></a>00156 <span class="comment"></span>
|
||||||
|
<a name="l00157"></a>00157 <span class="comment"> /// Alternate Constructor which will call your own functions for forward and backward steps. </span>
|
||||||
|
<a name="l00158"></a>00158 <span class="comment"> /// You can have multiple simultaneous steppers, all moving</span>
|
||||||
|
<a name="l00159"></a>00159 <span class="comment"> /// at different speeds and accelerations, provided you call their run()</span>
|
||||||
|
<a name="l00160"></a>00160 <span class="comment"> /// functions at frequent enough intervals. Current Position is set to 0, target</span>
|
||||||
|
<a name="l00161"></a>00161 <span class="comment"> /// position is set to 0. MaxSpeed and Acceleration default to 1.0.</span>
|
||||||
|
<a name="l00162"></a>00162 <span class="comment"> /// Any motor initialization should happen before hand, no pins are used or initialized.</span>
|
||||||
|
<a name="l00163"></a>00163 <span class="comment"> /// \param[in] forward void-returning procedure that will make a forward step</span>
|
||||||
|
<a name="l00164"></a>00164 <span class="comment"> /// \param[in] backward void-returning procedure that will make a backward step</span>
|
||||||
|
<a name="l00165"></a>00165 <span class="comment"></span> <a class="code" href="classAccelStepper.html#a1290897df35915069e5eca9d034038c">AccelStepper</a>(<span class="keywordtype">void</span> (*forward)(), <span class="keywordtype">void</span> (*backward)());
|
||||||
|
<a name="l00166"></a>00166 <span class="comment"></span>
|
||||||
|
<a name="l00167"></a>00167 <span class="comment"> /// Set the target position. The run() function will try to move the motor</span>
|
||||||
|
<a name="l00168"></a>00168 <span class="comment"> /// from the current position to the target position set by the most</span>
|
||||||
|
<a name="l00169"></a>00169 <span class="comment"> /// recent call to this function.</span>
|
||||||
|
<a name="l00170"></a>00170 <span class="comment"> /// \param[in] absolute The desired absolute position. Negative is</span>
|
||||||
|
<a name="l00171"></a>00171 <span class="comment"> /// anticlockwise from the 0 position.</span>
|
||||||
|
<a name="l00172"></a>00172 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classAccelStepper.html#ce236ede35f87c63d18da25810ec9736">moveTo</a>(<span class="keywordtype">long</span> absolute);
|
||||||
|
<a name="l00173"></a>00173 <span class="comment"></span>
|
||||||
|
<a name="l00174"></a>00174 <span class="comment"> /// Set the target position relative to the current position</span>
|
||||||
|
<a name="l00175"></a>00175 <span class="comment"> /// \param[in] relative The desired position relative to the current position. Negative is</span>
|
||||||
|
<a name="l00176"></a>00176 <span class="comment"> /// anticlockwise from the current position.</span>
|
||||||
|
<a name="l00177"></a>00177 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classAccelStepper.html#68942c66e78fb7f7b5f0cdade6eb7f06">move</a>(<span class="keywordtype">long</span> relative);
|
||||||
|
<a name="l00178"></a>00178 <span class="comment"></span>
|
||||||
|
<a name="l00179"></a>00179 <span class="comment"> /// Poll the motor and step it if a step is due, implementing</span>
|
||||||
|
<a name="l00180"></a>00180 <span class="comment"> /// accelerations and decelerations to achive the ratget position. You must call this as</span>
|
||||||
|
<a name="l00181"></a>00181 <span class="comment"> /// fequently as possible, but at least once per minimum step interval,</span>
|
||||||
|
<a name="l00182"></a>00182 <span class="comment"> /// preferably in your main loop.</span>
|
||||||
|
<a name="l00183"></a>00183 <span class="comment"> /// \return true if the motor is at the target position.</span>
|
||||||
|
<a name="l00184"></a>00184 <span class="comment"></span> <span class="keywordtype">boolean</span> <a class="code" href="classAccelStepper.html#608b2395b64ac15451d16d0371fe13ce">run</a>();
|
||||||
|
<a name="l00185"></a>00185 <span class="comment"></span>
|
||||||
|
<a name="l00186"></a>00186 <span class="comment"> /// Poll the motor and step it if a step is due, implmenting a constant</span>
|
||||||
|
<a name="l00187"></a>00187 <span class="comment"> /// speed as set by the most recent call to setSpeed().</span>
|
||||||
|
<a name="l00188"></a>00188 <span class="comment"> /// \return true if the motor was stepped.</span>
|
||||||
|
<a name="l00189"></a>00189 <span class="comment"></span> <span class="keywordtype">boolean</span> <a class="code" href="classAccelStepper.html#a4a6bdf99f698284faaeb5542b0b7514">runSpeed</a>();
|
||||||
|
<a name="l00190"></a>00190 <span class="comment"></span>
|
||||||
|
<a name="l00191"></a>00191 <span class="comment"> /// Sets the maximum permitted speed. the run() function will accelerate</span>
|
||||||
|
<a name="l00192"></a>00192 <span class="comment"> /// up to the speed set by this function.</span>
|
||||||
|
<a name="l00193"></a>00193 <span class="comment"> /// \param[in] speed The desired maximum speed in steps per second. Must</span>
|
||||||
|
<a name="l00194"></a>00194 <span class="comment"> /// be > 0. Speeds of more than 1000 steps per second are unreliable. </span>
|
||||||
|
<a name="l00195"></a>00195 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classAccelStepper.html#bee8d466229b87accba33d6ec929c18f">setMaxSpeed</a>(<span class="keywordtype">float</span> <a class="code" href="classAccelStepper.html#4f0989d0ae264e7eadfe1fa720769fb6">speed</a>);
|
||||||
|
<a name="l00196"></a>00196 <span class="comment"></span>
|
||||||
|
<a name="l00197"></a>00197 <span class="comment"> /// Sets the acceleration and deceleration parameter.</span>
|
||||||
|
<a name="l00198"></a>00198 <span class="comment"> /// \param[in] acceleration The desired acceleration in steps per second</span>
|
||||||
|
<a name="l00199"></a>00199 <span class="comment"> /// per second. Must be > 0.</span>
|
||||||
|
<a name="l00200"></a>00200 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classAccelStepper.html#dfb19e3cd2a028a1fe78131787604fd1">setAcceleration</a>(<span class="keywordtype">float</span> acceleration);
|
||||||
|
<a name="l00201"></a>00201 <span class="comment"></span>
|
||||||
|
<a name="l00202"></a>00202 <span class="comment"> /// Sets the desired constant speed for use with runSpeed().</span>
|
||||||
|
<a name="l00203"></a>00203 <span class="comment"> /// \param[in] speed The desired constant speed in steps per</span>
|
||||||
|
<a name="l00204"></a>00204 <span class="comment"> /// second. Positive is clockwise. Speeds of more than 1000 steps per</span>
|
||||||
|
<a name="l00205"></a>00205 <span class="comment"> /// second are unreliable. Very slow speeds may be set (eg 0.00027777 for</span>
|
||||||
|
<a name="l00206"></a>00206 <span class="comment"> /// once per hour, approximately. Speed accuracy depends on the Arduino</span>
|
||||||
|
<a name="l00207"></a>00207 <span class="comment"> /// crystal. Jitter depends on how frequently you call the runSpeed() function.</span>
|
||||||
|
<a name="l00208"></a>00208 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classAccelStepper.html#e79c49ad69d5ccc9da0ee691fa4ca235">setSpeed</a>(<span class="keywordtype">float</span> speed);
|
||||||
|
<a name="l00209"></a>00209 <span class="comment"></span>
|
||||||
|
<a name="l00210"></a>00210 <span class="comment"> /// The most recently set speed</span>
|
||||||
|
<a name="l00211"></a>00211 <span class="comment"> /// \return the most recent speed in steps per second</span>
|
||||||
|
<a name="l00212"></a>00212 <span class="comment"></span> <span class="keywordtype">float</span> <a class="code" href="classAccelStepper.html#4f0989d0ae264e7eadfe1fa720769fb6">speed</a>();
|
||||||
|
<a name="l00213"></a>00213 <span class="comment"></span>
|
||||||
|
<a name="l00214"></a>00214 <span class="comment"> /// The distance from the current position to the target position.</span>
|
||||||
|
<a name="l00215"></a>00215 <span class="comment"> /// \return the distance from the current position to the target position</span>
|
||||||
|
<a name="l00216"></a>00216 <span class="comment"> /// in steps. Positive is clockwise from the current position.</span>
|
||||||
|
<a name="l00217"></a>00217 <span class="comment"></span> <span class="keywordtype">long</span> <a class="code" href="classAccelStepper.html#748665c3962e66fbc0e9373eb14c69c1">distanceToGo</a>();
|
||||||
|
<a name="l00218"></a>00218 <span class="comment"></span>
|
||||||
|
<a name="l00219"></a>00219 <span class="comment"> /// The most recently set target position.</span>
|
||||||
|
<a name="l00220"></a>00220 <span class="comment"> /// \return the target position</span>
|
||||||
|
<a name="l00221"></a>00221 <span class="comment"> /// in steps. Positive is clockwise from the 0 position.</span>
|
||||||
|
<a name="l00222"></a>00222 <span class="comment"></span> <span class="keywordtype">long</span> <a class="code" href="classAccelStepper.html#96685e0945b7cf75d5959da679cd911e">targetPosition</a>();
|
||||||
|
<a name="l00223"></a>00223
|
||||||
|
<a name="l00224"></a>00224 <span class="comment"></span>
|
||||||
|
<a name="l00225"></a>00225 <span class="comment"> /// The currently motor position.</span>
|
||||||
|
<a name="l00226"></a>00226 <span class="comment"> /// \return the current motor position</span>
|
||||||
|
<a name="l00227"></a>00227 <span class="comment"> /// in steps. Positive is clockwise from the 0 position.</span>
|
||||||
|
<a name="l00228"></a>00228 <span class="comment"></span> <span class="keywordtype">long</span> <a class="code" href="classAccelStepper.html#5dce13ab2a1b02b8f443318886bf6fc5">currentPosition</a>();
|
||||||
|
<a name="l00229"></a>00229 <span class="comment"></span>
|
||||||
|
<a name="l00230"></a>00230 <span class="comment"> /// Resets the current position of the motor, so that wherever the motor</span>
|
||||||
|
<a name="l00231"></a>00231 <span class="comment"> /// happens to be right now is considered to be the new 0 position. Useful</span>
|
||||||
|
<a name="l00232"></a>00232 <span class="comment"> /// for setting a zero position on a stepper after an initial hardware</span>
|
||||||
|
<a name="l00233"></a>00233 <span class="comment"> /// positioning move.</span>
|
||||||
|
<a name="l00234"></a>00234 <span class="comment"> /// Has the side effect of setting the current motor speed to 0.</span>
|
||||||
|
<a name="l00235"></a>00235 <span class="comment"> /// \param[in] position The position in steps of wherever the motor</span>
|
||||||
|
<a name="l00236"></a>00236 <span class="comment"> /// happens to be right now.</span>
|
||||||
|
<a name="l00237"></a>00237 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classAccelStepper.html#9d917f014317fb9d3b5dc14e66f6c689">setCurrentPosition</a>(<span class="keywordtype">long</span> position);
|
||||||
|
<a name="l00238"></a>00238 <span class="comment"></span>
|
||||||
|
<a name="l00239"></a>00239 <span class="comment"> /// Moves the motor to the target position and blocks until it is at</span>
|
||||||
|
<a name="l00240"></a>00240 <span class="comment"> /// position. Dont use this in event loops, since it blocks.</span>
|
||||||
|
<a name="l00241"></a>00241 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classAccelStepper.html#344f58fef8cc34ac5aa75ba4b665d21c">runToPosition</a>();
|
||||||
|
<a name="l00242"></a>00242 <span class="comment"></span>
|
||||||
|
<a name="l00243"></a>00243 <span class="comment"> /// Runs at the currently selected speed until the target position is reached</span>
|
||||||
|
<a name="l00244"></a>00244 <span class="comment"> /// Does not implement accelerations.</span>
|
||||||
|
<a name="l00245"></a>00245 <span class="comment"></span> <span class="keywordtype">boolean</span> <a class="code" href="classAccelStepper.html#9270d20336e76ac1fd5bcd5b9c34f301">runSpeedToPosition</a>();
|
||||||
|
<a name="l00246"></a>00246 <span class="comment"></span>
|
||||||
|
<a name="l00247"></a>00247 <span class="comment"> /// Moves the motor to the new target position and blocks until it is at</span>
|
||||||
|
<a name="l00248"></a>00248 <span class="comment"> /// position. Dont use this in event loops, since it blocks.</span>
|
||||||
|
<a name="l00249"></a>00249 <span class="comment"> /// \param[in] position The new target position.</span>
|
||||||
|
<a name="l00250"></a>00250 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classAccelStepper.html#176c5d2e4c2f21e9e92b12e39a6f0e67">runToNewPosition</a>(<span class="keywordtype">long</span> position);
|
||||||
|
<a name="l00251"></a>00251 <span class="comment"></span>
|
||||||
|
<a name="l00252"></a>00252 <span class="comment"> /// Disable motor pin outputs by setting them all LOW</span>
|
||||||
|
<a name="l00253"></a>00253 <span class="comment"> /// Depending on the design of your electronics this may turn off</span>
|
||||||
|
<a name="l00254"></a>00254 <span class="comment"> /// the power to the motor coils, saving power.</span>
|
||||||
|
<a name="l00255"></a>00255 <span class="comment"> /// This is useful to support Arduino low power modes: disable the outputs</span>
|
||||||
|
<a name="l00256"></a>00256 <span class="comment"> /// during sleep and then reenable with enableOutputs() before stepping</span>
|
||||||
|
<a name="l00257"></a>00257 <span class="comment"> /// again.</span>
|
||||||
|
<a name="l00258"></a>00258 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classAccelStepper.html#3591e29a236e2935afd7f64ff6c22006">disableOutputs</a>();
|
||||||
|
<a name="l00259"></a>00259 <span class="comment"></span>
|
||||||
|
<a name="l00260"></a>00260 <span class="comment"> /// Enable motor pin outputs by setting the motor pins to OUTPUT</span>
|
||||||
|
<a name="l00261"></a>00261 <span class="comment"> /// mode. Called automatically by the constructor.</span>
|
||||||
|
<a name="l00262"></a>00262 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classAccelStepper.html#a279a50d30d0413f570c692cff071643">enableOutputs</a>();
|
||||||
|
<a name="l00263"></a>00263 <span class="comment"></span>
|
||||||
|
<a name="l00264"></a>00264 <span class="comment"> /// Sets the minimum pulse width allowed by the stepper driver.</span>
|
||||||
|
<a name="l00265"></a>00265 <span class="comment"> /// \param[in] minWidth The minimum pulse width in microseconds.</span>
|
||||||
|
<a name="l00266"></a>00266 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classAccelStepper.html#f4d3818e691dad5dc518308796ccf154">setMinPulseWidth</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> minWidth);
|
||||||
|
<a name="l00267"></a>00267 <span class="comment"></span>
|
||||||
|
<a name="l00268"></a>00268 <span class="comment"> /// Sets the enable pin number for stepper drivers.</span>
|
||||||
|
<a name="l00269"></a>00269 <span class="comment"> /// 0xFF indicates unused (default).</span>
|
||||||
|
<a name="l00270"></a>00270 <span class="comment"> /// Otherwise, if a pin is set, the pin will be turned on when </span>
|
||||||
|
<a name="l00271"></a>00271 <span class="comment"> /// enableOutputs() is called and switched off when disableOutputs() </span>
|
||||||
|
<a name="l00272"></a>00272 <span class="comment"> /// is called.</span>
|
||||||
|
<a name="l00273"></a>00273 <span class="comment"> /// \param[in] enablePin Arduino digital pin number for motor enable</span>
|
||||||
|
<a name="l00274"></a>00274 <span class="comment"> /// \sa setPinsInverted</span>
|
||||||
|
<a name="l00275"></a>00275 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classAccelStepper.html#56a81c5f00d02ca19646718e88e974c0">setEnablePin</a>(uint8_t enablePin = 0xff);
|
||||||
|
<a name="l00276"></a>00276 <span class="comment"></span>
|
||||||
|
<a name="l00277"></a>00277 <span class="comment"> /// Sets the inversion for stepper driver pins</span>
|
||||||
|
<a name="l00278"></a>00278 <span class="comment"> /// \param[in] direction True for inverted direction pin, false for non-inverted</span>
|
||||||
|
<a name="l00279"></a>00279 <span class="comment"> /// \param[in] step True for inverted step pin, false for non-inverted</span>
|
||||||
|
<a name="l00280"></a>00280 <span class="comment"> /// \param[in] enable True for inverted enable pin, false (default) for non-inverted</span>
|
||||||
|
<a name="l00281"></a>00281 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classAccelStepper.html#797b4bdb580d4ca7a1cfeabe3df0de35">setPinsInverted</a>(<span class="keywordtype">bool</span> direction, <span class="keywordtype">bool</span> <a class="code" href="classAccelStepper.html#3c9a220819d2451f79ff8a0c0a395b9f">step</a>, <span class="keywordtype">bool</span> enable = <span class="keyword">false</span>);
|
||||||
|
<a name="l00282"></a>00282
|
||||||
|
<a name="l00283"></a>00283 <span class="keyword">protected</span>:
|
||||||
|
<a name="l00284"></a>00284 <span class="comment"></span>
|
||||||
|
<a name="l00285"></a>00285 <span class="comment"> /// Forces the library to compute a new instantaneous speed and set that as</span>
|
||||||
|
<a name="l00286"></a>00286 <span class="comment"> /// the current speed. Calls</span>
|
||||||
|
<a name="l00287"></a>00287 <span class="comment"> /// desiredSpeed(), which can be overridden by subclasses. It is called by</span>
|
||||||
|
<a name="l00288"></a>00288 <span class="comment"> /// the library:</span>
|
||||||
|
<a name="l00289"></a>00289 <span class="comment"> /// \li after each step</span>
|
||||||
|
<a name="l00290"></a>00290 <span class="comment"> /// \li after change to maxSpeed through setMaxSpeed()</span>
|
||||||
|
<a name="l00291"></a>00291 <span class="comment"> /// \li after change to acceleration through setAcceleration()</span>
|
||||||
|
<a name="l00292"></a>00292 <span class="comment"> /// \li after change to target position (relative or absolute) through</span>
|
||||||
|
<a name="l00293"></a>00293 <span class="comment"> /// move() or moveTo()</span>
|
||||||
|
<a name="l00294"></a>00294 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classAccelStepper.html#ffbee789b5c19165846cf0409860ae79">computeNewSpeed</a>();
|
||||||
|
<a name="l00295"></a>00295 <span class="comment"></span>
|
||||||
|
<a name="l00296"></a>00296 <span class="comment"> /// Called to execute a step. Only called when a new step is</span>
|
||||||
|
<a name="l00297"></a>00297 <span class="comment"> /// required. Subclasses may override to implement new stepping</span>
|
||||||
|
<a name="l00298"></a>00298 <span class="comment"> /// interfaces. The default calls step1(), step2(), step4() or step8() depending on the</span>
|
||||||
|
<a name="l00299"></a>00299 <span class="comment"> /// number of pins defined for the stepper.</span>
|
||||||
|
<a name="l00300"></a>00300 <span class="comment"> /// \param[in] step The current step phase number (0 to 7)</span>
|
||||||
|
<a name="l00301"></a>00301 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classAccelStepper.html#3c9a220819d2451f79ff8a0c0a395b9f">step</a>(uint8_t step);
|
||||||
|
<a name="l00302"></a>00302 <span class="comment"></span>
|
||||||
|
<a name="l00303"></a>00303 <span class="comment"> /// Called to execute a step using stepper functions (pins = 0) Only called when a new step is</span>
|
||||||
|
<a name="l00304"></a>00304 <span class="comment"> /// required. Calls _forward() or _backward() to perform the step</span>
|
||||||
|
<a name="l00305"></a>00305 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classAccelStepper.html#889f109756aa4c0a2feefebd8081a337">step0</a>(<span class="keywordtype">void</span>);
|
||||||
|
<a name="l00306"></a>00306 <span class="comment"></span>
|
||||||
|
<a name="l00307"></a>00307 <span class="comment"> /// Called to execute a step on a stepper drover (ie where pins == 1). Only called when a new step is</span>
|
||||||
|
<a name="l00308"></a>00308 <span class="comment"> /// required. Subclasses may override to implement new stepping</span>
|
||||||
|
<a name="l00309"></a>00309 <span class="comment"> /// interfaces. The default sets or clears the outputs of Step pin1 to step, </span>
|
||||||
|
<a name="l00310"></a>00310 <span class="comment"> /// and sets the output of _pin2 to the desired direction. The Step pin (_pin1) is pulsed for 1 microsecond</span>
|
||||||
|
<a name="l00311"></a>00311 <span class="comment"> /// which is the minimum STEP pulse width for the 3967 driver.</span>
|
||||||
|
<a name="l00312"></a>00312 <span class="comment"> /// \param[in] step The current step phase number (0 to 7)</span>
|
||||||
|
<a name="l00313"></a>00313 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classAccelStepper.html#cc64254ea242b53588e948335fd9305f">step1</a>(uint8_t step);
|
||||||
|
<a name="l00314"></a>00314 <span class="comment"></span>
|
||||||
|
<a name="l00315"></a>00315 <span class="comment"> /// Called to execute a step on a 2 pin motor. Only called when a new step is</span>
|
||||||
|
<a name="l00316"></a>00316 <span class="comment"> /// required. Subclasses may override to implement new stepping</span>
|
||||||
|
<a name="l00317"></a>00317 <span class="comment"> /// interfaces. The default sets or clears the outputs of pin1 and pin2</span>
|
||||||
|
<a name="l00318"></a>00318 <span class="comment"> /// \param[in] step The current step phase number (0 to 7)</span>
|
||||||
|
<a name="l00319"></a>00319 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classAccelStepper.html#88f11bf6361fe002585f731d34fe2e8b">step2</a>(uint8_t step);
|
||||||
|
<a name="l00320"></a>00320 <span class="comment"></span>
|
||||||
|
<a name="l00321"></a>00321 <span class="comment"> /// Called to execute a step on a 4 pin motor. Only called when a new step is</span>
|
||||||
|
<a name="l00322"></a>00322 <span class="comment"> /// required. Subclasses may override to implement new stepping</span>
|
||||||
|
<a name="l00323"></a>00323 <span class="comment"> /// interfaces. The default sets or clears the outputs of pin1, pin2,</span>
|
||||||
|
<a name="l00324"></a>00324 <span class="comment"> /// pin3, pin4.</span>
|
||||||
|
<a name="l00325"></a>00325 <span class="comment"> /// \param[in] step The current step phase number (0 to 7)</span>
|
||||||
|
<a name="l00326"></a>00326 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classAccelStepper.html#49e448d179bbe4e0f8003a3f9993789d">step4</a>(uint8_t step);
|
||||||
|
<a name="l00327"></a>00327 <span class="comment"></span>
|
||||||
|
<a name="l00328"></a>00328 <span class="comment"> /// Called to execute a step on a 4 pin half-steper motor. Only called when a new step is</span>
|
||||||
|
<a name="l00329"></a>00329 <span class="comment"> /// required. Subclasses may override to implement new stepping</span>
|
||||||
|
<a name="l00330"></a>00330 <span class="comment"> /// interfaces. The default sets or clears the outputs of pin1, pin2,</span>
|
||||||
|
<a name="l00331"></a>00331 <span class="comment"> /// pin3, pin4.</span>
|
||||||
|
<a name="l00332"></a>00332 <span class="comment"> /// \param[in] step The current step phase number (0 to 7)</span>
|
||||||
|
<a name="l00333"></a>00333 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classAccelStepper.html#5b33d1088e2beaf2176c42b08fb675ea">step8</a>(uint8_t step);
|
||||||
|
<a name="l00334"></a>00334 <span class="comment"></span>
|
||||||
|
<a name="l00335"></a>00335 <span class="comment"> /// Compute and return the desired speed. The default algorithm uses</span>
|
||||||
|
<a name="l00336"></a>00336 <span class="comment"> /// maxSpeed, acceleration and the current speed to set a new speed to</span>
|
||||||
|
<a name="l00337"></a>00337 <span class="comment"> /// move the motor from teh current position to the target</span>
|
||||||
|
<a name="l00338"></a>00338 <span class="comment"> /// position. Subclasses may override this to provide an alternate</span>
|
||||||
|
<a name="l00339"></a>00339 <span class="comment"> /// algorithm (but do not block). Called by computeNewSpeed whenever a new speed neds to be</span>
|
||||||
|
<a name="l00340"></a>00340 <span class="comment"> /// computed. </span>
|
||||||
|
<a name="l00341"></a>00341 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">float</span> <a class="code" href="classAccelStepper.html#6e4bd79c395e69beee31d76d0d3287e4">desiredSpeed</a>();
|
||||||
|
<a name="l00342"></a>00342
|
||||||
|
<a name="l00343"></a>00343 <span class="keyword">private</span>:<span class="comment"></span>
|
||||||
|
<a name="l00344"></a>00344 <span class="comment"> /// Number of pins on the stepper motor. Permits 2 or 4. 2 pins is a</span>
|
||||||
|
<a name="l00345"></a>00345 <span class="comment"> /// bipolar, and 4 pins is a unipolar.</span>
|
||||||
|
<a name="l00346"></a>00346 <span class="comment"></span> uint8_t _pins; <span class="comment">// 2 or 4</span>
|
||||||
|
<a name="l00347"></a>00347 <span class="comment"></span>
|
||||||
|
<a name="l00348"></a>00348 <span class="comment"> /// Arduino pin number for the 2 or 4 pins required to interface to the</span>
|
||||||
|
<a name="l00349"></a>00349 <span class="comment"> /// stepper motor.</span>
|
||||||
|
<a name="l00350"></a>00350 <span class="comment"></span> uint8_t _pin1, _pin2, _pin3, _pin4;
|
||||||
|
<a name="l00351"></a>00351 <span class="comment"></span>
|
||||||
|
<a name="l00352"></a>00352 <span class="comment"> /// The current absolution position in steps.</span>
|
||||||
|
<a name="l00353"></a>00353 <span class="comment"></span> <span class="keywordtype">long</span> _currentPos; <span class="comment">// Steps</span>
|
||||||
|
<a name="l00354"></a>00354 <span class="comment"></span>
|
||||||
|
<a name="l00355"></a>00355 <span class="comment"> /// The target position in steps. The AccelStepper library will move the</span>
|
||||||
|
<a name="l00356"></a>00356 <span class="comment"> /// motor from the _currentPos to the _targetPos, taking into account the</span>
|
||||||
|
<a name="l00357"></a>00357 <span class="comment"> /// max speed, acceleration and deceleration</span>
|
||||||
|
<a name="l00358"></a>00358 <span class="comment"></span> <span class="keywordtype">long</span> _targetPos; <span class="comment">// Steps</span>
|
||||||
|
<a name="l00359"></a>00359 <span class="comment"></span>
|
||||||
|
<a name="l00360"></a>00360 <span class="comment"> /// The current motos speed in steps per second</span>
|
||||||
|
<a name="l00361"></a>00361 <span class="comment"> /// Positive is clockwise</span>
|
||||||
|
<a name="l00362"></a>00362 <span class="comment"></span> <span class="keywordtype">float</span> _speed; <span class="comment">// Steps per second</span>
|
||||||
|
<a name="l00363"></a>00363 <span class="comment"></span>
|
||||||
|
<a name="l00364"></a>00364 <span class="comment"> /// The maximum permitted speed in steps per second. Must be > 0.</span>
|
||||||
|
<a name="l00365"></a>00365 <span class="comment"></span> <span class="keywordtype">float</span> _maxSpeed;
|
||||||
|
<a name="l00366"></a>00366 <span class="comment"></span>
|
||||||
|
<a name="l00367"></a>00367 <span class="comment"> /// The acceleration to use to accelerate or decelerate the motor in steps</span>
|
||||||
|
<a name="l00368"></a>00368 <span class="comment"> /// per second per second. Must be > 0</span>
|
||||||
|
<a name="l00369"></a>00369 <span class="comment"></span> <span class="keywordtype">float</span> _acceleration;
|
||||||
|
<a name="l00370"></a>00370 <span class="comment"></span>
|
||||||
|
<a name="l00371"></a>00371 <span class="comment"> /// The current interval between steps in microseconds</span>
|
||||||
|
<a name="l00372"></a>00372 <span class="comment"></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> _stepInterval;
|
||||||
|
<a name="l00373"></a>00373 <span class="comment"></span>
|
||||||
|
<a name="l00374"></a>00374 <span class="comment"> /// The last step time in microseconds</span>
|
||||||
|
<a name="l00375"></a>00375 <span class="comment"></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> _lastStepTime;
|
||||||
|
<a name="l00376"></a>00376 <span class="comment"></span>
|
||||||
|
<a name="l00377"></a>00377 <span class="comment"> /// The minimum allowed pulse width in microseconds</span>
|
||||||
|
<a name="l00378"></a>00378 <span class="comment"></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> _minPulseWidth;
|
||||||
|
<a name="l00379"></a>00379 <span class="comment"></span>
|
||||||
|
<a name="l00380"></a>00380 <span class="comment"> /// Is the direction pin inverted?</span>
|
||||||
|
<a name="l00381"></a>00381 <span class="comment"></span> <span class="keywordtype">bool</span> _dirInverted;
|
||||||
|
<a name="l00382"></a>00382 <span class="comment"></span>
|
||||||
|
<a name="l00383"></a>00383 <span class="comment"> /// Is the step pin inverted?</span>
|
||||||
|
<a name="l00384"></a>00384 <span class="comment"></span> <span class="keywordtype">bool</span> _stepInverted;
|
||||||
|
<a name="l00385"></a>00385 <span class="comment"></span>
|
||||||
|
<a name="l00386"></a>00386 <span class="comment"> /// Is the enable pin inverted?</span>
|
||||||
|
<a name="l00387"></a>00387 <span class="comment"></span> <span class="keywordtype">bool</span> _enableInverted;
|
||||||
|
<a name="l00388"></a>00388 <span class="comment"></span>
|
||||||
|
<a name="l00389"></a>00389 <span class="comment"> /// Enable pin for stepper driver, or 0xFF if unused.</span>
|
||||||
|
<a name="l00390"></a>00390 <span class="comment"></span> uint8_t _enablePin;
|
||||||
|
<a name="l00391"></a>00391
|
||||||
|
<a name="l00392"></a>00392 <span class="comment">// The pointer to a forward-step procedure</span>
|
||||||
|
<a name="l00393"></a>00393 void (*_forward)();
|
||||||
|
<a name="l00394"></a>00394
|
||||||
|
<a name="l00395"></a>00395 <span class="comment">// The pointer to a backward-step procedure</span>
|
||||||
|
<a name="l00396"></a>00396 void (*_backward)();
|
||||||
|
<a name="l00397"></a>00397 };
|
||||||
|
<a name="l00398"></a>00398
|
||||||
|
<a name="l00399"></a>00399 <span class="preprocessor">#endif </span>
|
||||||
|
</pre></div></div>
|
||||||
|
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Jan 8 17:27:41 2012 for AccelStepper by
|
||||||
|
<a href="http://www.doxygen.org/index.html">
|
||||||
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,61 @@
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>AccelStepper: Class List</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">AccelStepper
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
<li><a href="examples.html"><span>Examples</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="annotated.html"><span>Class List</span></a></li>
|
||||||
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">Class List</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here are the classes, structs, unions and interfaces with brief descriptions:</div><div class="directory">
|
||||||
|
<table class="directory">
|
||||||
|
<tr id="row_0_" class="even"><td class="entry"><img src="ftv2lastnode.png" alt="\" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="22" /><a class="el" href="classAccelStepper.html" target="_self">AccelStepper</a></td><td class="desc">Support for stepper motors with acceleration etc</td></tr>
|
||||||
|
</table>
|
||||||
|
</div><!-- directory -->
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,104 @@
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>AccelStepper: Member List</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">AccelStepper
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
<li><a href="examples.html"><span>Examples</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
||||||
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">AccelStepper Member List</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>This is the complete list of members for <a class="el" href="classAccelStepper.html">AccelStepper</a>, including all inherited members.</p>
|
||||||
|
<table class="directory">
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#a3bc75bd6571b98a6177838ca81ac39ab">AccelStepper</a>(uint8_t interface=AccelStepper::FULL4WIRE, uint8_t pin1=2, uint8_t pin2=3, uint8_t pin3=4, uint8_t pin4=5, bool enable=true)</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr><td class="entry"><a class="el" href="classAccelStepper.html#afa3061ce813303a8f2fa206ee8d012bd">AccelStepper</a>(void(*forward)(), void(*backward)())</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#affbee789b5c19165846cf0409860ae79">computeNewSpeed</a>()</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||||
|
<tr><td class="entry"><a class="el" href="classAccelStepper.html#a5dce13ab2a1b02b8f443318886bf6fc5">currentPosition</a>()</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#a7468f91a925c689c3ba250f8d074d228">Direction</a> enum name</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||||
|
<tr><td class="entry"><a class="el" href="classAccelStepper.html#a7468f91a925c689c3ba250f8d074d228a6959a4549f734bd771d418f995ba4fb4">DIRECTION_CCW</a> enum value</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#a7468f91a925c689c3ba250f8d074d228ad604e0047f7cb47662c5a1cf6999337c">DIRECTION_CW</a> enum value</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||||
|
<tr><td class="entry"><a class="el" href="classAccelStepper.html#a3591e29a236e2935afd7f64ff6c22006">disableOutputs</a>()</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#a748665c3962e66fbc0e9373eb14c69c1">distanceToGo</a>()</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr><td class="entry"><a class="el" href="classAccelStepper.html#a73bdecf1273d98d8c5fbcb764cabeea5ac3523e4cf6763ba518d16fec3708ef23">DRIVER</a> enum value</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#aa279a50d30d0413f570c692cff071643">enableOutputs</a>()</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
|
||||||
|
<tr><td class="entry"><a class="el" href="classAccelStepper.html#a73bdecf1273d98d8c5fbcb764cabeea5a62a305b52f749ff8c89138273fbb012d">FULL2WIRE</a> enum value</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#a73bdecf1273d98d8c5fbcb764cabeea5a0b8eea5cf0f8ce70b1959d2977ccc996">FULL3WIRE</a> enum value</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr><td class="entry"><a class="el" href="classAccelStepper.html#a73bdecf1273d98d8c5fbcb764cabeea5adedd394a375190a3df8d4519c0d4dc2f">FULL4WIRE</a> enum value</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#a73bdecf1273d98d8c5fbcb764cabeea5af5bb99ad9d67ad2d85f840e3abcfe068">FUNCTION</a> enum value</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr><td class="entry"><a class="el" href="classAccelStepper.html#a73bdecf1273d98d8c5fbcb764cabeea5a00c2387a5af43d8e97639699ab7a5c7f">HALF3WIRE</a> enum value</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#a73bdecf1273d98d8c5fbcb764cabeea5aecc0900c55b777d2e885581b8c434b07">HALF4WIRE</a> enum value</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr><td class="entry"><a class="el" href="classAccelStepper.html#a73bdecf1273d98d8c5fbcb764cabeea5">MotorInterfaceType</a> enum name</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#a68942c66e78fb7f7b5f0cdade6eb7f06">move</a>(long relative)</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr><td class="entry"><a class="el" href="classAccelStepper.html#ace236ede35f87c63d18da25810ec9736">moveTo</a>(long absolute)</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#a608b2395b64ac15451d16d0371fe13ce">run</a>()</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr><td class="entry"><a class="el" href="classAccelStepper.html#aa4a6bdf99f698284faaeb5542b0b7514">runSpeed</a>()</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#a9270d20336e76ac1fd5bcd5b9c34f301">runSpeedToPosition</a>()</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr><td class="entry"><a class="el" href="classAccelStepper.html#a176c5d2e4c2f21e9e92b12e39a6f0e67">runToNewPosition</a>(long position)</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#a344f58fef8cc34ac5aa75ba4b665d21c">runToPosition</a>()</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr><td class="entry"><a class="el" href="classAccelStepper.html#adfb19e3cd2a028a1fe78131787604fd1">setAcceleration</a>(float acceleration)</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#a9d917f014317fb9d3b5dc14e66f6c689">setCurrentPosition</a>(long position)</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr><td class="entry"><a class="el" href="classAccelStepper.html#a56a81c5f00d02ca19646718e88e974c0">setEnablePin</a>(uint8_t enablePin=0xff)</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#abee8d466229b87accba33d6ec929c18f">setMaxSpeed</a>(float speed)</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr><td class="entry"><a class="el" href="classAccelStepper.html#af4d3818e691dad5dc518308796ccf154">setMinPulseWidth</a>(unsigned int minWidth)</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#af3c2516b6ce7c1ecbc2004107bb2a9ce">setOutputPins</a>(uint8_t mask)</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
|
||||||
|
<tr><td class="entry"><a class="el" href="classAccelStepper.html#ac62cae590c2f9c303519a3a1c4adc8ab">setPinsInverted</a>(bool directionInvert=false, bool stepInvert=false, bool enableInvert=false)</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#a38298ac2dd852fb22259f6c4bbe08c94">setPinsInverted</a>(bool pin1Invert, bool pin2Invert, bool pin3Invert, bool pin4Invert, bool enableInvert)</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr><td class="entry"><a class="el" href="classAccelStepper.html#ae79c49ad69d5ccc9da0ee691fa4ca235">setSpeed</a>(float speed)</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#a4f0989d0ae264e7eadfe1fa720769fb6">speed</a>()</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr><td class="entry"><a class="el" href="classAccelStepper.html#a8a419121702399d8ac66df4cc47481f4">step</a>(long step)</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#aa2913db789e6fa05756579ff82fe6e7e">step0</a>(long step)</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
|
||||||
|
<tr><td class="entry"><a class="el" href="classAccelStepper.html#a63ef416bc039da539294e84a41e7d7dc">step1</a>(long step)</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#a674e48a6bf99e7ad1f013c1e4414565a">step2</a>(long step)</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
|
||||||
|
<tr><td class="entry"><a class="el" href="classAccelStepper.html#ad73c61aade2e10243dfb02aefa7ab8fd">step3</a>(long step)</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#a8910bd9218a54dfb7e2372a6d0bcca0c">step4</a>(long step)</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
|
||||||
|
<tr><td class="entry"><a class="el" href="classAccelStepper.html#a4b0faf1ebc0c584ab606c0c0f66986b0">step6</a>(long step)</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#aa909c6c3fcd3ea4b3ee1aa8b4d0f7e87">step8</a>(long step)</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
|
||||||
|
<tr><td class="entry"><a class="el" href="classAccelStepper.html#a638817b85aed9d5cd15c76a76c00aced">stop</a>()</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
<tr class="even"><td class="entry"><a class="el" href="classAccelStepper.html#a96685e0945b7cf75d5959da679cd911e">targetPosition</a>()</td><td class="entry"><a class="el" href="classAccelStepper.html">AccelStepper</a></td><td class="entry"></td></tr>
|
||||||
|
</table></div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
|
@ -0,0 +1,60 @@
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>AccelStepper: File List</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">AccelStepper
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Classes</span></a></li>
|
||||||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
<li><a href="examples.html"><span>Examples</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="files.html"><span>File List</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">File List</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all documented files with brief descriptions:</div><div class="directory">
|
||||||
|
<table class="directory">
|
||||||
|
<tr id="row_0_" class="even"><td class="entry"><img src="ftv2lastnode.png" alt="\" width="16" height="22" /><a href="AccelStepper_8h_source.html"><img src="ftv2doc.png" alt="*" width="24" height="22" /></a><b>AccelStepper.h</b></td><td class="desc"></td></tr>
|
||||||
|
</table>
|
||||||
|
</div><!-- directory -->
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,243 @@
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>AccelStepper: Class Members</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">AccelStepper
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
<li><a href="examples.html"><span>Examples</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
||||||
|
<li class="current"><a href="functions.html"><span>Class Members</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="functions.html"><span>All</span></a></li>
|
||||||
|
<li><a href="functions_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="functions_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="functions_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="#index_c"><span>c</span></a></li>
|
||||||
|
<li><a href="#index_d"><span>d</span></a></li>
|
||||||
|
<li><a href="#index_e"><span>e</span></a></li>
|
||||||
|
<li><a href="#index_f"><span>f</span></a></li>
|
||||||
|
<li><a href="#index_h"><span>h</span></a></li>
|
||||||
|
<li><a href="#index_m"><span>m</span></a></li>
|
||||||
|
<li><a href="#index_r"><span>r</span></a></li>
|
||||||
|
<li><a href="#index_s"><span>s</span></a></li>
|
||||||
|
<li><a href="#index_t"><span>t</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all documented class members with links to the class documentation for each member:</div>
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_a"></a>- a -</h3><ul>
|
||||||
|
<li>AccelStepper()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a3bc75bd6571b98a6177838ca81ac39ab">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_c"></a>- c -</h3><ul>
|
||||||
|
<li>computeNewSpeed()
|
||||||
|
: <a class="el" href="classAccelStepper.html#affbee789b5c19165846cf0409860ae79">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>currentPosition()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a5dce13ab2a1b02b8f443318886bf6fc5">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_d"></a>- d -</h3><ul>
|
||||||
|
<li>Direction
|
||||||
|
: <a class="el" href="classAccelStepper.html#a7468f91a925c689c3ba250f8d074d228">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>DIRECTION_CCW
|
||||||
|
: <a class="el" href="classAccelStepper.html#a7468f91a925c689c3ba250f8d074d228a6959a4549f734bd771d418f995ba4fb4">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>DIRECTION_CW
|
||||||
|
: <a class="el" href="classAccelStepper.html#a7468f91a925c689c3ba250f8d074d228ad604e0047f7cb47662c5a1cf6999337c">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>disableOutputs()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a3591e29a236e2935afd7f64ff6c22006">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>distanceToGo()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a748665c3962e66fbc0e9373eb14c69c1">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>DRIVER
|
||||||
|
: <a class="el" href="classAccelStepper.html#a73bdecf1273d98d8c5fbcb764cabeea5ac3523e4cf6763ba518d16fec3708ef23">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_e"></a>- e -</h3><ul>
|
||||||
|
<li>enableOutputs()
|
||||||
|
: <a class="el" href="classAccelStepper.html#aa279a50d30d0413f570c692cff071643">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_f"></a>- f -</h3><ul>
|
||||||
|
<li>FULL2WIRE
|
||||||
|
: <a class="el" href="classAccelStepper.html#a73bdecf1273d98d8c5fbcb764cabeea5a62a305b52f749ff8c89138273fbb012d">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>FULL3WIRE
|
||||||
|
: <a class="el" href="classAccelStepper.html#a73bdecf1273d98d8c5fbcb764cabeea5a0b8eea5cf0f8ce70b1959d2977ccc996">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>FULL4WIRE
|
||||||
|
: <a class="el" href="classAccelStepper.html#a73bdecf1273d98d8c5fbcb764cabeea5adedd394a375190a3df8d4519c0d4dc2f">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>FUNCTION
|
||||||
|
: <a class="el" href="classAccelStepper.html#a73bdecf1273d98d8c5fbcb764cabeea5af5bb99ad9d67ad2d85f840e3abcfe068">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_h"></a>- h -</h3><ul>
|
||||||
|
<li>HALF3WIRE
|
||||||
|
: <a class="el" href="classAccelStepper.html#a73bdecf1273d98d8c5fbcb764cabeea5a00c2387a5af43d8e97639699ab7a5c7f">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>HALF4WIRE
|
||||||
|
: <a class="el" href="classAccelStepper.html#a73bdecf1273d98d8c5fbcb764cabeea5aecc0900c55b777d2e885581b8c434b07">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_m"></a>- m -</h3><ul>
|
||||||
|
<li>MotorInterfaceType
|
||||||
|
: <a class="el" href="classAccelStepper.html#a73bdecf1273d98d8c5fbcb764cabeea5">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>move()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a68942c66e78fb7f7b5f0cdade6eb7f06">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>moveTo()
|
||||||
|
: <a class="el" href="classAccelStepper.html#ace236ede35f87c63d18da25810ec9736">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_r"></a>- r -</h3><ul>
|
||||||
|
<li>run()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a608b2395b64ac15451d16d0371fe13ce">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>runSpeed()
|
||||||
|
: <a class="el" href="classAccelStepper.html#aa4a6bdf99f698284faaeb5542b0b7514">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>runSpeedToPosition()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a9270d20336e76ac1fd5bcd5b9c34f301">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>runToNewPosition()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a176c5d2e4c2f21e9e92b12e39a6f0e67">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>runToPosition()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a344f58fef8cc34ac5aa75ba4b665d21c">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_s"></a>- s -</h3><ul>
|
||||||
|
<li>setAcceleration()
|
||||||
|
: <a class="el" href="classAccelStepper.html#adfb19e3cd2a028a1fe78131787604fd1">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>setCurrentPosition()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a9d917f014317fb9d3b5dc14e66f6c689">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>setEnablePin()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a56a81c5f00d02ca19646718e88e974c0">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>setMaxSpeed()
|
||||||
|
: <a class="el" href="classAccelStepper.html#abee8d466229b87accba33d6ec929c18f">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>setMinPulseWidth()
|
||||||
|
: <a class="el" href="classAccelStepper.html#af4d3818e691dad5dc518308796ccf154">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>setOutputPins()
|
||||||
|
: <a class="el" href="classAccelStepper.html#af3c2516b6ce7c1ecbc2004107bb2a9ce">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>setPinsInverted()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a38298ac2dd852fb22259f6c4bbe08c94">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>setSpeed()
|
||||||
|
: <a class="el" href="classAccelStepper.html#ae79c49ad69d5ccc9da0ee691fa4ca235">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>speed()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a4f0989d0ae264e7eadfe1fa720769fb6">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>step()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a8a419121702399d8ac66df4cc47481f4">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>step0()
|
||||||
|
: <a class="el" href="classAccelStepper.html#aa2913db789e6fa05756579ff82fe6e7e">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>step1()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a63ef416bc039da539294e84a41e7d7dc">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>step2()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a674e48a6bf99e7ad1f013c1e4414565a">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>step3()
|
||||||
|
: <a class="el" href="classAccelStepper.html#ad73c61aade2e10243dfb02aefa7ab8fd">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>step4()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a8910bd9218a54dfb7e2372a6d0bcca0c">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>step6()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a4b0faf1ebc0c584ab606c0c0f66986b0">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>step8()
|
||||||
|
: <a class="el" href="classAccelStepper.html#aa909c6c3fcd3ea4b3ee1aa8b4d0f7e87">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>stop()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a638817b85aed9d5cd15c76a76c00aced">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_t"></a>- t -</h3><ul>
|
||||||
|
<li>targetPosition()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a96685e0945b7cf75d5959da679cd911e">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,200 @@
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>AccelStepper: Class Members - Functions</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">AccelStepper
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
<li><a href="examples.html"><span>Examples</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
||||||
|
<li class="current"><a href="functions.html"><span>Class Members</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow3" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="functions.html"><span>All</span></a></li>
|
||||||
|
<li class="current"><a href="functions_func.html"><span>Functions</span></a></li>
|
||||||
|
<li><a href="functions_enum.html"><span>Enumerations</span></a></li>
|
||||||
|
<li><a href="functions_eval.html"><span>Enumerator</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow4" class="tabs3">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="#index_a"><span>a</span></a></li>
|
||||||
|
<li><a href="#index_c"><span>c</span></a></li>
|
||||||
|
<li><a href="#index_d"><span>d</span></a></li>
|
||||||
|
<li><a href="#index_e"><span>e</span></a></li>
|
||||||
|
<li><a href="#index_m"><span>m</span></a></li>
|
||||||
|
<li><a href="#index_r"><span>r</span></a></li>
|
||||||
|
<li><a href="#index_s"><span>s</span></a></li>
|
||||||
|
<li><a href="#index_t"><span>t</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="contents">
|
||||||
|
 
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_a"></a>- a -</h3><ul>
|
||||||
|
<li>AccelStepper()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a3bc75bd6571b98a6177838ca81ac39ab">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_c"></a>- c -</h3><ul>
|
||||||
|
<li>computeNewSpeed()
|
||||||
|
: <a class="el" href="classAccelStepper.html#affbee789b5c19165846cf0409860ae79">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>currentPosition()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a5dce13ab2a1b02b8f443318886bf6fc5">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_d"></a>- d -</h3><ul>
|
||||||
|
<li>disableOutputs()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a3591e29a236e2935afd7f64ff6c22006">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>distanceToGo()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a748665c3962e66fbc0e9373eb14c69c1">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_e"></a>- e -</h3><ul>
|
||||||
|
<li>enableOutputs()
|
||||||
|
: <a class="el" href="classAccelStepper.html#aa279a50d30d0413f570c692cff071643">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_m"></a>- m -</h3><ul>
|
||||||
|
<li>move()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a68942c66e78fb7f7b5f0cdade6eb7f06">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>moveTo()
|
||||||
|
: <a class="el" href="classAccelStepper.html#ace236ede35f87c63d18da25810ec9736">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_r"></a>- r -</h3><ul>
|
||||||
|
<li>run()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a608b2395b64ac15451d16d0371fe13ce">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>runSpeed()
|
||||||
|
: <a class="el" href="classAccelStepper.html#aa4a6bdf99f698284faaeb5542b0b7514">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>runSpeedToPosition()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a9270d20336e76ac1fd5bcd5b9c34f301">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>runToNewPosition()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a176c5d2e4c2f21e9e92b12e39a6f0e67">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>runToPosition()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a344f58fef8cc34ac5aa75ba4b665d21c">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_s"></a>- s -</h3><ul>
|
||||||
|
<li>setAcceleration()
|
||||||
|
: <a class="el" href="classAccelStepper.html#adfb19e3cd2a028a1fe78131787604fd1">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>setCurrentPosition()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a9d917f014317fb9d3b5dc14e66f6c689">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>setEnablePin()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a56a81c5f00d02ca19646718e88e974c0">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>setMaxSpeed()
|
||||||
|
: <a class="el" href="classAccelStepper.html#abee8d466229b87accba33d6ec929c18f">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>setMinPulseWidth()
|
||||||
|
: <a class="el" href="classAccelStepper.html#af4d3818e691dad5dc518308796ccf154">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>setOutputPins()
|
||||||
|
: <a class="el" href="classAccelStepper.html#af3c2516b6ce7c1ecbc2004107bb2a9ce">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>setPinsInverted()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a38298ac2dd852fb22259f6c4bbe08c94">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>setSpeed()
|
||||||
|
: <a class="el" href="classAccelStepper.html#ae79c49ad69d5ccc9da0ee691fa4ca235">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>speed()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a4f0989d0ae264e7eadfe1fa720769fb6">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>step()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a8a419121702399d8ac66df4cc47481f4">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>step0()
|
||||||
|
: <a class="el" href="classAccelStepper.html#aa2913db789e6fa05756579ff82fe6e7e">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>step1()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a63ef416bc039da539294e84a41e7d7dc">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>step2()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a674e48a6bf99e7ad1f013c1e4414565a">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>step3()
|
||||||
|
: <a class="el" href="classAccelStepper.html#ad73c61aade2e10243dfb02aefa7ab8fd">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>step4()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a8910bd9218a54dfb7e2372a6d0bcca0c">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>step6()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a4b0faf1ebc0c584ab606c0c0f66986b0">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>step8()
|
||||||
|
: <a class="el" href="classAccelStepper.html#aa909c6c3fcd3ea4b3ee1aa8b4d0f7e87">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
<li>stop()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a638817b85aed9d5cd15c76a76c00aced">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<h3><a class="anchor" id="index_t"></a>- t -</h3><ul>
|
||||||
|
<li>targetPosition()
|
||||||
|
: <a class="el" href="classAccelStepper.html#a96685e0945b7cf75d5959da679cd911e">AccelStepper</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,150 @@
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||||
|
<title>AccelStepper: AccelStepper library for Arduino</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">AccelStepper
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Generated by Doxygen 1.8.2 -->
|
||||||
|
<div id="navrow1" class="tabs">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li class="current"><a href="index.html"><span>Main Page</span></a></li>
|
||||||
|
<li><a href="annotated.html"><span>Classes</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
<li><a href="examples.html"><span>Examples</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title"><a class="el" href="classAccelStepper.html" title="Support for stepper motors with acceleration etc.">AccelStepper</a> library for Arduino </div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock"><p>This is the Arduino <a class="el" href="classAccelStepper.html" title="Support for stepper motors with acceleration etc.">AccelStepper</a> library. It provides an object-oriented interface for 2, 3 or 4 pin stepper motors.</p>
|
||||||
|
<p>The standard Arduino IDE includes the Stepper library (<a href="http://arduino.cc/en/Reference/Stepper">http://arduino.cc/en/Reference/Stepper</a>) for stepper motors. It is perfectly adequate for simple, single motor applications.</p>
|
||||||
|
<p><a class="el" href="classAccelStepper.html" title="Support for stepper motors with acceleration etc.">AccelStepper</a> significantly improves on the standard Arduino Stepper library in several ways: </p>
|
||||||
|
<ul>
|
||||||
|
<li>Supports acceleration and deceleration </li>
|
||||||
|
<li>Supports multiple simultaneous steppers, with independent concurrent stepping on each stepper </li>
|
||||||
|
<li>API functions never delay() or block </li>
|
||||||
|
<li>Supports 2, 3 and 4 wire steppers, plus 3 and 4 wire half steppers. </li>
|
||||||
|
<li>Supports alternate stepping functions to enable support of AFMotor (<a href="https://github.com/adafruit/Adafruit-Motor-Shield-library">https://github.com/adafruit/Adafruit-Motor-Shield-library</a>) </li>
|
||||||
|
<li>Supports stepper drivers such as the Sparkfun EasyDriver (based on 3967 driver chip) </li>
|
||||||
|
<li>Very slow speeds are supported </li>
|
||||||
|
<li>Extensive API </li>
|
||||||
|
<li>Subclass support</li>
|
||||||
|
</ul>
|
||||||
|
<p>The latest version of this documentation can be downloaded from <a href="http://www.airspayce.com/mikem/arduino/AccelStepper">http://www.airspayce.com/mikem/arduino/AccelStepper</a> The version of the package that this documentation refers to can be downloaded from <a href="http://www.airspayce.com/mikem/arduino/AccelStepper/AccelStepper-1.37.zip">http://www.airspayce.com/mikem/arduino/AccelStepper/AccelStepper-1.37.zip</a></p>
|
||||||
|
<p>Example Arduino programs are included to show the main modes of use.</p>
|
||||||
|
<p>You can also find online help and discussion at <a href="http://groups.google.com/group/accelstepper">http://groups.google.com/group/accelstepper</a> Please use that group for all questions and discussions on this topic. Do not contact the author directly, unless it is to discuss commercial licensing.</p>
|
||||||
|
<p>Tested on Arduino Diecimila and Mega with arduino-0018 & arduino-0021 on OpenSuSE 11.1 and avr-libc-1.6.1-1.15, cross-avr-binutils-2.19-9.1, cross-avr-gcc-4.1.3_20080612-26.5.</p>
|
||||||
|
<dl class="section user"><dt>Installation</dt><dd>Install in the usual way: unzip the distribution zip file to the libraries sub-folder of your sketchbook.</dd></dl>
|
||||||
|
<p>This software is Copyright (C) 2010 Mike McCauley. Use is subject to license conditions. The main licensing options available are GPL V2 or Commercial:</p>
|
||||||
|
<dl class="section user"><dt>Theory</dt><dd>This code uses speed calculations as described in "Generate stepper-motor speed profiles in real time" by David Austin <a href="http://fab.cba.mit.edu/classes/MIT/961.09/projects/i0/Stepper_Motor_Speed_Profile.pdf">http://fab.cba.mit.edu/classes/MIT/961.09/projects/i0/Stepper_Motor_Speed_Profile.pdf</a> with the exception that <a class="el" href="classAccelStepper.html" title="Support for stepper motors with acceleration etc.">AccelStepper</a> uses steps per second rather than radians per second (because we dont know the step angle of the motor) An initial step interval is calculated for the first step, based on the desired acceleration Subsequent shorter step intervals are calculated based on the previous step until max speed is acheived.</dd></dl>
|
||||||
|
<dl class="section user"><dt>Open Source Licensing GPL V2</dt><dd>This is the appropriate option if you want to share the source code of your application with everyone you distribute it to, and you also want to give them the right to share who uses it. If you wish to use this software under Open Source Licensing, you must contribute all your source code to the open source community in accordance with the GPL Version 2 when your application is distributed. See <a href="http://www.gnu.org/copyleft/gpl.html">http://www.gnu.org/copyleft/gpl.html</a></dd></dl>
|
||||||
|
<dl class="section user"><dt>Commercial Licensing</dt><dd>This is the appropriate option if you are creating proprietary applications and you are not prepared to distribute and share the source code of your application. Contact <a href="#" onclick="location.href='mai'+'lto:'+'inf'+'o@'+'air'+'sp'+'ayc'+'e.'+'com'; return false;">info@<span style="display: none;">.nosp@m.</span>airs<span style="display: none;">.nosp@m.</span>payce<span style="display: none;">.nosp@m.</span>.com</a> for details.</dd></dl>
|
||||||
|
<dl class="section user"><dt>Revision History</dt><dd></dd></dl>
|
||||||
|
<dl class="section version"><dt>Version</dt><dd>1.0 Initial release</dd>
|
||||||
|
<dd>
|
||||||
|
1.1 Added speed() function to get the current speed. </dd>
|
||||||
|
<dd>
|
||||||
|
1.2 Added runSpeedToPosition() submitted by Gunnar Arndt. </dd>
|
||||||
|
<dd>
|
||||||
|
1.3 Added support for stepper drivers (ie with Step and Direction inputs) with _pins == 1 </dd>
|
||||||
|
<dd>
|
||||||
|
1.4 Added functional contructor to support AFMotor, contributed by Limor, with example sketches. </dd>
|
||||||
|
<dd>
|
||||||
|
1.5 Improvements contributed by Peter Mousley: Use of microsecond steps and other speed improvements to increase max stepping speed to about 4kHz. New option for user to set the min allowed pulse width. Added checks for already running at max speed and skip further calcs if so. </dd>
|
||||||
|
<dd>
|
||||||
|
1.6 Fixed a problem with wrapping of microsecond stepping that could cause stepping to hang. Reported by Sandy Noble. Removed redundant _lastRunTime member. </dd>
|
||||||
|
<dd>
|
||||||
|
1.7 Fixed a bug where setCurrentPosition() did not always work as expected. Reported by Peter Linhart. </dd>
|
||||||
|
<dd>
|
||||||
|
1.8 Added support for 4 pin half-steppers, requested by Harvey Moon </dd>
|
||||||
|
<dd>
|
||||||
|
1.9 setCurrentPosition() now also sets motor speed to 0. </dd>
|
||||||
|
<dd>
|
||||||
|
1.10 Builds on Arduino 1.0 </dd>
|
||||||
|
<dd>
|
||||||
|
1.11 Improvments from Michael Ellison: Added optional enable line support for stepper drivers Added inversion for step/direction/enable lines for stepper drivers </dd>
|
||||||
|
<dd>
|
||||||
|
1.12 Announce Google Group </dd>
|
||||||
|
<dd>
|
||||||
|
1.13 Improvements to speed calculation. Cost of calculation is now less in the worst case, and more or less constant in all cases. This should result in slightly beter high speed performance, and reduce anomalous speed glitches when other steppers are accelerating. However, its hard to see how to replace the sqrt() required at the very first step from 0 speed. </dd>
|
||||||
|
<dd>
|
||||||
|
1.14 Fixed a problem with compiling under arduino 0021 reported by EmbeddedMan </dd>
|
||||||
|
<dd>
|
||||||
|
1.15 Fixed a problem with runSpeedToPosition which did not correctly handle running backwards to a smaller target position. Added examples </dd>
|
||||||
|
<dd>
|
||||||
|
1.16 Fixed some cases in the code where abs() was used instead of fabs(). </dd>
|
||||||
|
<dd>
|
||||||
|
1.17 Added example ProportionalControl </dd>
|
||||||
|
<dd>
|
||||||
|
1.18 Fixed a problem: If one calls the funcion runSpeed() when Speed is zero, it makes steps without counting. reported by Friedrich, Klappenbach. </dd>
|
||||||
|
<dd>
|
||||||
|
1.19 Added MotorInterfaceType and symbolic names for the number of pins to use for the motor interface. Updated examples to suit. Replaced individual pin assignment variables _pin1, _pin2 etc with array _pin[4]. _pins member changed to _interface. Added _pinInverted array to simplify pin inversion operations. Added new function setOutputPins() which sets the motor output pins. It can be overridden in order to provide, say, serial output instead of parallel output Some refactoring and code size reduction. </dd>
|
||||||
|
<dd>
|
||||||
|
1.20 Improved documentation and examples to show need for correctly specifying <a class="el" href="classAccelStepper.html#a73bdecf1273d98d8c5fbcb764cabeea5adedd394a375190a3df8d4519c0d4dc2f" title="4 wire full stepper, 4 motor pins required">AccelStepper::FULL4WIRE</a> and friends. </dd>
|
||||||
|
<dd>
|
||||||
|
1.21 Fixed a problem where desiredSpeed could compute the wrong step acceleration when _speed was small but non-zero. Reported by Brian Schmalz. Precompute sqrt_twoa to improve performance and max possible stepping speed </dd>
|
||||||
|
<dd>
|
||||||
|
1.22 Added Bounce.pde example Fixed a problem where calling moveTo(), setMaxSpeed(), setAcceleration() more frequently than the step time, even with the same values, would interfere with speed calcs. Now a new speed is computed only if there was a change in the set value. Reported by Brian Schmalz. </dd>
|
||||||
|
<dd>
|
||||||
|
1.23 Rewrite of the speed algorithms in line with <a href="http://fab.cba.mit.edu/classes/MIT/961.09/projects/i0/Stepper_Motor_Speed_Profile.pdf">http://fab.cba.mit.edu/classes/MIT/961.09/projects/i0/Stepper_Motor_Speed_Profile.pdf</a> Now expect smoother and more linear accelerations and decelerations. The desiredSpeed() function was removed. </dd>
|
||||||
|
<dd>
|
||||||
|
1.24 Fixed a problem introduced in 1.23: with runToPosition, which did never returned </dd>
|
||||||
|
<dd>
|
||||||
|
1.25 Now ignore attempts to set acceleration to 0.0 </dd>
|
||||||
|
<dd>
|
||||||
|
1.26 Fixed a problem where certina combinations of speed and accelration could cause oscillation about the target position. </dd>
|
||||||
|
<dd>
|
||||||
|
1.27 Added stop() function to stop as fast as possible with current acceleration parameters. Also added new Quickstop example showing its use. </dd>
|
||||||
|
<dd>
|
||||||
|
1.28 Fixed another problem where certain combinations of speed and accelration could cause oscillation about the target position. Added support for 3 wire full and half steppers such as Hard Disk Drive spindle. Contributed by Yuri Ivatchkovitch. </dd>
|
||||||
|
<dd>
|
||||||
|
1.29 Fixed a problem that could cause a DRIVER stepper to continually step with some sketches. Reported by Vadim. </dd>
|
||||||
|
<dd>
|
||||||
|
1.30 Fixed a problem that could cause stepper to back up a few steps at the end of accelerated travel with certain speeds. Reported and patched by jolo. </dd>
|
||||||
|
<dd>
|
||||||
|
1.31 Updated author and distribution location details to airspayce.com </dd>
|
||||||
|
<dd>
|
||||||
|
1.32 Fixed a problem with enableOutputs() and setEnablePin on Arduino Due that prevented the enable pin changing stae correctly. Reported by Duane Bishop. </dd>
|
||||||
|
<dd>
|
||||||
|
1.33 Fixed an error in example AFMotor_ConstantSpeed.pde did not setMaxSpeed(); Fixed a problem that caused incorrect pin sequencing of FULL3WIRE and HALF3WIRE. Unfortunately this meant changing the signature for all step*() functions. Added example MotorShield, showing how to use AdaFruit Motor Shield to control a 3 phase motor such as a HDD spindle motor (and without using the AFMotor library. </dd>
|
||||||
|
<dd>
|
||||||
|
1.34 Added setPinsInverted(bool pin1Invert, bool pin2Invert, bool pin3Invert, bool pin4Invert, bool enableInvert) to allow inversion of 2, 3 and 4 wire stepper pins. Requested by Oleg. </dd>
|
||||||
|
<dd>
|
||||||
|
1.35 Removed default args from setPinsInverted(bool, bool, bool, bool, bool) to prevent ambiguity with setPinsInverted(bool, bool, bool). Reported by Mac Mac. </dd>
|
||||||
|
<dd>
|
||||||
|
1.36 Changed enableOutputs() and disableOutputs() to be virtual so can be overridden. Added new optional argument 'enable' to constructor, which allows you toi disable the automatic enabling of outputs at construction time. Suggested by Guido. </dd>
|
||||||
|
<dd>
|
||||||
|
1.37 Fixed a problem with step1 that could cause a rogue step in the wrong direction (or not, depending on the setup-time requirements of the connected hardware). Reported by Mark Tillotson.</dd></dl>
|
||||||
|
<dl class="section author"><dt>Author</dt><dd>Mike McCauley (<a href="#" onclick="location.href='mai'+'lto:'+'mik'+'em'+'@ai'+'rs'+'pay'+'ce'+'.co'+'m'; return false;">mikem<span style="display: none;">.nosp@m.</span>@air<span style="display: none;">.nosp@m.</span>spayc<span style="display: none;">.nosp@m.</span>e.co<span style="display: none;">.nosp@m.</span>m</a>) DO NOT CONTACT THE AUTHOR DIRECTLY: USE THE LISTS </dd></dl>
|
||||||
|
</div></div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||||
|
</a> 1.8.2
|
||||||
|
</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
Binary file not shown.
After Width: | Height: | Size: 35 B |
Binary file not shown.
After Width: | Height: | Size: 706 B |
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
|
@ -0,0 +1,60 @@
|
||||||
|
.tabs, .tabs2, .tabs3 {
|
||||||
|
background-image: url('tab_b.png');
|
||||||
|
width: 100%;
|
||||||
|
z-index: 101;
|
||||||
|
font-size: 13px;
|
||||||
|
font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabs2 {
|
||||||
|
font-size: 10px;
|
||||||
|
}
|
||||||
|
.tabs3 {
|
||||||
|
font-size: 9px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tablist {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
display: table;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tablist li {
|
||||||
|
float: left;
|
||||||
|
display: table-cell;
|
||||||
|
background-image: url('tab_b.png');
|
||||||
|
line-height: 36px;
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tablist a {
|
||||||
|
display: block;
|
||||||
|
padding: 0 20px;
|
||||||
|
font-weight: bold;
|
||||||
|
background-image:url('tab_s.png');
|
||||||
|
background-repeat:no-repeat;
|
||||||
|
background-position:right;
|
||||||
|
color: #283A5D;
|
||||||
|
text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9);
|
||||||
|
text-decoration: none;
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabs3 .tablist a {
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tablist a:hover {
|
||||||
|
background-image: url('tab_h.png');
|
||||||
|
background-repeat:repeat-x;
|
||||||
|
color: #fff;
|
||||||
|
text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0);
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tablist li.current a {
|
||||||
|
background-image: url('tab_a.png');
|
||||||
|
background-repeat:repeat-x;
|
||||||
|
color: #fff;
|
||||||
|
text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0);
|
||||||
|
}
|
|
@ -0,0 +1,36 @@
|
||||||
|
// AFMotor_ConstantSpeed.pde
|
||||||
|
// -*- mode: C++ -*-
|
||||||
|
//
|
||||||
|
// Shows how to run AccelStepper in the simplest,
|
||||||
|
// fixed speed mode with no accelerations
|
||||||
|
// Requires the AFMotor library (https://github.com/adafruit/Adafruit-Motor-Shield-library)
|
||||||
|
|
||||||
|
#include <AccelStepper.h>
|
||||||
|
#include <AFMotor.h>
|
||||||
|
|
||||||
|
AF_Stepper motor1(200, 1);
|
||||||
|
|
||||||
|
|
||||||
|
// you can change these to DOUBLE or INTERLEAVE or MICROSTEP!
|
||||||
|
void forwardstep() {
|
||||||
|
motor1.onestep(FORWARD, SINGLE);
|
||||||
|
}
|
||||||
|
void backwardstep() {
|
||||||
|
motor1.onestep(BACKWARD, SINGLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
AccelStepper stepper(forwardstep, backwardstep); // use functions to step
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
Serial.begin(9600); // set up Serial library at 9600 bps
|
||||||
|
Serial.println("Stepper test!");
|
||||||
|
|
||||||
|
stepper.setMaxSpeed(50);
|
||||||
|
stepper.setSpeed(50);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
stepper.runSpeed();
|
||||||
|
}
|
|
@ -0,0 +1,54 @@
|
||||||
|
// AFMotor_MultiStepper.pde
|
||||||
|
// -*- mode: C++ -*-
|
||||||
|
//
|
||||||
|
// Control both Stepper motors at the same time with different speeds
|
||||||
|
// and accelerations.
|
||||||
|
// Requires the AFMotor library (https://github.com/adafruit/Adafruit-Motor-Shield-library)
|
||||||
|
|
||||||
|
#include <AccelStepper.h>
|
||||||
|
#include <AFMotor.h>
|
||||||
|
|
||||||
|
// two stepper motors one on each port
|
||||||
|
AF_Stepper motor1(200, 1);
|
||||||
|
AF_Stepper motor2(200, 2);
|
||||||
|
|
||||||
|
// you can change these to DOUBLE or INTERLEAVE or MICROSTEP!
|
||||||
|
// wrappers for the first motor!
|
||||||
|
void forwardstep1() {
|
||||||
|
motor1.onestep(FORWARD, SINGLE);
|
||||||
|
}
|
||||||
|
void backwardstep1() {
|
||||||
|
motor1.onestep(BACKWARD, SINGLE);
|
||||||
|
}
|
||||||
|
// wrappers for the second motor!
|
||||||
|
void forwardstep2() {
|
||||||
|
motor2.onestep(FORWARD, SINGLE);
|
||||||
|
}
|
||||||
|
void backwardstep2() {
|
||||||
|
motor2.onestep(BACKWARD, SINGLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Motor shield has two motor ports, now we'll wrap them in an AccelStepper object
|
||||||
|
AccelStepper stepper1(forwardstep1, backwardstep1);
|
||||||
|
AccelStepper stepper2(forwardstep2, backwardstep2);
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
stepper1.setMaxSpeed(200.0);
|
||||||
|
stepper1.setAcceleration(100.0);
|
||||||
|
stepper1.moveTo(24);
|
||||||
|
|
||||||
|
stepper2.setMaxSpeed(300.0);
|
||||||
|
stepper2.setAcceleration(100.0);
|
||||||
|
stepper2.moveTo(1000000);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
// Change direction at the limits
|
||||||
|
if (stepper1.distanceToGo() == 0)
|
||||||
|
stepper1.moveTo(-stepper1.currentPosition());
|
||||||
|
stepper1.run();
|
||||||
|
stepper2.run();
|
||||||
|
}
|
|
@ -0,0 +1,28 @@
|
||||||
|
// Blocking.pde
|
||||||
|
// -*- mode: C++ -*-
|
||||||
|
//
|
||||||
|
// Shows how to use the blocking call runToNewPosition
|
||||||
|
// Which sets a new target position and then waits until the stepper has
|
||||||
|
// achieved it.
|
||||||
|
//
|
||||||
|
// Copyright (C) 2009 Mike McCauley
|
||||||
|
// $Id: Blocking.pde,v 1.1 2011/01/05 01:51:01 mikem Exp mikem $
|
||||||
|
|
||||||
|
#include <AccelStepper.h>
|
||||||
|
|
||||||
|
// Define a stepper and the pins it will use
|
||||||
|
AccelStepper stepper; // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
stepper.setMaxSpeed(200.0);
|
||||||
|
stepper.setAcceleration(100.0);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
stepper.runToNewPosition(0);
|
||||||
|
stepper.runToNewPosition(500);
|
||||||
|
stepper.runToNewPosition(100);
|
||||||
|
stepper.runToNewPosition(120);
|
||||||
|
}
|
|
@ -0,0 +1,29 @@
|
||||||
|
// Bounce.pde
|
||||||
|
// -*- mode: C++ -*-
|
||||||
|
//
|
||||||
|
// Make a single stepper bounce from one limit to another
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Mike McCauley
|
||||||
|
// $Id: Random.pde,v 1.1 2011/01/05 01:51:01 mikem Exp mikem $
|
||||||
|
|
||||||
|
#include <AccelStepper.h>
|
||||||
|
|
||||||
|
// Define a stepper and the pins it will use
|
||||||
|
AccelStepper stepper; // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
// Change these to suit your stepper if you want
|
||||||
|
stepper.setMaxSpeed(100);
|
||||||
|
stepper.setAcceleration(20);
|
||||||
|
stepper.moveTo(500);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
// If at the end of travel go to the other end
|
||||||
|
if (stepper.distanceToGo() == 0)
|
||||||
|
stepper.moveTo(-stepper.currentPosition());
|
||||||
|
|
||||||
|
stepper.run();
|
||||||
|
}
|
|
@ -0,0 +1,23 @@
|
||||||
|
// ConstantSpeed.pde
|
||||||
|
// -*- mode: C++ -*-
|
||||||
|
//
|
||||||
|
// Shows how to run AccelStepper in the simplest,
|
||||||
|
// fixed speed mode with no accelerations
|
||||||
|
/// \author Mike McCauley (mikem@airspayce.com)
|
||||||
|
// Copyright (C) 2009 Mike McCauley
|
||||||
|
// $Id: ConstantSpeed.pde,v 1.1 2011/01/05 01:51:01 mikem Exp mikem $
|
||||||
|
|
||||||
|
#include <AccelStepper.h>
|
||||||
|
|
||||||
|
AccelStepper stepper; // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
stepper.setMaxSpeed(1000);
|
||||||
|
stepper.setSpeed(50);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
stepper.runSpeed();
|
||||||
|
}
|
|
@ -0,0 +1,103 @@
|
||||||
|
// AFMotor_ConstantSpeed.pde
|
||||||
|
// -*- mode: C++ -*-
|
||||||
|
//
|
||||||
|
// Shows how to use AccelStepper to control a 3-phase motor, such as a HDD spindle motor
|
||||||
|
// using the Adafruit Motor Shield
|
||||||
|
// http://www.ladyada.net/make/mshield/index.html.
|
||||||
|
// Create a subclass of AccelStepper which controls the motor pins via the
|
||||||
|
// Motor Shield serial-to-parallel interface
|
||||||
|
|
||||||
|
#include <AccelStepper.h>
|
||||||
|
|
||||||
|
// Arduino pin names for interface to 74HCT595 latch
|
||||||
|
// on Adafruit Motor Shield
|
||||||
|
#define MOTORLATCH 12
|
||||||
|
#define MOTORCLK 4
|
||||||
|
#define MOTORENABLE 7
|
||||||
|
#define MOTORDATA 8
|
||||||
|
|
||||||
|
// PWM pins, also used to enable motor outputs
|
||||||
|
#define PWM0A 5
|
||||||
|
#define PWM0B 6
|
||||||
|
#define PWM1A 9
|
||||||
|
#define PWM1B 10
|
||||||
|
#define PWM2A 11
|
||||||
|
#define PWM2B 3
|
||||||
|
|
||||||
|
|
||||||
|
// The main purpose of this class is to override setOutputPins to work with Adafruit Motor Shield
|
||||||
|
class AFMotorShield : public AccelStepper
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
AFMotorShield(uint8_t interface = AccelStepper::FULL4WIRE, uint8_t pin1 = 2, uint8_t pin2 = 3, uint8_t pin3 = 4, uint8_t pin4 = 5);
|
||||||
|
|
||||||
|
virtual void setOutputPins(uint8_t mask);
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
AFMotorShield::AFMotorShield(uint8_t interface, uint8_t pin1, uint8_t pin2, uint8_t pin3, uint8_t pin4)
|
||||||
|
: AccelStepper(interface, pin1, pin2, pin3, pin4)
|
||||||
|
{
|
||||||
|
// Enable motor control serial to parallel latch
|
||||||
|
pinMode(MOTORLATCH, OUTPUT);
|
||||||
|
pinMode(MOTORENABLE, OUTPUT);
|
||||||
|
pinMode(MOTORDATA, OUTPUT);
|
||||||
|
pinMode(MOTORCLK, OUTPUT);
|
||||||
|
digitalWrite(MOTORENABLE, LOW);
|
||||||
|
|
||||||
|
// enable both H bridges on motor 1
|
||||||
|
pinMode(PWM2A, OUTPUT);
|
||||||
|
pinMode(PWM2B, OUTPUT);
|
||||||
|
pinMode(PWM0A, OUTPUT);
|
||||||
|
pinMode(PWM0B, OUTPUT);
|
||||||
|
digitalWrite(PWM2A, HIGH);
|
||||||
|
digitalWrite(PWM2B, HIGH);
|
||||||
|
digitalWrite(PWM0A, HIGH);
|
||||||
|
digitalWrite(PWM0B, HIGH);
|
||||||
|
|
||||||
|
setOutputPins(0); // Reset
|
||||||
|
};
|
||||||
|
|
||||||
|
// Use the AF Motor Shield serial-to-parallel to set the state of the motor pins
|
||||||
|
// Caution: the mapping of AccelStepper pins to AF motor outputs is not
|
||||||
|
// obvious:
|
||||||
|
// AccelStepper Motor Shield output
|
||||||
|
// pin1 M4A
|
||||||
|
// pin2 M1A
|
||||||
|
// pin3 M2A
|
||||||
|
// pin4 M3A
|
||||||
|
// Caution this is pretty slow and limits the max speed of the motor to about 500/3 rpm
|
||||||
|
void AFMotorShield::setOutputPins(uint8_t mask)
|
||||||
|
{
|
||||||
|
uint8_t i;
|
||||||
|
|
||||||
|
digitalWrite(MOTORLATCH, LOW);
|
||||||
|
digitalWrite(MOTORDATA, LOW);
|
||||||
|
|
||||||
|
for (i=0; i<8; i++)
|
||||||
|
{
|
||||||
|
digitalWrite(MOTORCLK, LOW);
|
||||||
|
|
||||||
|
if (mask & _BV(7-i))
|
||||||
|
digitalWrite(MOTORDATA, HIGH);
|
||||||
|
else
|
||||||
|
digitalWrite(MOTORDATA, LOW);
|
||||||
|
|
||||||
|
digitalWrite(MOTORCLK, HIGH);
|
||||||
|
}
|
||||||
|
digitalWrite(MOTORLATCH, HIGH);
|
||||||
|
}
|
||||||
|
|
||||||
|
AFMotorShield stepper(AccelStepper::HALF3WIRE, 0, 0, 0, 0); // 3 phase HDD spindle drive
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
stepper.setMaxSpeed(500); // divide by 3 to get rpm
|
||||||
|
stepper.setAcceleration(80);
|
||||||
|
stepper.moveTo(10000000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
stepper.run();
|
||||||
|
}
|
|
@ -0,0 +1,41 @@
|
||||||
|
// MultiStepper.pde
|
||||||
|
// -*- mode: C++ -*-
|
||||||
|
//
|
||||||
|
// Shows how to multiple simultaneous steppers
|
||||||
|
// Runs one stepper forwards and backwards, accelerating and decelerating
|
||||||
|
// at the limits. Runs other steppers at the same time
|
||||||
|
//
|
||||||
|
// Copyright (C) 2009 Mike McCauley
|
||||||
|
// $Id: MultiStepper.pde,v 1.1 2011/01/05 01:51:01 mikem Exp mikem $
|
||||||
|
|
||||||
|
#include <AccelStepper.h>
|
||||||
|
|
||||||
|
// Define some steppers and the pins the will use
|
||||||
|
AccelStepper stepper1; // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5
|
||||||
|
AccelStepper stepper2(AccelStepper::FULL4WIRE, 6, 7, 8, 9);
|
||||||
|
AccelStepper stepper3(AccelStepper::FULL2WIRE, 10, 11);
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
stepper1.setMaxSpeed(200.0);
|
||||||
|
stepper1.setAcceleration(100.0);
|
||||||
|
stepper1.moveTo(24);
|
||||||
|
|
||||||
|
stepper2.setMaxSpeed(300.0);
|
||||||
|
stepper2.setAcceleration(100.0);
|
||||||
|
stepper2.moveTo(1000000);
|
||||||
|
|
||||||
|
stepper3.setMaxSpeed(300.0);
|
||||||
|
stepper3.setAcceleration(100.0);
|
||||||
|
stepper3.moveTo(1000000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
// Change direction at the limits
|
||||||
|
if (stepper1.distanceToGo() == 0)
|
||||||
|
stepper1.moveTo(-stepper1.currentPosition());
|
||||||
|
stepper1.run();
|
||||||
|
stepper2.run();
|
||||||
|
stepper3.run();
|
||||||
|
}
|
|
@ -0,0 +1,28 @@
|
||||||
|
// Overshoot.pde
|
||||||
|
// -*- mode: C++ -*-
|
||||||
|
//
|
||||||
|
// Check overshoot handling
|
||||||
|
// which sets a new target position and then waits until the stepper has
|
||||||
|
// achieved it. This is used for testing the handling of overshoots
|
||||||
|
//
|
||||||
|
// Copyright (C) 2009 Mike McCauley
|
||||||
|
// $Id: Overshoot.pde,v 1.1 2011/01/05 01:51:01 mikem Exp mikem $
|
||||||
|
|
||||||
|
#include <AccelStepper.h>
|
||||||
|
|
||||||
|
// Define a stepper and the pins it will use
|
||||||
|
AccelStepper stepper; // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
stepper.setMaxSpeed(150);
|
||||||
|
stepper.setAcceleration(100);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
stepper.moveTo(500);
|
||||||
|
while (stepper.currentPosition() != 300) // Full speed up to 300
|
||||||
|
stepper.run();
|
||||||
|
stepper.runToNewPosition(0); // Cause an overshoot then back to 0
|
||||||
|
}
|
|
@ -0,0 +1,32 @@
|
||||||
|
// ProportionalControl.pde
|
||||||
|
// -*- mode: C++ -*-
|
||||||
|
//
|
||||||
|
// Make a single stepper follow the analog value read from a pot or whatever
|
||||||
|
// The stepper will move at a constant speed to each newly set posiiton,
|
||||||
|
// depending on the value of the pot.
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Mike McCauley
|
||||||
|
// $Id: ProportionalControl.pde,v 1.1 2011/01/05 01:51:01 mikem Exp mikem $
|
||||||
|
|
||||||
|
#include <AccelStepper.h>
|
||||||
|
|
||||||
|
// Define a stepper and the pins it will use
|
||||||
|
AccelStepper stepper; // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5
|
||||||
|
|
||||||
|
// This defines the analog input pin for reading the control voltage
|
||||||
|
// Tested with a 10k linear pot between 5v and GND
|
||||||
|
#define ANALOG_IN A0
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
stepper.setMaxSpeed(1000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
// Read new position
|
||||||
|
int analog_in = analogRead(ANALOG_IN);
|
||||||
|
stepper.moveTo(analog_in);
|
||||||
|
stepper.setSpeed(100);
|
||||||
|
stepper.runSpeedToPosition();
|
||||||
|
}
|
|
@ -0,0 +1,40 @@
|
||||||
|
// Quickstop.pde
|
||||||
|
// -*- mode: C++ -*-
|
||||||
|
//
|
||||||
|
// Check stop handling.
|
||||||
|
// Calls stop() while the stepper is travelling at full speed, causing
|
||||||
|
// the stepper to stop as quickly as possible, within the constraints of the
|
||||||
|
// current acceleration.
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Mike McCauley
|
||||||
|
// $Id: $
|
||||||
|
|
||||||
|
#include <AccelStepper.h>
|
||||||
|
|
||||||
|
// Define a stepper and the pins it will use
|
||||||
|
AccelStepper stepper; // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
stepper.setMaxSpeed(150);
|
||||||
|
stepper.setAcceleration(100);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
stepper.moveTo(500);
|
||||||
|
while (stepper.currentPosition() != 300) // Full speed up to 300
|
||||||
|
stepper.run();
|
||||||
|
stepper.stop(); // Stop as fast as possible: sets new target
|
||||||
|
stepper.runToPosition();
|
||||||
|
// Now stopped after quickstop
|
||||||
|
|
||||||
|
// Now go backwards
|
||||||
|
stepper.moveTo(-500);
|
||||||
|
while (stepper.currentPosition() != 0) // Full speed basck to 0
|
||||||
|
stepper.run();
|
||||||
|
stepper.stop(); // Stop as fast as possible: sets new target
|
||||||
|
stepper.runToPosition();
|
||||||
|
// Now stopped after quickstop
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,30 @@
|
||||||
|
// Random.pde
|
||||||
|
// -*- mode: C++ -*-
|
||||||
|
//
|
||||||
|
// Make a single stepper perform random changes in speed, position and acceleration
|
||||||
|
//
|
||||||
|
// Copyright (C) 2009 Mike McCauley
|
||||||
|
// $Id: Random.pde,v 1.1 2011/01/05 01:51:01 mikem Exp mikem $
|
||||||
|
|
||||||
|
#include <AccelStepper.h>
|
||||||
|
|
||||||
|
// Define a stepper and the pins it will use
|
||||||
|
AccelStepper stepper; // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
if (stepper.distanceToGo() == 0)
|
||||||
|
{
|
||||||
|
// Random change to speed, position and acceleration
|
||||||
|
// Make sure we dont get 0 speed or accelerations
|
||||||
|
delay(1000);
|
||||||
|
stepper.moveTo(rand() % 200);
|
||||||
|
stepper.setMaxSpeed((rand() % 200) + 1);
|
||||||
|
stepper.setAcceleration((rand() % 200) + 1);
|
||||||
|
}
|
||||||
|
stepper.run();
|
||||||
|
}
|
|
@ -0,0 +1,37 @@
|
||||||
|
#######################################
|
||||||
|
# Syntax Coloring Map For AccelStepper
|
||||||
|
#######################################
|
||||||
|
|
||||||
|
#######################################
|
||||||
|
# Datatypes (KEYWORD1)
|
||||||
|
#######################################
|
||||||
|
|
||||||
|
AccelStepper KEYWORD1
|
||||||
|
|
||||||
|
#######################################
|
||||||
|
# Methods and Functions (KEYWORD2)
|
||||||
|
#######################################
|
||||||
|
|
||||||
|
moveTo KEYWORD2
|
||||||
|
move KEYWORD2
|
||||||
|
run KEYWORD2
|
||||||
|
runSpeed KEYWORD2
|
||||||
|
setMaxSpeed KEYWORD2
|
||||||
|
setAcceleration KEYWORD2
|
||||||
|
setSpeed KEYWORD2
|
||||||
|
speed KEYWORD2
|
||||||
|
distanceToGo KEYWORD2
|
||||||
|
targetPosition KEYWORD2
|
||||||
|
currentPosition KEYWORD2
|
||||||
|
steCurrentPosition KEYWORD2
|
||||||
|
runToPosition KEYWORD2
|
||||||
|
runSpeedToPosition KEYWORD2
|
||||||
|
runToNewPosition KEYWORD2
|
||||||
|
disableOutputs KEYWORD2
|
||||||
|
enableOutputs KEYWORD2
|
||||||
|
setMinPulseWidth KEYWORD2
|
||||||
|
|
||||||
|
#######################################
|
||||||
|
# Constants (LITERAL1)
|
||||||
|
#######################################
|
||||||
|
|
|
@ -0,0 +1,290 @@
|
||||||
|
# Doxyfile 1.8.2
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Project related configuration options
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
DOXYFILE_ENCODING = UTF-8
|
||||||
|
PROJECT_NAME = AccelStepper
|
||||||
|
PROJECT_NUMBER =
|
||||||
|
PROJECT_BRIEF =
|
||||||
|
PROJECT_LOGO =
|
||||||
|
OUTPUT_DIRECTORY =
|
||||||
|
CREATE_SUBDIRS = NO
|
||||||
|
OUTPUT_LANGUAGE = English
|
||||||
|
BRIEF_MEMBER_DESC = YES
|
||||||
|
REPEAT_BRIEF = YES
|
||||||
|
ABBREVIATE_BRIEF =
|
||||||
|
ALWAYS_DETAILED_SEC = NO
|
||||||
|
INLINE_INHERITED_MEMB = NO
|
||||||
|
FULL_PATH_NAMES = YES
|
||||||
|
STRIP_FROM_PATH =
|
||||||
|
STRIP_FROM_INC_PATH =
|
||||||
|
SHORT_NAMES = NO
|
||||||
|
JAVADOC_AUTOBRIEF = NO
|
||||||
|
QT_AUTOBRIEF = NO
|
||||||
|
MULTILINE_CPP_IS_BRIEF = NO
|
||||||
|
INHERIT_DOCS = YES
|
||||||
|
SEPARATE_MEMBER_PAGES = NO
|
||||||
|
TAB_SIZE = 8
|
||||||
|
ALIASES =
|
||||||
|
TCL_SUBST =
|
||||||
|
OPTIMIZE_OUTPUT_FOR_C = NO
|
||||||
|
OPTIMIZE_OUTPUT_JAVA = NO
|
||||||
|
OPTIMIZE_FOR_FORTRAN = NO
|
||||||
|
OPTIMIZE_OUTPUT_VHDL = NO
|
||||||
|
EXTENSION_MAPPING =
|
||||||
|
MARKDOWN_SUPPORT = YES
|
||||||
|
AUTOLINK_SUPPORT = YES
|
||||||
|
BUILTIN_STL_SUPPORT = NO
|
||||||
|
CPP_CLI_SUPPORT = NO
|
||||||
|
SIP_SUPPORT = NO
|
||||||
|
IDL_PROPERTY_SUPPORT = YES
|
||||||
|
DISTRIBUTE_GROUP_DOC = NO
|
||||||
|
SUBGROUPING = YES
|
||||||
|
INLINE_GROUPED_CLASSES = NO
|
||||||
|
INLINE_SIMPLE_STRUCTS = NO
|
||||||
|
TYPEDEF_HIDES_STRUCT = NO
|
||||||
|
SYMBOL_CACHE_SIZE = 0
|
||||||
|
LOOKUP_CACHE_SIZE = 0
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Build related configuration options
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
EXTRACT_ALL = NO
|
||||||
|
EXTRACT_PRIVATE = NO
|
||||||
|
EXTRACT_PACKAGE = NO
|
||||||
|
EXTRACT_STATIC = NO
|
||||||
|
EXTRACT_LOCAL_CLASSES = YES
|
||||||
|
EXTRACT_LOCAL_METHODS = NO
|
||||||
|
EXTRACT_ANON_NSPACES = NO
|
||||||
|
HIDE_UNDOC_MEMBERS = NO
|
||||||
|
HIDE_UNDOC_CLASSES = NO
|
||||||
|
HIDE_FRIEND_COMPOUNDS = NO
|
||||||
|
HIDE_IN_BODY_DOCS = NO
|
||||||
|
INTERNAL_DOCS = NO
|
||||||
|
CASE_SENSE_NAMES = YES
|
||||||
|
HIDE_SCOPE_NAMES = NO
|
||||||
|
SHOW_INCLUDE_FILES = YES
|
||||||
|
FORCE_LOCAL_INCLUDES = NO
|
||||||
|
INLINE_INFO = YES
|
||||||
|
SORT_MEMBER_DOCS = YES
|
||||||
|
SORT_BRIEF_DOCS = NO
|
||||||
|
SORT_MEMBERS_CTORS_1ST = NO
|
||||||
|
SORT_GROUP_NAMES = NO
|
||||||
|
SORT_BY_SCOPE_NAME = NO
|
||||||
|
STRICT_PROTO_MATCHING = NO
|
||||||
|
GENERATE_TODOLIST = YES
|
||||||
|
GENERATE_TESTLIST = YES
|
||||||
|
GENERATE_BUGLIST = YES
|
||||||
|
GENERATE_DEPRECATEDLIST= YES
|
||||||
|
ENABLED_SECTIONS =
|
||||||
|
MAX_INITIALIZER_LINES = 30
|
||||||
|
SHOW_USED_FILES = YES
|
||||||
|
SHOW_FILES = YES
|
||||||
|
SHOW_NAMESPACES = YES
|
||||||
|
FILE_VERSION_FILTER =
|
||||||
|
LAYOUT_FILE =
|
||||||
|
CITE_BIB_FILES =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to warning and progress messages
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
QUIET = NO
|
||||||
|
WARNINGS = YES
|
||||||
|
WARN_IF_UNDOCUMENTED = YES
|
||||||
|
WARN_IF_DOC_ERROR = YES
|
||||||
|
WARN_NO_PARAMDOC = NO
|
||||||
|
WARN_FORMAT = "$file:$line: $text"
|
||||||
|
WARN_LOGFILE =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the input files
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
INPUT =
|
||||||
|
INPUT_ENCODING = UTF-8
|
||||||
|
FILE_PATTERNS =
|
||||||
|
RECURSIVE = NO
|
||||||
|
EXCLUDE =
|
||||||
|
EXCLUDE_SYMLINKS = NO
|
||||||
|
EXCLUDE_PATTERNS =
|
||||||
|
EXCLUDE_SYMBOLS =
|
||||||
|
EXAMPLE_PATH = examples
|
||||||
|
EXAMPLE_PATTERNS =
|
||||||
|
EXAMPLE_RECURSIVE = YES
|
||||||
|
IMAGE_PATH =
|
||||||
|
INPUT_FILTER =
|
||||||
|
FILTER_PATTERNS =
|
||||||
|
FILTER_SOURCE_FILES = NO
|
||||||
|
FILTER_SOURCE_PATTERNS =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to source browsing
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
SOURCE_BROWSER = NO
|
||||||
|
INLINE_SOURCES = NO
|
||||||
|
STRIP_CODE_COMMENTS = NO
|
||||||
|
REFERENCED_BY_RELATION = YES
|
||||||
|
REFERENCES_RELATION = YES
|
||||||
|
REFERENCES_LINK_SOURCE = YES
|
||||||
|
USE_HTAGS = NO
|
||||||
|
VERBATIM_HEADERS = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the alphabetical class index
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
ALPHABETICAL_INDEX = NO
|
||||||
|
COLS_IN_ALPHA_INDEX = 5
|
||||||
|
IGNORE_PREFIX =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the HTML output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_HTML = YES
|
||||||
|
HTML_OUTPUT = doc
|
||||||
|
HTML_FILE_EXTENSION = .html
|
||||||
|
HTML_HEADER =
|
||||||
|
HTML_FOOTER =
|
||||||
|
HTML_STYLESHEET =
|
||||||
|
HTML_EXTRA_STYLESHEET =
|
||||||
|
HTML_EXTRA_FILES =
|
||||||
|
HTML_COLORSTYLE_HUE = 220
|
||||||
|
HTML_COLORSTYLE_SAT = 100
|
||||||
|
HTML_COLORSTYLE_GAMMA = 80
|
||||||
|
HTML_TIMESTAMP = NO
|
||||||
|
HTML_DYNAMIC_SECTIONS = NO
|
||||||
|
HTML_INDEX_NUM_ENTRIES = 100
|
||||||
|
GENERATE_DOCSET = NO
|
||||||
|
DOCSET_FEEDNAME = "Doxygen generated docs"
|
||||||
|
DOCSET_BUNDLE_ID = org.doxygen.Project
|
||||||
|
DOCSET_PUBLISHER_ID = org.doxygen.Publisher
|
||||||
|
DOCSET_PUBLISHER_NAME = Publisher
|
||||||
|
GENERATE_HTMLHELP = NO
|
||||||
|
CHM_FILE =
|
||||||
|
HHC_LOCATION =
|
||||||
|
GENERATE_CHI = NO
|
||||||
|
CHM_INDEX_ENCODING =
|
||||||
|
BINARY_TOC = NO
|
||||||
|
TOC_EXPAND = NO
|
||||||
|
GENERATE_QHP = NO
|
||||||
|
QCH_FILE =
|
||||||
|
QHP_NAMESPACE = org.doxygen.Project
|
||||||
|
QHP_VIRTUAL_FOLDER = doc
|
||||||
|
QHP_CUST_FILTER_NAME =
|
||||||
|
QHP_CUST_FILTER_ATTRS =
|
||||||
|
QHP_SECT_FILTER_ATTRS =
|
||||||
|
QHG_LOCATION =
|
||||||
|
GENERATE_ECLIPSEHELP = NO
|
||||||
|
ECLIPSE_DOC_ID = org.doxygen.Project
|
||||||
|
DISABLE_INDEX = NO
|
||||||
|
GENERATE_TREEVIEW = NO
|
||||||
|
ENUM_VALUES_PER_LINE = 4
|
||||||
|
TREEVIEW_WIDTH = 250
|
||||||
|
EXT_LINKS_IN_WINDOW = NO
|
||||||
|
FORMULA_FONTSIZE = 10
|
||||||
|
FORMULA_TRANSPARENT = YES
|
||||||
|
USE_MATHJAX = NO
|
||||||
|
MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
|
||||||
|
MATHJAX_EXTENSIONS =
|
||||||
|
SEARCHENGINE = NO
|
||||||
|
SERVER_BASED_SEARCH = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the LaTeX output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_LATEX = NO
|
||||||
|
LATEX_OUTPUT = latex
|
||||||
|
LATEX_CMD_NAME = latex
|
||||||
|
MAKEINDEX_CMD_NAME = makeindex
|
||||||
|
COMPACT_LATEX = NO
|
||||||
|
PAPER_TYPE = a4wide
|
||||||
|
EXTRA_PACKAGES =
|
||||||
|
LATEX_HEADER =
|
||||||
|
LATEX_FOOTER =
|
||||||
|
PDF_HYPERLINKS = NO
|
||||||
|
USE_PDFLATEX = NO
|
||||||
|
LATEX_BATCHMODE = NO
|
||||||
|
LATEX_HIDE_INDICES = NO
|
||||||
|
LATEX_SOURCE_CODE = NO
|
||||||
|
LATEX_BIB_STYLE = plain
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the RTF output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_RTF = NO
|
||||||
|
RTF_OUTPUT = rtf
|
||||||
|
COMPACT_RTF = NO
|
||||||
|
RTF_HYPERLINKS = NO
|
||||||
|
RTF_STYLESHEET_FILE =
|
||||||
|
RTF_EXTENSIONS_FILE =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the man page output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_MAN = NO
|
||||||
|
MAN_OUTPUT = man
|
||||||
|
MAN_EXTENSION = .3
|
||||||
|
MAN_LINKS = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the XML output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_XML = NO
|
||||||
|
XML_OUTPUT = xml
|
||||||
|
XML_SCHEMA =
|
||||||
|
XML_DTD =
|
||||||
|
XML_PROGRAMLISTING = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options for the AutoGen Definitions output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_AUTOGEN_DEF = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the Perl module output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_PERLMOD = NO
|
||||||
|
PERLMOD_LATEX = NO
|
||||||
|
PERLMOD_PRETTY = YES
|
||||||
|
PERLMOD_MAKEVAR_PREFIX =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the preprocessor
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
ENABLE_PREPROCESSING = YES
|
||||||
|
MACRO_EXPANSION = NO
|
||||||
|
EXPAND_ONLY_PREDEF = NO
|
||||||
|
SEARCH_INCLUDES = YES
|
||||||
|
INCLUDE_PATH =
|
||||||
|
INCLUDE_FILE_PATTERNS =
|
||||||
|
PREDEFINED =
|
||||||
|
EXPAND_AS_DEFINED =
|
||||||
|
SKIP_FUNCTION_MACROS = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration::additions related to external references
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
TAGFILES =
|
||||||
|
GENERATE_TAGFILE =
|
||||||
|
ALLEXTERNALS = NO
|
||||||
|
EXTERNAL_GROUPS = YES
|
||||||
|
PERL_PATH = /usr/bin/perl
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the dot tool
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
CLASS_DIAGRAMS = YES
|
||||||
|
MSCGEN_PATH =
|
||||||
|
HIDE_UNDOC_RELATIONS = YES
|
||||||
|
HAVE_DOT = NO
|
||||||
|
DOT_NUM_THREADS = 0
|
||||||
|
DOT_FONTNAME = Helvetica
|
||||||
|
DOT_FONTSIZE = 10
|
||||||
|
DOT_FONTPATH =
|
||||||
|
CLASS_GRAPH = YES
|
||||||
|
COLLABORATION_GRAPH = YES
|
||||||
|
GROUP_GRAPHS = YES
|
||||||
|
UML_LOOK = NO
|
||||||
|
UML_LIMIT_NUM_FIELDS = 10
|
||||||
|
TEMPLATE_RELATIONS = NO
|
||||||
|
INCLUDE_GRAPH = YES
|
||||||
|
INCLUDED_BY_GRAPH = YES
|
||||||
|
CALL_GRAPH = NO
|
||||||
|
CALLER_GRAPH = NO
|
||||||
|
GRAPHICAL_HIERARCHY = YES
|
||||||
|
DIRECTORY_GRAPH = YES
|
||||||
|
DOT_IMAGE_FORMAT = png
|
||||||
|
INTERACTIVE_SVG = NO
|
||||||
|
DOT_PATH =
|
||||||
|
DOTFILE_DIRS =
|
||||||
|
MSCFILE_DIRS =
|
||||||
|
DOT_GRAPH_MAX_NODES = 50
|
||||||
|
MAX_DOT_GRAPH_DEPTH = 0
|
||||||
|
DOT_TRANSPARENT = NO
|
||||||
|
DOT_MULTI_TARGETS = NO
|
||||||
|
GENERATE_LEGEND = YES
|
||||||
|
DOT_CLEANUP = YES
|
|
@ -0,0 +1,413 @@
|
||||||
|
/******************************************************************
|
||||||
|
This is the library for the Adafruit Motor Shield V2 for Arduino.
|
||||||
|
It supports DC motors & Stepper motors with microstepping as well
|
||||||
|
as stacking-support. It is *not* compatible with the V1 library!
|
||||||
|
|
||||||
|
It will only work with https://www.adafruit.com/products/1483
|
||||||
|
|
||||||
|
Adafruit invests time and resources providing this open
|
||||||
|
source code, please support Adafruit and open-source hardware
|
||||||
|
by purchasing products from Adafruit!
|
||||||
|
|
||||||
|
Written by Limor Fried/Ladyada for Adafruit Industries.
|
||||||
|
BSD license, check license.txt for more information.
|
||||||
|
All text above must be included in any redistribution.
|
||||||
|
******************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
#if (ARDUINO >= 100)
|
||||||
|
#include "Arduino.h"
|
||||||
|
#else
|
||||||
|
#include "WProgram.h"
|
||||||
|
#endif
|
||||||
|
#include <Wire.h>
|
||||||
|
#include "Adafruit_MotorShield.h"
|
||||||
|
#include <Adafruit_PWMServoDriver.h>
|
||||||
|
#ifdef __AVR__
|
||||||
|
#define WIRE Wire
|
||||||
|
#else // Arduino Due
|
||||||
|
#define WIRE Wire1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#if (MICROSTEPS == 8)
|
||||||
|
uint8_t microstepcurve[] = {0, 50, 98, 142, 180, 212, 236, 250, 255};
|
||||||
|
#elif (MICROSTEPS == 16)
|
||||||
|
uint8_t microstepcurve[] = {0, 25, 50, 74, 98, 120, 141, 162, 180, 197, 212, 225, 236, 244, 250, 253, 255};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
Adafruit_MotorShield::Adafruit_MotorShield(uint8_t addr) {
|
||||||
|
_addr = addr;
|
||||||
|
_pwm = Adafruit_PWMServoDriver(_addr);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Adafruit_MotorShield::begin(uint16_t freq) {
|
||||||
|
// init PWM w/_freq
|
||||||
|
WIRE.begin();
|
||||||
|
_pwm.begin();
|
||||||
|
_freq = freq;
|
||||||
|
_pwm.setPWMFreq(_freq); // This is the maximum PWM frequency
|
||||||
|
for (uint8_t i=0; i<16; i++)
|
||||||
|
_pwm.setPWM(i, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Adafruit_MotorShield::setPWM(uint8_t pin, uint16_t value) {
|
||||||
|
if (value > 4095) {
|
||||||
|
_pwm.setPWM(pin, 4096, 0);
|
||||||
|
} else
|
||||||
|
_pwm.setPWM(pin, 0, value);
|
||||||
|
}
|
||||||
|
void Adafruit_MotorShield::setPin(uint8_t pin, boolean value) {
|
||||||
|
if (value == LOW)
|
||||||
|
_pwm.setPWM(pin, 0, 0);
|
||||||
|
else
|
||||||
|
_pwm.setPWM(pin, 4096, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
Adafruit_DCMotor *Adafruit_MotorShield::getMotor(uint8_t num) {
|
||||||
|
if (num > 4) return NULL;
|
||||||
|
|
||||||
|
num--;
|
||||||
|
|
||||||
|
if (dcmotors[num].motornum == 0) {
|
||||||
|
// not init'd yet!
|
||||||
|
dcmotors[num].motornum = num;
|
||||||
|
dcmotors[num].MC = this;
|
||||||
|
uint8_t pwm, in1, in2;
|
||||||
|
if (num == 0) {
|
||||||
|
pwm = 8; in2 = 9; in1 = 10;
|
||||||
|
} else if (num == 1) {
|
||||||
|
pwm = 13; in2 = 12; in1 = 11;
|
||||||
|
} else if (num == 2) {
|
||||||
|
pwm = 2; in2 = 3; in1 = 4;
|
||||||
|
} else if (num == 3) {
|
||||||
|
pwm = 7; in2 = 6; in1 = 5;
|
||||||
|
}
|
||||||
|
dcmotors[num].PWMpin = pwm;
|
||||||
|
dcmotors[num].IN1pin = in1;
|
||||||
|
dcmotors[num].IN2pin = in2;
|
||||||
|
}
|
||||||
|
return &dcmotors[num];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Adafruit_StepperMotor *Adafruit_MotorShield::getStepper(uint16_t steps, uint8_t num) {
|
||||||
|
if (num > 2) return NULL;
|
||||||
|
|
||||||
|
num--;
|
||||||
|
|
||||||
|
if (steppers[num].steppernum == 0) {
|
||||||
|
// not init'd yet!
|
||||||
|
steppers[num].steppernum = num;
|
||||||
|
steppers[num].revsteps = steps;
|
||||||
|
steppers[num].MC = this;
|
||||||
|
uint8_t pwma, pwmb, ain1, ain2, bin1, bin2;
|
||||||
|
if (num == 0) {
|
||||||
|
pwma = 8; ain2 = 9; ain1 = 10;
|
||||||
|
pwmb = 13; bin2 = 12; bin1 = 11;
|
||||||
|
} else if (num == 1) {
|
||||||
|
pwma = 2; ain2 = 3; ain1 = 4;
|
||||||
|
pwmb = 7; bin2 = 6; bin1 = 5;
|
||||||
|
}
|
||||||
|
steppers[num].PWMApin = pwma;
|
||||||
|
steppers[num].PWMBpin = pwmb;
|
||||||
|
steppers[num].AIN1pin = ain1;
|
||||||
|
steppers[num].AIN2pin = ain2;
|
||||||
|
steppers[num].BIN1pin = bin1;
|
||||||
|
steppers[num].BIN2pin = bin2;
|
||||||
|
}
|
||||||
|
return &steppers[num];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/******************************************
|
||||||
|
MOTORS
|
||||||
|
******************************************/
|
||||||
|
|
||||||
|
Adafruit_DCMotor::Adafruit_DCMotor(void) {
|
||||||
|
MC = NULL;
|
||||||
|
motornum = 0;
|
||||||
|
PWMpin = IN1pin = IN2pin = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Adafruit_DCMotor::run(uint8_t cmd) {
|
||||||
|
switch (cmd) {
|
||||||
|
case FORWARD:
|
||||||
|
MC->setPin(IN2pin, LOW); // take low first to avoid 'break'
|
||||||
|
MC->setPin(IN1pin, HIGH);
|
||||||
|
break;
|
||||||
|
case BACKWARD:
|
||||||
|
MC->setPin(IN1pin, LOW); // take low first to avoid 'break'
|
||||||
|
MC->setPin(IN2pin, HIGH);
|
||||||
|
break;
|
||||||
|
case RELEASE:
|
||||||
|
MC->setPin(IN1pin, LOW);
|
||||||
|
MC->setPin(IN2pin, LOW);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void Adafruit_DCMotor::setSpeed(uint8_t speed) {
|
||||||
|
MC->setPWM(PWMpin, speed*16);
|
||||||
|
}
|
||||||
|
|
||||||
|
/******************************************
|
||||||
|
STEPPERS
|
||||||
|
******************************************/
|
||||||
|
|
||||||
|
Adafruit_StepperMotor::Adafruit_StepperMotor(void) {
|
||||||
|
revsteps = steppernum = currentstep = 0;
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
|
||||||
|
uint16_t steps, Adafruit_MotorShield controller) {
|
||||||
|
|
||||||
|
revsteps = steps;
|
||||||
|
steppernum = 1;
|
||||||
|
currentstep = 0;
|
||||||
|
|
||||||
|
if (steppernum == 1) {
|
||||||
|
latch_state &= ~_BV(MOTOR1_A) & ~_BV(MOTOR1_B) &
|
||||||
|
~_BV(MOTOR2_A) & ~_BV(MOTOR2_B); // all motor pins to 0
|
||||||
|
|
||||||
|
// enable both H bridges
|
||||||
|
pinMode(11, OUTPUT);
|
||||||
|
pinMode(3, OUTPUT);
|
||||||
|
digitalWrite(11, HIGH);
|
||||||
|
digitalWrite(3, HIGH);
|
||||||
|
|
||||||
|
// use PWM for microstepping support
|
||||||
|
MC->setPWM(1, 255);
|
||||||
|
MC->setPWM(2, 255);
|
||||||
|
|
||||||
|
} else if (steppernum == 2) {
|
||||||
|
latch_state &= ~_BV(MOTOR3_A) & ~_BV(MOTOR3_B) &
|
||||||
|
~_BV(MOTOR4_A) & ~_BV(MOTOR4_B); // all motor pins to 0
|
||||||
|
|
||||||
|
// enable both H bridges
|
||||||
|
pinMode(5, OUTPUT);
|
||||||
|
pinMode(6, OUTPUT);
|
||||||
|
digitalWrite(5, HIGH);
|
||||||
|
digitalWrite(6, HIGH);
|
||||||
|
|
||||||
|
// use PWM for microstepping support
|
||||||
|
// use PWM for microstepping support
|
||||||
|
MC->setPWM(3, 255);
|
||||||
|
MC->setPWM(4, 255);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
void Adafruit_StepperMotor::setSpeed(uint16_t rpm) {
|
||||||
|
//Serial.println("steps per rev: "); Serial.println(revsteps);
|
||||||
|
//Serial.println("RPM: "); Serial.println(rpm);
|
||||||
|
|
||||||
|
usperstep = 60000000 / ((uint32_t)revsteps * (uint32_t)rpm);
|
||||||
|
steppingcounter = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Adafruit_StepperMotor::release(void) {
|
||||||
|
MC->setPin(AIN1pin, LOW);
|
||||||
|
MC->setPin(AIN2pin, LOW);
|
||||||
|
MC->setPin(BIN1pin, LOW);
|
||||||
|
MC->setPin(BIN2pin, LOW);
|
||||||
|
MC->setPWM(PWMApin, 0);
|
||||||
|
MC->setPWM(PWMBpin, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Adafruit_StepperMotor::step(uint16_t steps, uint8_t dir, uint8_t style) {
|
||||||
|
uint32_t uspers = usperstep;
|
||||||
|
uint8_t ret = 0;
|
||||||
|
|
||||||
|
if (style == INTERLEAVE) {
|
||||||
|
uspers /= 2;
|
||||||
|
}
|
||||||
|
else if (style == MICROSTEP) {
|
||||||
|
uspers /= MICROSTEPS;
|
||||||
|
steps *= MICROSTEPS;
|
||||||
|
#ifdef MOTORDEBUG
|
||||||
|
Serial.print("steps = "); Serial.println(steps, DEC);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
while (steps--) {
|
||||||
|
//Serial.println("step!"); Serial.println(uspers);
|
||||||
|
ret = onestep(dir, style);
|
||||||
|
delay(uspers/1000); // in ms
|
||||||
|
steppingcounter += (uspers % 1000);
|
||||||
|
if (steppingcounter >= 1000) {
|
||||||
|
delay(1);
|
||||||
|
steppingcounter -= 1000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (style == MICROSTEP) {
|
||||||
|
while ((ret != 0) && (ret != MICROSTEPS)) {
|
||||||
|
ret = onestep(dir, style);
|
||||||
|
delay(uspers/1000); // in ms
|
||||||
|
steppingcounter += (uspers % 1000);
|
||||||
|
if (steppingcounter >= 1000) {
|
||||||
|
delay(1);
|
||||||
|
steppingcounter -= 1000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
uint8_t Adafruit_StepperMotor::onestep(uint8_t dir, uint8_t style) {
|
||||||
|
uint8_t a, b, c, d;
|
||||||
|
uint8_t ocrb, ocra;
|
||||||
|
|
||||||
|
ocra = ocrb = 255;
|
||||||
|
|
||||||
|
|
||||||
|
// next determine what sort of stepping procedure we're up to
|
||||||
|
if (style == SINGLE) {
|
||||||
|
if ((currentstep/(MICROSTEPS/2)) % 2) { // we're at an odd step, weird
|
||||||
|
if (dir == FORWARD) {
|
||||||
|
currentstep += MICROSTEPS/2;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
currentstep -= MICROSTEPS/2;
|
||||||
|
}
|
||||||
|
} else { // go to the next even step
|
||||||
|
if (dir == FORWARD) {
|
||||||
|
currentstep += MICROSTEPS;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
currentstep -= MICROSTEPS;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else if (style == DOUBLE) {
|
||||||
|
if (! (currentstep/(MICROSTEPS/2) % 2)) { // we're at an even step, weird
|
||||||
|
if (dir == FORWARD) {
|
||||||
|
currentstep += MICROSTEPS/2;
|
||||||
|
} else {
|
||||||
|
currentstep -= MICROSTEPS/2;
|
||||||
|
}
|
||||||
|
} else { // go to the next odd step
|
||||||
|
if (dir == FORWARD) {
|
||||||
|
currentstep += MICROSTEPS;
|
||||||
|
} else {
|
||||||
|
currentstep -= MICROSTEPS;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else if (style == INTERLEAVE) {
|
||||||
|
if (dir == FORWARD) {
|
||||||
|
currentstep += MICROSTEPS/2;
|
||||||
|
} else {
|
||||||
|
currentstep -= MICROSTEPS/2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (style == MICROSTEP) {
|
||||||
|
if (dir == FORWARD) {
|
||||||
|
currentstep++;
|
||||||
|
} else {
|
||||||
|
// BACKWARDS
|
||||||
|
currentstep--;
|
||||||
|
}
|
||||||
|
|
||||||
|
currentstep += MICROSTEPS*4;
|
||||||
|
currentstep %= MICROSTEPS*4;
|
||||||
|
|
||||||
|
ocra = ocrb = 0;
|
||||||
|
if ( (currentstep >= 0) && (currentstep < MICROSTEPS)) {
|
||||||
|
ocra = microstepcurve[MICROSTEPS - currentstep];
|
||||||
|
ocrb = microstepcurve[currentstep];
|
||||||
|
} else if ( (currentstep >= MICROSTEPS) && (currentstep < MICROSTEPS*2)) {
|
||||||
|
ocra = microstepcurve[currentstep - MICROSTEPS];
|
||||||
|
ocrb = microstepcurve[MICROSTEPS*2 - currentstep];
|
||||||
|
} else if ( (currentstep >= MICROSTEPS*2) && (currentstep < MICROSTEPS*3)) {
|
||||||
|
ocra = microstepcurve[MICROSTEPS*3 - currentstep];
|
||||||
|
ocrb = microstepcurve[currentstep - MICROSTEPS*2];
|
||||||
|
} else if ( (currentstep >= MICROSTEPS*3) && (currentstep < MICROSTEPS*4)) {
|
||||||
|
ocra = microstepcurve[currentstep - MICROSTEPS*3];
|
||||||
|
ocrb = microstepcurve[MICROSTEPS*4 - currentstep];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
currentstep += MICROSTEPS*4;
|
||||||
|
currentstep %= MICROSTEPS*4;
|
||||||
|
|
||||||
|
#ifdef MOTORDEBUG
|
||||||
|
Serial.print("current step: "); Serial.println(currentstep, DEC);
|
||||||
|
Serial.print(" pwmA = "); Serial.print(ocra, DEC);
|
||||||
|
Serial.print(" pwmB = "); Serial.println(ocrb, DEC);
|
||||||
|
#endif
|
||||||
|
MC->setPWM(PWMApin, ocra*16);
|
||||||
|
MC->setPWM(PWMBpin, ocrb*16);
|
||||||
|
|
||||||
|
|
||||||
|
// release all
|
||||||
|
uint8_t latch_state = 0; // all motor pins to 0
|
||||||
|
|
||||||
|
//Serial.println(step, DEC);
|
||||||
|
if (style == MICROSTEP) {
|
||||||
|
if ((currentstep >= 0) && (currentstep < MICROSTEPS))
|
||||||
|
latch_state |= 0x03;
|
||||||
|
if ((currentstep >= MICROSTEPS) && (currentstep < MICROSTEPS*2))
|
||||||
|
latch_state |= 0x06;
|
||||||
|
if ((currentstep >= MICROSTEPS*2) && (currentstep < MICROSTEPS*3))
|
||||||
|
latch_state |= 0x0C;
|
||||||
|
if ((currentstep >= MICROSTEPS*3) && (currentstep < MICROSTEPS*4))
|
||||||
|
latch_state |= 0x09;
|
||||||
|
} else {
|
||||||
|
switch (currentstep/(MICROSTEPS/2)) {
|
||||||
|
case 0:
|
||||||
|
latch_state |= 0x1; // energize coil 1 only
|
||||||
|
break;
|
||||||
|
case 1:
|
||||||
|
latch_state |= 0x3; // energize coil 1+2
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
latch_state |= 0x2; // energize coil 2 only
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
latch_state |= 0x6; // energize coil 2+3
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
latch_state |= 0x4; // energize coil 3 only
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
latch_state |= 0xC; // energize coil 3+4
|
||||||
|
break;
|
||||||
|
case 6:
|
||||||
|
latch_state |= 0x8; // energize coil 4 only
|
||||||
|
break;
|
||||||
|
case 7:
|
||||||
|
latch_state |= 0x9; // energize coil 1+4
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#ifdef MOTORDEBUG
|
||||||
|
Serial.print("Latch: 0x"); Serial.println(latch_state, HEX);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
if (latch_state & 0x1) {
|
||||||
|
// Serial.println(AIN2pin);
|
||||||
|
MC->setPin(AIN2pin, HIGH);
|
||||||
|
} else {
|
||||||
|
MC->setPin(AIN2pin, LOW);
|
||||||
|
}
|
||||||
|
if (latch_state & 0x2) {
|
||||||
|
MC->setPin(BIN1pin, HIGH);
|
||||||
|
// Serial.println(BIN1pin);
|
||||||
|
} else {
|
||||||
|
MC->setPin(BIN1pin, LOW);
|
||||||
|
}
|
||||||
|
if (latch_state & 0x4) {
|
||||||
|
MC->setPin(AIN1pin, HIGH);
|
||||||
|
// Serial.println(AIN1pin);
|
||||||
|
} else {
|
||||||
|
MC->setPin(AIN1pin, LOW);
|
||||||
|
}
|
||||||
|
if (latch_state & 0x8) {
|
||||||
|
MC->setPin(BIN2pin, HIGH);
|
||||||
|
// Serial.println(BIN2pin);
|
||||||
|
} else {
|
||||||
|
MC->setPin(BIN2pin, LOW);
|
||||||
|
}
|
||||||
|
|
||||||
|
return currentstep;
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,102 @@
|
||||||
|
/******************************************************************
|
||||||
|
This is the library for the Adafruit Motor Shield V2 for Arduino.
|
||||||
|
It supports DC motors & Stepper motors with microstepping as well
|
||||||
|
as stacking-support. It is *not* compatible with the V1 library!
|
||||||
|
|
||||||
|
It will only work with https://www.adafruit.com/products/1483
|
||||||
|
|
||||||
|
Adafruit invests time and resources providing this open
|
||||||
|
source code, please support Adafruit and open-source hardware
|
||||||
|
by purchasing products from Adafruit!
|
||||||
|
|
||||||
|
Written by Limor Fried/Ladyada for Adafruit Industries.
|
||||||
|
BSD license, check license.txt for more information.
|
||||||
|
All text above must be included in any redistribution.
|
||||||
|
******************************************************************/
|
||||||
|
|
||||||
|
#ifndef _Adafruit_MotorShield_h_
|
||||||
|
#define _Adafruit_MotorShield_h_
|
||||||
|
|
||||||
|
#include <inttypes.h>
|
||||||
|
#include <Wire.h>
|
||||||
|
#include "utility/Adafruit_PWMServoDriver.h"
|
||||||
|
|
||||||
|
//#define MOTORDEBUG
|
||||||
|
|
||||||
|
#define MICROSTEPS 16 // 8 or 16
|
||||||
|
|
||||||
|
#define MOTOR1_A 2
|
||||||
|
#define MOTOR1_B 3
|
||||||
|
#define MOTOR2_A 1
|
||||||
|
#define MOTOR2_B 4
|
||||||
|
#define MOTOR4_A 0
|
||||||
|
#define MOTOR4_B 6
|
||||||
|
#define MOTOR3_A 5
|
||||||
|
#define MOTOR3_B 7
|
||||||
|
|
||||||
|
#define FORWARD 1
|
||||||
|
#define BACKWARD 2
|
||||||
|
#define BRAKE 3
|
||||||
|
#define RELEASE 4
|
||||||
|
|
||||||
|
#define SINGLE 1
|
||||||
|
#define DOUBLE 2
|
||||||
|
#define INTERLEAVE 3
|
||||||
|
#define MICROSTEP 4
|
||||||
|
|
||||||
|
class Adafruit_MotorShield;
|
||||||
|
|
||||||
|
class Adafruit_DCMotor
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
Adafruit_DCMotor(void);
|
||||||
|
friend class Adafruit_MotorShield;
|
||||||
|
void run(uint8_t);
|
||||||
|
void setSpeed(uint8_t);
|
||||||
|
|
||||||
|
private:
|
||||||
|
uint8_t PWMpin, IN1pin, IN2pin;
|
||||||
|
Adafruit_MotorShield *MC;
|
||||||
|
uint8_t motornum;
|
||||||
|
};
|
||||||
|
|
||||||
|
class Adafruit_StepperMotor {
|
||||||
|
public:
|
||||||
|
Adafruit_StepperMotor(void);
|
||||||
|
friend class Adafruit_MotorShield;
|
||||||
|
|
||||||
|
void step(uint16_t steps, uint8_t dir, uint8_t style = SINGLE);
|
||||||
|
void setSpeed(uint16_t);
|
||||||
|
uint8_t onestep(uint8_t dir, uint8_t style);
|
||||||
|
void release(void);
|
||||||
|
uint32_t usperstep, steppingcounter;
|
||||||
|
|
||||||
|
private:
|
||||||
|
uint8_t PWMApin, AIN1pin, AIN2pin;
|
||||||
|
uint8_t PWMBpin, BIN1pin, BIN2pin;
|
||||||
|
uint16_t revsteps; // # steps per revolution
|
||||||
|
uint8_t currentstep;
|
||||||
|
Adafruit_MotorShield *MC;
|
||||||
|
uint8_t steppernum;
|
||||||
|
};
|
||||||
|
|
||||||
|
class Adafruit_MotorShield
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
Adafruit_MotorShield(uint8_t addr = 0x60);
|
||||||
|
friend class Adafruit_DCMotor;
|
||||||
|
void begin(uint16_t freq = 1600);
|
||||||
|
|
||||||
|
void setPWM(uint8_t pin, uint16_t val);
|
||||||
|
void setPin(uint8_t pin, boolean val);
|
||||||
|
Adafruit_DCMotor *getMotor(uint8_t n);
|
||||||
|
Adafruit_StepperMotor *getStepper(uint16_t steps, uint8_t n);
|
||||||
|
private:
|
||||||
|
uint8_t _addr;
|
||||||
|
uint16_t _freq;
|
||||||
|
Adafruit_DCMotor dcmotors[4];
|
||||||
|
Adafruit_StepperMotor steppers[2];
|
||||||
|
Adafruit_PWMServoDriver _pwm;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
|
@ -0,0 +1,13 @@
|
||||||
|
This is the library for the Adafruit Motor Shield V2 for Arduino.
|
||||||
|
It supports DC motors & Stepper motors with microstepping as well
|
||||||
|
as stacking-support. It is *not* compatible with the V1 library!
|
||||||
|
|
||||||
|
It will only work with https://www.adafruit.com/products/1438
|
||||||
|
|
||||||
|
Adafruit invests time and resources providing this open
|
||||||
|
source code, please support Adafruit and open-source hardware
|
||||||
|
by purchasing products from Adafruit!
|
||||||
|
|
||||||
|
Written by Limor Fried/Ladyada for Adafruit Industries.
|
||||||
|
BSD license, check license.txt for more information.
|
||||||
|
All text above must be included in any redistribution.
|
|
@ -0,0 +1,52 @@
|
||||||
|
// ConstantSpeed.pde
|
||||||
|
// -*- mode: C++ -*-
|
||||||
|
//
|
||||||
|
// Shows how to run AccelStepper in the simplest,
|
||||||
|
// fixed speed mode with no accelerations
|
||||||
|
// Requires the Adafruit_Motorshield v2 library
|
||||||
|
// https://github.com/adafruit/Adafruit_Motor_Shield_V2_Library
|
||||||
|
// And AccelStepper with AFMotor support
|
||||||
|
// https://github.com/adafruit/AccelStepper
|
||||||
|
|
||||||
|
// This tutorial is for Adafruit Motorshield v2 only!
|
||||||
|
// Will not work with v1 shields
|
||||||
|
|
||||||
|
#include <AccelStepper.h>
|
||||||
|
#include <Wire.h>
|
||||||
|
#include <Adafruit_MotorShield.h>
|
||||||
|
#include "utility/Adafruit_PWMServoDriver.h"
|
||||||
|
|
||||||
|
// Create the motor shield object with the default I2C address
|
||||||
|
Adafruit_MotorShield AFMS = Adafruit_MotorShield();
|
||||||
|
// Or, create it with a different I2C address (say for stacking)
|
||||||
|
// Adafruit_MotorShield AFMS = Adafruit_MotorShield(0x61);
|
||||||
|
|
||||||
|
// Connect a stepper motor with 200 steps per revolution (1.8 degree)
|
||||||
|
// to motor port #2 (M3 and M4)
|
||||||
|
Adafruit_StepperMotor *myStepper1 = AFMS.getStepper(200, 2);
|
||||||
|
|
||||||
|
// you can change these to DOUBLE or INTERLEAVE or MICROSTEP!
|
||||||
|
void forwardstep1() {
|
||||||
|
myStepper1->onestep(FORWARD, SINGLE);
|
||||||
|
}
|
||||||
|
void backwardstep1() {
|
||||||
|
myStepper1->onestep(BACKWARD, SINGLE);
|
||||||
|
}
|
||||||
|
|
||||||
|
AccelStepper Astepper1(forwardstep1, backwardstep1); // use functions to step
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
Serial.begin(9600); // set up Serial library at 9600 bps
|
||||||
|
Serial.println("Stepper test!");
|
||||||
|
|
||||||
|
AFMS.begin(); // create with the default frequency 1.6KHz
|
||||||
|
//AFMS.begin(1000); // OR with a different frequency, say 1KHz
|
||||||
|
|
||||||
|
Astepper1.setSpeed(50);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
Astepper1.runSpeed();
|
||||||
|
}
|
|
@ -0,0 +1,90 @@
|
||||||
|
// Shows how to run three Steppers at once with varying speeds
|
||||||
|
//
|
||||||
|
// Requires the Adafruit_Motorshield v2 library
|
||||||
|
// https://github.com/adafruit/Adafruit_Motor_Shield_V2_Library
|
||||||
|
// And AccelStepper with AFMotor support
|
||||||
|
// https://github.com/adafruit/AccelStepper
|
||||||
|
|
||||||
|
// This tutorial is for Adafruit Motorshield v2 only!
|
||||||
|
// Will not work with v1 shields
|
||||||
|
|
||||||
|
#include <AccelStepper.h>
|
||||||
|
#include <Wire.h>
|
||||||
|
#include <Adafruit_MotorShield.h>
|
||||||
|
#include "utility/Adafruit_PWMServoDriver.h"
|
||||||
|
|
||||||
|
Adafruit_MotorShield AFMSbot(0x61); // Rightmost jumper closed
|
||||||
|
Adafruit_MotorShield AFMStop(0x60); // Default address, no jumpers
|
||||||
|
|
||||||
|
// Connect two steppers with 200 steps per revolution (1.8 degree)
|
||||||
|
// to the top shield
|
||||||
|
Adafruit_StepperMotor *myStepper1 = AFMStop.getStepper(200, 1);
|
||||||
|
Adafruit_StepperMotor *myStepper2 = AFMStop.getStepper(200, 2);
|
||||||
|
|
||||||
|
// Connect one stepper with 200 steps per revolution (1.8 degree)
|
||||||
|
// to the bottom shield
|
||||||
|
Adafruit_StepperMotor *myStepper3 = AFMSbot.getStepper(200, 2);
|
||||||
|
|
||||||
|
// you can change these to DOUBLE or INTERLEAVE or MICROSTEP!
|
||||||
|
// wrappers for the first motor!
|
||||||
|
void forwardstep1() {
|
||||||
|
myStepper1->onestep(FORWARD, SINGLE);
|
||||||
|
}
|
||||||
|
void backwardstep1() {
|
||||||
|
myStepper1->onestep(BACKWARD, SINGLE);
|
||||||
|
}
|
||||||
|
// wrappers for the second motor!
|
||||||
|
void forwardstep2() {
|
||||||
|
myStepper2->onestep(FORWARD, DOUBLE);
|
||||||
|
}
|
||||||
|
void backwardstep2() {
|
||||||
|
myStepper2->onestep(BACKWARD, DOUBLE);
|
||||||
|
}
|
||||||
|
// wrappers for the third motor!
|
||||||
|
void forwardstep3() {
|
||||||
|
myStepper3->onestep(FORWARD, INTERLEAVE);
|
||||||
|
}
|
||||||
|
void backwardstep3() {
|
||||||
|
myStepper3->onestep(BACKWARD, INTERLEAVE);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Now we'll wrap the 3 steppers in an AccelStepper object
|
||||||
|
AccelStepper stepper1(forwardstep1, backwardstep1);
|
||||||
|
AccelStepper stepper2(forwardstep2, backwardstep2);
|
||||||
|
AccelStepper stepper3(forwardstep3, backwardstep3);
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
AFMSbot.begin(); // Start the bottom shield
|
||||||
|
AFMStop.begin(); // Start the top shield
|
||||||
|
|
||||||
|
stepper1.setMaxSpeed(100.0);
|
||||||
|
stepper1.setAcceleration(100.0);
|
||||||
|
stepper1.moveTo(24);
|
||||||
|
|
||||||
|
stepper2.setMaxSpeed(200.0);
|
||||||
|
stepper2.setAcceleration(100.0);
|
||||||
|
stepper2.moveTo(50000);
|
||||||
|
|
||||||
|
stepper3.setMaxSpeed(300.0);
|
||||||
|
stepper3.setAcceleration(100.0);
|
||||||
|
stepper3.moveTo(1000000);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
// Change direction at the limits
|
||||||
|
if (stepper1.distanceToGo() == 0)
|
||||||
|
stepper1.moveTo(-stepper1.currentPosition());
|
||||||
|
|
||||||
|
if (stepper2.distanceToGo() == 0)
|
||||||
|
stepper2.moveTo(-stepper2.currentPosition());
|
||||||
|
|
||||||
|
if (stepper3.distanceToGo() == 0)
|
||||||
|
stepper3.moveTo(-stepper3.currentPosition());
|
||||||
|
|
||||||
|
stepper1.run();
|
||||||
|
stepper2.run();
|
||||||
|
stepper3.run();
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,68 @@
|
||||||
|
/*
|
||||||
|
This is a test sketch for the Adafruit assembled Motor Shield for Arduino v2
|
||||||
|
It won't work with v1.x motor shields! Only for the v2's with built in PWM
|
||||||
|
control
|
||||||
|
|
||||||
|
For use with the Adafruit Motor Shield v2
|
||||||
|
----> http://www.adafruit.com/products/1438
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <Wire.h>
|
||||||
|
#include <Adafruit_MotorShield.h>
|
||||||
|
#include "utility/Adafruit_PWMServoDriver.h"
|
||||||
|
|
||||||
|
// Create the motor shield object with the default I2C address
|
||||||
|
Adafruit_MotorShield AFMS = Adafruit_MotorShield();
|
||||||
|
// Or, create it with a different I2C address (say for stacking)
|
||||||
|
// Adafruit_MotorShield AFMS = Adafruit_MotorShield(0x61);
|
||||||
|
|
||||||
|
// Select which 'port' M1, M2, M3 or M4. In this case, M1
|
||||||
|
Adafruit_DCMotor *myMotor = AFMS.getMotor(1);
|
||||||
|
// You can also make another motor on port M2
|
||||||
|
//Adafruit_DCMotor *myOtherMotor = AFMS.getMotor(2);
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
Serial.begin(9600); // set up Serial library at 9600 bps
|
||||||
|
Serial.println("Adafruit Motorshield v2 - DC Motor test!");
|
||||||
|
|
||||||
|
AFMS.begin(); // create with the default frequency 1.6KHz
|
||||||
|
//AFMS.begin(1000); // OR with a different frequency, say 1KHz
|
||||||
|
|
||||||
|
// Set the speed to start, from 0 (off) to 255 (max speed)
|
||||||
|
myMotor->setSpeed(150);
|
||||||
|
myMotor->run(FORWARD);
|
||||||
|
// turn on motor
|
||||||
|
myMotor->run(RELEASE);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
uint8_t i;
|
||||||
|
|
||||||
|
Serial.print("tick");
|
||||||
|
|
||||||
|
myMotor->run(FORWARD);
|
||||||
|
for (i=0; i<255; i++) {
|
||||||
|
myMotor->setSpeed(i);
|
||||||
|
delay(10);
|
||||||
|
}
|
||||||
|
for (i=255; i!=0; i--) {
|
||||||
|
myMotor->setSpeed(i);
|
||||||
|
delay(10);
|
||||||
|
}
|
||||||
|
|
||||||
|
Serial.print("tock");
|
||||||
|
|
||||||
|
myMotor->run(BACKWARD);
|
||||||
|
for (i=0; i<255; i++) {
|
||||||
|
myMotor->setSpeed(i);
|
||||||
|
delay(10);
|
||||||
|
}
|
||||||
|
for (i=255; i!=0; i--) {
|
||||||
|
myMotor->setSpeed(i);
|
||||||
|
delay(10);
|
||||||
|
}
|
||||||
|
|
||||||
|
Serial.print("tech");
|
||||||
|
myMotor->run(RELEASE);
|
||||||
|
delay(1000);
|
||||||
|
}
|
|
@ -0,0 +1,84 @@
|
||||||
|
/*
|
||||||
|
This is a test sketch for the Adafruit assembled Motor Shield for Arduino v2
|
||||||
|
It won't work with v1.x motor shields! Only for the v2's with built in PWM
|
||||||
|
control
|
||||||
|
|
||||||
|
For use with the Adafruit Motor Shield v2
|
||||||
|
----> http://www.adafruit.com/products/1438
|
||||||
|
|
||||||
|
This sketch creates a fun motor party on your desk *whiirrr*
|
||||||
|
Connect a unipolar/bipolar stepper to M3/M4
|
||||||
|
Connect a DC motor to M1
|
||||||
|
Connect a hobby servo to SERVO1
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <Wire.h>
|
||||||
|
#include <Adafruit_MotorShield.h>
|
||||||
|
#include "utility/Adafruit_PWMServoDriver.h"
|
||||||
|
#include <Servo.h>
|
||||||
|
|
||||||
|
// Create the motor shield object with the default I2C address
|
||||||
|
Adafruit_MotorShield AFMS = Adafruit_MotorShield();
|
||||||
|
// Or, create it with a different I2C address (say for stacking)
|
||||||
|
// Adafruit_MotorShield AFMS = Adafruit_MotorShield(0x61);
|
||||||
|
|
||||||
|
// Connect a stepper motor with 200 steps per revolution (1.8 degree)
|
||||||
|
// to motor port #2 (M3 and M4)
|
||||||
|
Adafruit_StepperMotor *myStepper = AFMS.getStepper(200, 2);
|
||||||
|
// And connect a DC motor to port M1
|
||||||
|
Adafruit_DCMotor *myMotor = AFMS.getMotor(1);
|
||||||
|
|
||||||
|
// We'll also test out the built in Arduino Servo library
|
||||||
|
Servo servo1;
|
||||||
|
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
Serial.begin(9600); // set up Serial library at 9600 bps
|
||||||
|
Serial.println("MMMMotor party!");
|
||||||
|
|
||||||
|
AFMS.begin(); // create with the default frequency 1.6KHz
|
||||||
|
//AFMS.begin(1000); // OR with a different frequency, say 1KHz
|
||||||
|
|
||||||
|
// Attach a servo to pin #10
|
||||||
|
servo1.attach(10);
|
||||||
|
|
||||||
|
// turn on motor M1
|
||||||
|
myMotor->setSpeed(200);
|
||||||
|
myMotor->run(RELEASE);
|
||||||
|
|
||||||
|
// setup the stepper
|
||||||
|
myStepper->setSpeed(10); // 10 rpm
|
||||||
|
}
|
||||||
|
|
||||||
|
int i;
|
||||||
|
void loop() {
|
||||||
|
myMotor->run(FORWARD);
|
||||||
|
for (i=0; i<255; i++) {
|
||||||
|
servo1.write(map(i, 0, 255, 0, 180));
|
||||||
|
myMotor->setSpeed(i);
|
||||||
|
myStepper->step(1, FORWARD, INTERLEAVE);
|
||||||
|
delay(3);
|
||||||
|
}
|
||||||
|
|
||||||
|
for (i=255; i!=0; i--) {
|
||||||
|
servo1.write(map(i, 0, 255, 0, 180));
|
||||||
|
myMotor->setSpeed(i);
|
||||||
|
myStepper->step(1, BACKWARD, INTERLEAVE);
|
||||||
|
delay(3);
|
||||||
|
}
|
||||||
|
|
||||||
|
myMotor->run(BACKWARD);
|
||||||
|
for (i=0; i<255; i++) {
|
||||||
|
servo1.write(map(i, 0, 255, 0, 180));
|
||||||
|
myMotor->setSpeed(i);
|
||||||
|
myStepper->step(1, FORWARD, DOUBLE);
|
||||||
|
delay(3);
|
||||||
|
}
|
||||||
|
|
||||||
|
for (i=255; i!=0; i--) {
|
||||||
|
servo1.write(map(i, 0, 255, 0, 180));
|
||||||
|
myMotor->setSpeed(i);
|
||||||
|
myStepper->step(1, BACKWARD, DOUBLE);
|
||||||
|
delay(3);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,76 @@
|
||||||
|
/*
|
||||||
|
This is a test sketch for the Adafruit assembled Motor Shield for Arduino v2
|
||||||
|
It won't work with v1.x motor shields! Only for the v2's with built in PWM
|
||||||
|
control
|
||||||
|
|
||||||
|
For use with the Adafruit Motor Shield v2
|
||||||
|
----> http://www.adafruit.com/products/1438
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <Wire.h>
|
||||||
|
#include <Adafruit_MotorShield.h>
|
||||||
|
#include "utility/Adafruit_PWMServoDriver.h"
|
||||||
|
|
||||||
|
Adafruit_MotorShield AFMSbot(0x61); // Rightmost jumper closed
|
||||||
|
Adafruit_MotorShield AFMStop(0x60); // Default address, no jumpers
|
||||||
|
|
||||||
|
// On the top shield, connect two steppers, each with 200 steps
|
||||||
|
Adafruit_StepperMotor *myStepper2 = AFMStop.getStepper(200, 1);
|
||||||
|
Adafruit_StepperMotor *myStepper3 = AFMStop.getStepper(200, 2);
|
||||||
|
|
||||||
|
// On the bottom shield connect a stepper to port M3/M4 with 200 steps
|
||||||
|
Adafruit_StepperMotor *myStepper1 = AFMSbot.getStepper(200, 2);
|
||||||
|
// And a DC Motor to port M1
|
||||||
|
Adafruit_DCMotor *myMotor1 = AFMSbot.getMotor(1);
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
while (!Serial);
|
||||||
|
Serial.begin(9600); // set up Serial library at 9600 bps
|
||||||
|
Serial.println("MMMMotor party!");
|
||||||
|
|
||||||
|
AFMSbot.begin(); // Start the bottom shield
|
||||||
|
AFMStop.begin(); // Start the top shield
|
||||||
|
|
||||||
|
// turn on the DC motor
|
||||||
|
myMotor1->setSpeed(200);
|
||||||
|
myMotor1->run(RELEASE);
|
||||||
|
}
|
||||||
|
|
||||||
|
int i;
|
||||||
|
void loop() {
|
||||||
|
myMotor1->run(FORWARD);
|
||||||
|
|
||||||
|
for (i=0; i<255; i++) {
|
||||||
|
myMotor1->setSpeed(i);
|
||||||
|
myStepper1->onestep(FORWARD, INTERLEAVE);
|
||||||
|
myStepper2->onestep(BACKWARD, DOUBLE);
|
||||||
|
myStepper3->onestep(FORWARD, MICROSTEP);
|
||||||
|
delay(3);
|
||||||
|
}
|
||||||
|
|
||||||
|
for (i=255; i!=0; i--) {
|
||||||
|
myMotor1->setSpeed(i);
|
||||||
|
myStepper1->onestep(BACKWARD, INTERLEAVE);
|
||||||
|
myStepper2->onestep(FORWARD, DOUBLE);
|
||||||
|
myStepper3->onestep(BACKWARD, MICROSTEP);
|
||||||
|
delay(3);
|
||||||
|
}
|
||||||
|
|
||||||
|
myMotor1->run(BACKWARD);
|
||||||
|
|
||||||
|
for (i=0; i<255; i++) {
|
||||||
|
myMotor1->setSpeed(i);
|
||||||
|
myStepper1->onestep(FORWARD, DOUBLE);
|
||||||
|
myStepper2->onestep(BACKWARD, INTERLEAVE);
|
||||||
|
myStepper3->onestep(FORWARD, MICROSTEP);
|
||||||
|
delay(3);
|
||||||
|
}
|
||||||
|
|
||||||
|
for (i=255; i!=0; i--) {
|
||||||
|
myMotor1->setSpeed(i);
|
||||||
|
myStepper1->onestep(BACKWARD, DOUBLE);
|
||||||
|
myStepper2->onestep(FORWARD, INTERLEAVE);
|
||||||
|
myStepper3->onestep(BACKWARD, MICROSTEP);
|
||||||
|
delay(3);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,51 @@
|
||||||
|
/*
|
||||||
|
This is a test sketch for the Adafruit assembled Motor Shield for Arduino v2
|
||||||
|
It won't work with v1.x motor shields! Only for the v2's with built in PWM
|
||||||
|
control
|
||||||
|
|
||||||
|
For use with the Adafruit Motor Shield v2
|
||||||
|
----> http://www.adafruit.com/products/1438
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include <Wire.h>
|
||||||
|
#include <Adafruit_MotorShield.h>
|
||||||
|
#include "utility/Adafruit_PWMServoDriver.h"
|
||||||
|
|
||||||
|
// Create the motor shield object with the default I2C address
|
||||||
|
Adafruit_MotorShield AFMS = Adafruit_MotorShield();
|
||||||
|
// Or, create it with a different I2C address (say for stacking)
|
||||||
|
// Adafruit_MotorShield AFMS = Adafruit_MotorShield(0x61);
|
||||||
|
|
||||||
|
// Connect a stepper motor with 200 steps per revolution (1.8 degree)
|
||||||
|
// to motor port #2 (M3 and M4)
|
||||||
|
Adafruit_StepperMotor *myMotor = AFMS.getStepper(200, 2);
|
||||||
|
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
Serial.begin(9600); // set up Serial library at 9600 bps
|
||||||
|
Serial.println("Stepper test!");
|
||||||
|
|
||||||
|
AFMS.begin(); // create with the default frequency 1.6KHz
|
||||||
|
//AFMS.begin(1000); // OR with a different frequency, say 1KHz
|
||||||
|
|
||||||
|
myMotor->setSpeed(10); // 10 rpm
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
Serial.println("Single coil steps");
|
||||||
|
myMotor->step(100, FORWARD, SINGLE);
|
||||||
|
myMotor->step(100, BACKWARD, SINGLE);
|
||||||
|
|
||||||
|
Serial.println("Double coil steps");
|
||||||
|
myMotor->step(100, FORWARD, DOUBLE);
|
||||||
|
myMotor->step(100, BACKWARD, DOUBLE);
|
||||||
|
|
||||||
|
Serial.println("Interleave coil steps");
|
||||||
|
myMotor->step(100, FORWARD, INTERLEAVE);
|
||||||
|
myMotor->step(100, BACKWARD, INTERLEAVE);
|
||||||
|
|
||||||
|
Serial.println("Microstep steps");
|
||||||
|
myMotor->step(50, FORWARD, MICROSTEP);
|
||||||
|
myMotor->step(50, BACKWARD, MICROSTEP);
|
||||||
|
}
|
|
@ -0,0 +1,40 @@
|
||||||
|
#######################################
|
||||||
|
# Syntax Coloring Map for AFMotor
|
||||||
|
#######################################
|
||||||
|
|
||||||
|
#######################################
|
||||||
|
# Datatypes (KEYWORD1)
|
||||||
|
#######################################
|
||||||
|
|
||||||
|
Adafruit_MotorShield KEYWORD1
|
||||||
|
Adafruit_DCMotor KEYWORD1
|
||||||
|
Adafruit_StepperMotor KEYWORD1
|
||||||
|
|
||||||
|
#######################################
|
||||||
|
# Methods and Functions (KEYWORD2)
|
||||||
|
#######################################
|
||||||
|
|
||||||
|
enable KEYWORD2
|
||||||
|
run KEYWORD2
|
||||||
|
setSpeed KEYWORD2
|
||||||
|
step KEYWORD2
|
||||||
|
onestep KEYWORD2
|
||||||
|
release KEYWORD2
|
||||||
|
getMotor KEYWORD2
|
||||||
|
getStepper KEYWORD2
|
||||||
|
setPin KEYWORD2
|
||||||
|
setPWM KEYWORD2
|
||||||
|
|
||||||
|
#######################################
|
||||||
|
# Constants (LITERAL1)
|
||||||
|
#######################################
|
||||||
|
|
||||||
|
MICROSTEPPING LITERAL1
|
||||||
|
FORWARD LITERAL1
|
||||||
|
BACKWARD LITERAL1
|
||||||
|
BRAKE LITERAL1
|
||||||
|
RELEASE LITERAL1
|
||||||
|
SINGLE LITERAL1
|
||||||
|
DOUBLE LITERAL1
|
||||||
|
INTERLEAVE LITERAL1
|
||||||
|
MICROSTEP LITERAL1
|
|
@ -0,0 +1,25 @@
|
||||||
|
Software License Agreement (BSD License)
|
||||||
|
|
||||||
|
Copyright (c) 2012, Adafruit Industries. All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
1. Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer in the
|
||||||
|
documentation and/or other materials provided with the distribution.
|
||||||
|
3. Neither the name of the copyright holders nor the names of its
|
||||||
|
contributors may be used to endorse or promote products derived from
|
||||||
|
this software without specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY
|
||||||
|
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
|
||||||
|
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||||
|
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||||
|
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||||
|
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@ -0,0 +1,110 @@
|
||||||
|
/***************************************************
|
||||||
|
This is a library for our Adafruit 16-channel PWM & Servo driver
|
||||||
|
|
||||||
|
Pick one up today in the adafruit shop!
|
||||||
|
------> http://www.adafruit.com/products/815
|
||||||
|
|
||||||
|
These displays use I2C to communicate, 2 pins are required to
|
||||||
|
interface. For Arduino UNOs, thats SCL -> Analog 5, SDA -> Analog 4
|
||||||
|
|
||||||
|
Adafruit invests time and resources providing this open source code,
|
||||||
|
please support Adafruit and open-source hardware by purchasing
|
||||||
|
products from Adafruit!
|
||||||
|
|
||||||
|
Written by Limor Fried/Ladyada for Adafruit Industries.
|
||||||
|
BSD license, all text above must be included in any redistribution
|
||||||
|
****************************************************/
|
||||||
|
|
||||||
|
#include <Adafruit_PWMServoDriver.h>
|
||||||
|
#include <Wire.h>
|
||||||
|
#ifdef __AVR__
|
||||||
|
#define WIRE Wire
|
||||||
|
#else // Arduino Due
|
||||||
|
#define WIRE Wire1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
Adafruit_PWMServoDriver::Adafruit_PWMServoDriver(uint8_t addr) {
|
||||||
|
_i2caddr = addr;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Adafruit_PWMServoDriver::begin(void) {
|
||||||
|
WIRE.begin();
|
||||||
|
reset();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void Adafruit_PWMServoDriver::reset(void) {
|
||||||
|
write8(PCA9685_MODE1, 0x0);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Adafruit_PWMServoDriver::setPWMFreq(float freq) {
|
||||||
|
//Serial.print("Attempting to set freq ");
|
||||||
|
//Serial.println(freq);
|
||||||
|
|
||||||
|
float prescaleval = 25000000;
|
||||||
|
prescaleval /= 4096;
|
||||||
|
prescaleval /= freq;
|
||||||
|
prescaleval -= 1;
|
||||||
|
Serial.print("Estimated pre-scale: "); Serial.println(prescaleval);
|
||||||
|
uint8_t prescale = floor(prescaleval + 0.5);
|
||||||
|
Serial.print("Final pre-scale: "); Serial.println(prescale);
|
||||||
|
|
||||||
|
uint8_t oldmode = read8(PCA9685_MODE1);
|
||||||
|
uint8_t newmode = (oldmode&0x7F) | 0x10; // sleep
|
||||||
|
write8(PCA9685_MODE1, newmode); // go to sleep
|
||||||
|
write8(PCA9685_PRESCALE, prescale); // set the prescaler
|
||||||
|
write8(PCA9685_MODE1, oldmode);
|
||||||
|
delay(5);
|
||||||
|
write8(PCA9685_MODE1, oldmode | 0xa1); // This sets the MODE1 register to turn on auto increment.
|
||||||
|
// This is why the beginTransmission below was not working.
|
||||||
|
// Serial.print("Mode now 0x"); Serial.println(read8(PCA9685_MODE1), HEX);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Adafruit_PWMServoDriver::setPWM(uint8_t num, uint16_t on, uint16_t off) {
|
||||||
|
//Serial.print("Setting PWM "); Serial.print(num); Serial.print(": "); Serial.print(on); Serial.print("->"); Serial.println(off);
|
||||||
|
|
||||||
|
WIRE.beginTransmission(_i2caddr);
|
||||||
|
#if ARDUINO >= 100
|
||||||
|
WIRE.write(LED0_ON_L+4*num);
|
||||||
|
WIRE.write(on);
|
||||||
|
WIRE.write(on>>8);
|
||||||
|
WIRE.write(off);
|
||||||
|
WIRE.write(off>>8);
|
||||||
|
#else
|
||||||
|
WIRE.send(LED0_ON_L+4*num);
|
||||||
|
WIRE.send((uint8_t)on);
|
||||||
|
WIRE.send((uint8_t)(on>>8));
|
||||||
|
WIRE.send((uint8_t)off);
|
||||||
|
WIRE.send((uint8_t)(off>>8));
|
||||||
|
#endif
|
||||||
|
WIRE.endTransmission();
|
||||||
|
}
|
||||||
|
|
||||||
|
uint8_t Adafruit_PWMServoDriver::read8(uint8_t addr) {
|
||||||
|
WIRE.beginTransmission(_i2caddr);
|
||||||
|
#if ARDUINO >= 100
|
||||||
|
WIRE.write(addr);
|
||||||
|
#else
|
||||||
|
WIRE.send(addr);
|
||||||
|
#endif
|
||||||
|
WIRE.endTransmission();
|
||||||
|
|
||||||
|
WIRE.requestFrom((uint8_t)_i2caddr, (uint8_t)1);
|
||||||
|
#if ARDUINO >= 100
|
||||||
|
return WIRE.read();
|
||||||
|
#else
|
||||||
|
return WIRE.receive();
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
void Adafruit_PWMServoDriver::write8(uint8_t addr, uint8_t d) {
|
||||||
|
WIRE.beginTransmission(_i2caddr);
|
||||||
|
#if ARDUINO >= 100
|
||||||
|
WIRE.write(addr);
|
||||||
|
WIRE.write(d);
|
||||||
|
#else
|
||||||
|
WIRE.send(addr);
|
||||||
|
WIRE.send(d);
|
||||||
|
#endif
|
||||||
|
WIRE.endTransmission();
|
||||||
|
}
|
|
@ -0,0 +1,61 @@
|
||||||
|
/***************************************************
|
||||||
|
This is a library for our Adafruit 16-channel PWM & Servo driver
|
||||||
|
|
||||||
|
Pick one up today in the adafruit shop!
|
||||||
|
------> http://www.adafruit.com/products/815
|
||||||
|
|
||||||
|
These displays use I2C to communicate, 2 pins are required to
|
||||||
|
interface. For Arduino UNOs, thats SCL -> Analog 5, SDA -> Analog 4
|
||||||
|
|
||||||
|
Adafruit invests time and resources providing this open source code,
|
||||||
|
please support Adafruit and open-source hardware by purchasing
|
||||||
|
products from Adafruit!
|
||||||
|
|
||||||
|
Written by Limor Fried/Ladyada for Adafruit Industries.
|
||||||
|
BSD license, all text above must be included in any redistribution
|
||||||
|
****************************************************/
|
||||||
|
|
||||||
|
#ifndef _ADAFRUIT_PWMServoDriver_H
|
||||||
|
#define _ADAFRUIT_PWMServoDriver_H
|
||||||
|
|
||||||
|
#if ARDUINO >= 100
|
||||||
|
#include "Arduino.h"
|
||||||
|
#else
|
||||||
|
#include "WProgram.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#define PCA9685_SUBADR1 0x2
|
||||||
|
#define PCA9685_SUBADR2 0x3
|
||||||
|
#define PCA9685_SUBADR3 0x4
|
||||||
|
|
||||||
|
#define PCA9685_MODE1 0x0
|
||||||
|
#define PCA9685_PRESCALE 0xFE
|
||||||
|
|
||||||
|
#define LED0_ON_L 0x6
|
||||||
|
#define LED0_ON_H 0x7
|
||||||
|
#define LED0_OFF_L 0x8
|
||||||
|
#define LED0_OFF_H 0x9
|
||||||
|
|
||||||
|
#define ALLLED_ON_L 0xFA
|
||||||
|
#define ALLLED_ON_H 0xFB
|
||||||
|
#define ALLLED_OFF_L 0xFC
|
||||||
|
#define ALLLED_OFF_H 0xFD
|
||||||
|
|
||||||
|
|
||||||
|
class Adafruit_PWMServoDriver {
|
||||||
|
public:
|
||||||
|
Adafruit_PWMServoDriver(uint8_t addr = 0x40);
|
||||||
|
void begin(void);
|
||||||
|
void reset(void);
|
||||||
|
void setPWMFreq(float freq);
|
||||||
|
void setPWM(uint8_t num, uint16_t on, uint16_t off);
|
||||||
|
|
||||||
|
private:
|
||||||
|
uint8_t _i2caddr;
|
||||||
|
|
||||||
|
uint8_t read8(uint8_t addr);
|
||||||
|
void write8(uint8_t addr, uint8_t d);
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
|
@ -0,0 +1,26 @@
|
||||||
|
Software License Agreement (BSD License)
|
||||||
|
|
||||||
|
Copyright (c) 2012, Adafruit Industries
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
1. Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer in the
|
||||||
|
documentation and/or other materials provided with the distribution.
|
||||||
|
3. Neither the name of the copyright holders nor the
|
||||||
|
names of its contributors may be used to endorse or promote products
|
||||||
|
derived from this software without specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY
|
||||||
|
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
|
||||||
|
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||||
|
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||||
|
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||||
|
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@ -0,0 +1,246 @@
|
||||||
|
// DO NOT ADD YOUR OWN FONTS TO THIS FILE
|
||||||
|
// If you want to use your own/downloaded fonts you should just drop the font .c file into your sketch folder.
|
||||||
|
// -----------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#if defined(__AVR__)
|
||||||
|
#include <avr/pgmspace.h>
|
||||||
|
#define fontdatatype const uint8_t
|
||||||
|
#elif defined(__PIC32MX__)
|
||||||
|
#define PROGMEM
|
||||||
|
#define fontdatatype const unsigned char
|
||||||
|
#elif defined(__arm__)
|
||||||
|
#define PROGMEM
|
||||||
|
#define fontdatatype const unsigned char
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// SmallFont.c
|
||||||
|
// Font Size : 8x12
|
||||||
|
// Memory usage : 1144 bytes
|
||||||
|
// # characters : 95
|
||||||
|
|
||||||
|
fontdatatype SmallFont[1144] PROGMEM={
|
||||||
|
0x08,0x0C,0x20,0x5F,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // <Space>
|
||||||
|
0x00,0x00,0x20,0x20,0x20,0x20,0x20,0x20,0x00,0x20,0x00,0x00, // !
|
||||||
|
0x00,0x28,0x50,0x50,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // "
|
||||||
|
0x00,0x00,0x28,0x28,0xFC,0x28,0x50,0xFC,0x50,0x50,0x00,0x00, // #
|
||||||
|
0x00,0x20,0x78,0xA8,0xA0,0x60,0x30,0x28,0xA8,0xF0,0x20,0x00, // $
|
||||||
|
0x00,0x00,0x48,0xA8,0xB0,0x50,0x28,0x34,0x54,0x48,0x00,0x00, // %
|
||||||
|
0x00,0x00,0x20,0x50,0x50,0x78,0xA8,0xA8,0x90,0x6C,0x00,0x00, // &
|
||||||
|
0x00,0x40,0x40,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // '
|
||||||
|
0x00,0x04,0x08,0x10,0x10,0x10,0x10,0x10,0x10,0x08,0x04,0x00, // (
|
||||||
|
0x00,0x40,0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x20,0x40,0x00, // )
|
||||||
|
0x00,0x00,0x00,0x20,0xA8,0x70,0x70,0xA8,0x20,0x00,0x00,0x00, // *
|
||||||
|
0x00,0x00,0x20,0x20,0x20,0xF8,0x20,0x20,0x20,0x00,0x00,0x00, // +
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x40,0x80, // ,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0xF8,0x00,0x00,0x00,0x00,0x00,0x00, // -
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00, // .
|
||||||
|
0x00,0x08,0x10,0x10,0x10,0x20,0x20,0x40,0x40,0x40,0x80,0x00, // /
|
||||||
|
0x00,0x00,0x70,0x88,0x88,0x88,0x88,0x88,0x88,0x70,0x00,0x00, // 0
|
||||||
|
0x00,0x00,0x20,0x60,0x20,0x20,0x20,0x20,0x20,0x70,0x00,0x00, // 1
|
||||||
|
0x00,0x00,0x70,0x88,0x88,0x10,0x20,0x40,0x80,0xF8,0x00,0x00, // 2
|
||||||
|
0x00,0x00,0x70,0x88,0x08,0x30,0x08,0x08,0x88,0x70,0x00,0x00, // 3
|
||||||
|
0x00,0x00,0x10,0x30,0x50,0x50,0x90,0x78,0x10,0x18,0x00,0x00, // 4
|
||||||
|
0x00,0x00,0xF8,0x80,0x80,0xF0,0x08,0x08,0x88,0x70,0x00,0x00, // 5
|
||||||
|
0x00,0x00,0x70,0x90,0x80,0xF0,0x88,0x88,0x88,0x70,0x00,0x00, // 6
|
||||||
|
0x00,0x00,0xF8,0x90,0x10,0x20,0x20,0x20,0x20,0x20,0x00,0x00, // 7
|
||||||
|
0x00,0x00,0x70,0x88,0x88,0x70,0x88,0x88,0x88,0x70,0x00,0x00, // 8
|
||||||
|
0x00,0x00,0x70,0x88,0x88,0x88,0x78,0x08,0x48,0x70,0x00,0x00, // 9
|
||||||
|
0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x20,0x00,0x00, // :
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x20,0x00, // ;
|
||||||
|
0x00,0x04,0x08,0x10,0x20,0x40,0x20,0x10,0x08,0x04,0x00,0x00, // <
|
||||||
|
0x00,0x00,0x00,0x00,0xF8,0x00,0x00,0xF8,0x00,0x00,0x00,0x00, // =
|
||||||
|
0x00,0x40,0x20,0x10,0x08,0x04,0x08,0x10,0x20,0x40,0x00,0x00, // >
|
||||||
|
0x00,0x00,0x70,0x88,0x88,0x10,0x20,0x20,0x00,0x20,0x00,0x00, // ?
|
||||||
|
0x00,0x00,0x70,0x88,0x98,0xA8,0xA8,0xB8,0x80,0x78,0x00,0x00, // @
|
||||||
|
0x00,0x00,0x20,0x20,0x30,0x50,0x50,0x78,0x48,0xCC,0x00,0x00, // A
|
||||||
|
0x00,0x00,0xF0,0x48,0x48,0x70,0x48,0x48,0x48,0xF0,0x00,0x00, // B
|
||||||
|
0x00,0x00,0x78,0x88,0x80,0x80,0x80,0x80,0x88,0x70,0x00,0x00, // C
|
||||||
|
0x00,0x00,0xF0,0x48,0x48,0x48,0x48,0x48,0x48,0xF0,0x00,0x00, // D
|
||||||
|
0x00,0x00,0xF8,0x48,0x50,0x70,0x50,0x40,0x48,0xF8,0x00,0x00, // E
|
||||||
|
0x00,0x00,0xF8,0x48,0x50,0x70,0x50,0x40,0x40,0xE0,0x00,0x00, // F
|
||||||
|
0x00,0x00,0x38,0x48,0x80,0x80,0x9C,0x88,0x48,0x30,0x00,0x00, // G
|
||||||
|
0x00,0x00,0xCC,0x48,0x48,0x78,0x48,0x48,0x48,0xCC,0x00,0x00, // H
|
||||||
|
0x00,0x00,0xF8,0x20,0x20,0x20,0x20,0x20,0x20,0xF8,0x00,0x00, // I
|
||||||
|
0x00,0x00,0x7C,0x10,0x10,0x10,0x10,0x10,0x10,0x90,0xE0,0x00, // J
|
||||||
|
0x00,0x00,0xEC,0x48,0x50,0x60,0x50,0x50,0x48,0xEC,0x00,0x00, // K
|
||||||
|
0x00,0x00,0xE0,0x40,0x40,0x40,0x40,0x40,0x44,0xFC,0x00,0x00, // L
|
||||||
|
0x00,0x00,0xD8,0xD8,0xD8,0xD8,0xA8,0xA8,0xA8,0xA8,0x00,0x00, // M
|
||||||
|
0x00,0x00,0xDC,0x48,0x68,0x68,0x58,0x58,0x48,0xE8,0x00,0x00, // N
|
||||||
|
0x00,0x00,0x70,0x88,0x88,0x88,0x88,0x88,0x88,0x70,0x00,0x00, // O
|
||||||
|
0x00,0x00,0xF0,0x48,0x48,0x70,0x40,0x40,0x40,0xE0,0x00,0x00, // P
|
||||||
|
0x00,0x00,0x70,0x88,0x88,0x88,0x88,0xE8,0x98,0x70,0x18,0x00, // Q
|
||||||
|
0x00,0x00,0xF0,0x48,0x48,0x70,0x50,0x48,0x48,0xEC,0x00,0x00, // R
|
||||||
|
0x00,0x00,0x78,0x88,0x80,0x60,0x10,0x08,0x88,0xF0,0x00,0x00, // S
|
||||||
|
0x00,0x00,0xF8,0xA8,0x20,0x20,0x20,0x20,0x20,0x70,0x00,0x00, // T
|
||||||
|
0x00,0x00,0xCC,0x48,0x48,0x48,0x48,0x48,0x48,0x30,0x00,0x00, // U
|
||||||
|
0x00,0x00,0xCC,0x48,0x48,0x50,0x50,0x30,0x20,0x20,0x00,0x00, // V
|
||||||
|
0x00,0x00,0xA8,0xA8,0xA8,0x70,0x50,0x50,0x50,0x50,0x00,0x00, // W
|
||||||
|
0x00,0x00,0xD8,0x50,0x50,0x20,0x20,0x50,0x50,0xD8,0x00,0x00, // X
|
||||||
|
0x00,0x00,0xD8,0x50,0x50,0x20,0x20,0x20,0x20,0x70,0x00,0x00, // Y
|
||||||
|
0x00,0x00,0xF8,0x90,0x10,0x20,0x20,0x40,0x48,0xF8,0x00,0x00, // Z
|
||||||
|
0x00,0x38,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x38,0x00, // [
|
||||||
|
0x00,0x40,0x40,0x40,0x20,0x20,0x10,0x10,0x10,0x08,0x00,0x00, // <Backslash>
|
||||||
|
0x00,0x70,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x70,0x00, // ]
|
||||||
|
0x00,0x20,0x50,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // ^
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFC, // _
|
||||||
|
0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // '
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x30,0x48,0x38,0x48,0x3C,0x00,0x00, // a
|
||||||
|
0x00,0x00,0xC0,0x40,0x40,0x70,0x48,0x48,0x48,0x70,0x00,0x00, // b
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x38,0x48,0x40,0x40,0x38,0x00,0x00, // c
|
||||||
|
0x00,0x00,0x18,0x08,0x08,0x38,0x48,0x48,0x48,0x3C,0x00,0x00, // d
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x30,0x48,0x78,0x40,0x38,0x00,0x00, // e
|
||||||
|
0x00,0x00,0x1C,0x20,0x20,0x78,0x20,0x20,0x20,0x78,0x00,0x00, // f
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x3C,0x48,0x30,0x40,0x78,0x44,0x38, // g
|
||||||
|
0x00,0x00,0xC0,0x40,0x40,0x70,0x48,0x48,0x48,0xEC,0x00,0x00, // h
|
||||||
|
0x00,0x00,0x20,0x00,0x00,0x60,0x20,0x20,0x20,0x70,0x00,0x00, // i
|
||||||
|
0x00,0x00,0x10,0x00,0x00,0x30,0x10,0x10,0x10,0x10,0x10,0xE0, // j
|
||||||
|
0x00,0x00,0xC0,0x40,0x40,0x5C,0x50,0x70,0x48,0xEC,0x00,0x00, // k
|
||||||
|
0x00,0x00,0xE0,0x20,0x20,0x20,0x20,0x20,0x20,0xF8,0x00,0x00, // l
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0xF0,0xA8,0xA8,0xA8,0xA8,0x00,0x00, // m
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0xF0,0x48,0x48,0x48,0xEC,0x00,0x00, // n
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x30,0x48,0x48,0x48,0x30,0x00,0x00, // o
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0xF0,0x48,0x48,0x48,0x70,0x40,0xE0, // p
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x38,0x48,0x48,0x48,0x38,0x08,0x1C, // q
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0xD8,0x60,0x40,0x40,0xE0,0x00,0x00, // r
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x78,0x40,0x30,0x08,0x78,0x00,0x00, // s
|
||||||
|
0x00,0x00,0x00,0x20,0x20,0x70,0x20,0x20,0x20,0x18,0x00,0x00, // t
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0xD8,0x48,0x48,0x48,0x3C,0x00,0x00, // u
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0xEC,0x48,0x50,0x30,0x20,0x00,0x00, // v
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0xA8,0xA8,0x70,0x50,0x50,0x00,0x00, // w
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0xD8,0x50,0x20,0x50,0xD8,0x00,0x00, // x
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0xEC,0x48,0x50,0x30,0x20,0x20,0xC0, // y
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x78,0x10,0x20,0x20,0x78,0x00,0x00, // z
|
||||||
|
0x00,0x18,0x10,0x10,0x10,0x20,0x10,0x10,0x10,0x10,0x18,0x00, // {
|
||||||
|
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, // |
|
||||||
|
0x00,0x60,0x20,0x20,0x20,0x10,0x20,0x20,0x20,0x20,0x60,0x00, // }
|
||||||
|
0x40,0xA4,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // ~
|
||||||
|
};
|
||||||
|
|
||||||
|
// BigFont.c (C)2010 by Henning Karlsen
|
||||||
|
// Font Size : 16x16
|
||||||
|
// Memory usage : 3044 bytes
|
||||||
|
// # characters : 95
|
||||||
|
|
||||||
|
fontdatatype BigFont[3044] PROGMEM={
|
||||||
|
0x10,0x10,0x20,0x5F,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // <Space>
|
||||||
|
0x00,0x00,0x00,0x00,0x07,0x00,0x0F,0x80,0x0F,0x80,0x0F,0x80,0x0F,0x80,0x0F,0x80,0x07,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x07,0x00,0x07,0x00,0x07,0x00,0x00,0x00, // !
|
||||||
|
0x00,0x00,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x06,0x30,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // "
|
||||||
|
0x00,0x00,0x0C,0x30,0x0C,0x30,0x0C,0x30,0x7F,0xFE,0x7F,0xFE,0x0C,0x30,0x0C,0x30,0x0C,0x30,0x0C,0x30,0x7F,0xFE,0x7F,0xFE,0x0C,0x30,0x0C,0x30,0x0C,0x30,0x00,0x00, // #
|
||||||
|
0x00,0x00,0x02,0x40,0x02,0x40,0x0F,0xF8,0x1F,0xF8,0x1A,0x40,0x1A,0x40,0x1F,0xF0,0x0F,0xF8,0x02,0x58,0x02,0x58,0x1F,0xF8,0x1F,0xF0,0x02,0x40,0x02,0x40,0x00,0x00, // $
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x0E,0x10,0x0E,0x30,0x0E,0x70,0x00,0xE0,0x01,0xC0,0x03,0x80,0x07,0x00,0x0E,0x70,0x0C,0x70,0x08,0x70,0x00,0x00,0x00,0x00,0x00,0x00, // %
|
||||||
|
0x00,0x00,0x00,0x00,0x0F,0x00,0x19,0x80,0x19,0x80,0x19,0x80,0x0F,0x00,0x0F,0x08,0x0F,0x98,0x19,0xF8,0x18,0xF0,0x18,0xE0,0x19,0xF0,0x0F,0x98,0x00,0x00,0x00,0x00, // &
|
||||||
|
0x00,0x00,0x00,0x00,0x07,0x00,0x07,0x00,0x07,0x00,0x0E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // '
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0xF0,0x01,0xC0,0x03,0x80,0x07,0x00,0x0E,0x00,0x0E,0x00,0x0E,0x00,0x0E,0x00,0x07,0x00,0x03,0x80,0x01,0xC0,0x00,0xF0,0x00,0x00,0x00,0x00, // (
|
||||||
|
0x00,0x00,0x00,0x00,0x0F,0x00,0x03,0x80,0x01,0xC0,0x00,0xE0,0x00,0x70,0x00,0x70,0x00,0x70,0x00,0x70,0x00,0xE0,0x01,0xC0,0x03,0x80,0x0F,0x00,0x00,0x00,0x00,0x00, // )
|
||||||
|
0x00,0x00,0x00,0x00,0x01,0x80,0x11,0x88,0x09,0x90,0x07,0xE0,0x07,0xE0,0x3F,0xFC,0x3F,0xFC,0x07,0xE0,0x07,0xE0,0x09,0x90,0x11,0x88,0x01,0x80,0x00,0x00,0x00,0x00, // *
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x80,0x01,0x80,0x01,0x80,0x0F,0xF0,0x0F,0xF0,0x01,0x80,0x01,0x80,0x01,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // +
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x00,0x07,0x00,0x07,0x00,0x0E,0x00,0x00,0x00, // ,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0xF8,0x1F,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // -
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x00,0x07,0x00,0x07,0x00,0x00,0x00,0x00,0x00, // ,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x06,0x00,0x0E,0x00,0x1C,0x00,0x38,0x00,0x70,0x00,0xE0,0x01,0xC0,0x03,0x80,0x07,0x00,0x0E,0x00,0x1C,0x00,0x00,0x00,0x00,0x00, // /
|
||||||
|
|
||||||
|
0x00,0x00,0x00,0x00,0x0F,0xF0,0x1C,0x38,0x1C,0x78,0x1C,0xF8,0x1C,0xF8,0x1D,0xB8,0x1D,0xB8,0x1F,0x38,0x1F,0x38,0x1E,0x38,0x1C,0x38,0x0F,0xF0,0x00,0x00,0x00,0x00, // 0
|
||||||
|
0x00,0x00,0x00,0x00,0x01,0x80,0x01,0x80,0x03,0x80,0x1F,0x80,0x1F,0x80,0x03,0x80,0x03,0x80,0x03,0x80,0x03,0x80,0x03,0x80,0x03,0x80,0x1F,0xF0,0x00,0x00,0x00,0x00, // 1
|
||||||
|
0x00,0x00,0x00,0x00,0x0F,0xE0,0x1C,0x70,0x1C,0x38,0x00,0x38,0x00,0x70,0x00,0xE0,0x01,0xC0,0x03,0x80,0x07,0x00,0x0E,0x38,0x1C,0x38,0x1F,0xF8,0x00,0x00,0x00,0x00, // 2
|
||||||
|
0x00,0x00,0x00,0x00,0x0F,0xE0,0x1C,0x70,0x1C,0x38,0x00,0x38,0x00,0x70,0x03,0xC0,0x03,0xC0,0x00,0x70,0x00,0x38,0x1C,0x38,0x1C,0x70,0x0F,0xE0,0x00,0x00,0x00,0x00, // 3
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0xE0,0x01,0xE0,0x03,0xE0,0x06,0xE0,0x0C,0xE0,0x18,0xE0,0x1F,0xF8,0x1F,0xF8,0x00,0xE0,0x00,0xE0,0x00,0xE0,0x03,0xF8,0x00,0x00,0x00,0x00, // 4
|
||||||
|
0x00,0x00,0x00,0x00,0x1F,0xF8,0x1C,0x00,0x1C,0x00,0x1C,0x00,0x1C,0x00,0x1F,0xE0,0x1F,0xF0,0x00,0x78,0x00,0x38,0x1C,0x38,0x1C,0x70,0x0F,0xE0,0x00,0x00,0x00,0x00, // 5
|
||||||
|
0x00,0x00,0x00,0x00,0x03,0xE0,0x07,0x00,0x0E,0x00,0x1C,0x00,0x1C,0x00,0x1F,0xF0,0x1F,0xF8,0x1C,0x38,0x1C,0x38,0x1C,0x38,0x1C,0x38,0x0F,0xF0,0x00,0x00,0x00,0x00, // 6
|
||||||
|
0x00,0x00,0x00,0x00,0x1F,0xFC,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x00,0x1C,0x00,0x38,0x00,0x70,0x00,0xE0,0x01,0xC0,0x03,0x80,0x03,0x80,0x03,0x80,0x00,0x00,0x00,0x00, // 7
|
||||||
|
0x00,0x00,0x00,0x00,0x0F,0xF0,0x1C,0x38,0x1C,0x38,0x1C,0x38,0x1F,0x38,0x07,0xE0,0x07,0xE0,0x1C,0xF8,0x1C,0x38,0x1C,0x38,0x1C,0x38,0x0F,0xF0,0x00,0x00,0x00,0x00, // 8
|
||||||
|
0x00,0x00,0x00,0x00,0x0F,0xF0,0x1C,0x38,0x1C,0x38,0x1C,0x38,0x1C,0x38,0x1F,0xF8,0x0F,0xF8,0x00,0x38,0x00,0x38,0x00,0x70,0x00,0xE0,0x07,0xC0,0x00,0x00,0x00,0x00, // 9
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x80,0x03,0x80,0x03,0x80,0x00,0x00,0x00,0x00,0x03,0x80,0x03,0x80,0x03,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // :
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x80,0x03,0x80,0x03,0x80,0x00,0x00,0x00,0x00,0x03,0x80,0x03,0x80,0x03,0x80,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // ;
|
||||||
|
0x00,0x00,0x00,0x70,0x00,0xE0,0x01,0xC0,0x03,0x80,0x07,0x00,0x0E,0x00,0x1C,0x00,0x1C,0x00,0x0E,0x00,0x07,0x00,0x03,0x80,0x01,0xC0,0x00,0xE0,0x00,0x70,0x00,0x00, // <
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3F,0xFC,0x3F,0xFC,0x00,0x00,0x00,0x00,0x3F,0xFC,0x3F,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // =
|
||||||
|
0x00,0x00,0x1C,0x00,0x0E,0x00,0x07,0x00,0x03,0x80,0x01,0xC0,0x00,0xE0,0x00,0x70,0x00,0x70,0x00,0xE0,0x01,0xC0,0x03,0x80,0x07,0x00,0x0E,0x00,0x1C,0x00,0x00,0x00, // >
|
||||||
|
0x00,0x00,0x03,0xC0,0x0F,0xF0,0x1E,0x78,0x18,0x38,0x00,0x38,0x00,0x70,0x00,0xE0,0x01,0xC0,0x01,0xC0,0x00,0x00,0x00,0x00,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x00,0x00, // ?
|
||||||
|
|
||||||
|
0x00,0x00,0x0F,0xF8,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0xFC,0x1C,0xFC,0x1C,0xFC,0x1C,0xFC,0x1C,0x00,0x1C,0x00,0x1C,0x00,0x1F,0xF0,0x07,0xF8,0x00,0x00, // @
|
||||||
|
0x00,0x00,0x00,0x00,0x03,0xC0,0x07,0xE0,0x0E,0x70,0x1C,0x38,0x1C,0x38,0x1C,0x38,0x1C,0x38,0x1F,0xF8,0x1C,0x38,0x1C,0x38,0x1C,0x38,0x1C,0x38,0x00,0x00,0x00,0x00, // A
|
||||||
|
0x00,0x00,0x00,0x00,0x1F,0xF0,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0F,0xF0,0x0F,0xF0,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x1F,0xF0,0x00,0x00,0x00,0x00, // B
|
||||||
|
0x00,0x00,0x00,0x00,0x07,0xF0,0x0E,0x38,0x1C,0x38,0x1C,0x00,0x1C,0x00,0x1C,0x00,0x1C,0x00,0x1C,0x00,0x1C,0x00,0x1C,0x38,0x0E,0x38,0x07,0xF0,0x00,0x00,0x00,0x00, // C
|
||||||
|
0x00,0x00,0x00,0x00,0x1F,0xE0,0x0E,0x70,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0E,0x70,0x1F,0xE0,0x00,0x00,0x00,0x00, // D
|
||||||
|
0x00,0x00,0x00,0x00,0x1F,0xF8,0x0E,0x18,0x0E,0x08,0x0E,0x00,0x0E,0x30,0x0F,0xF0,0x0F,0xF0,0x0E,0x30,0x0E,0x00,0x0E,0x08,0x0E,0x18,0x1F,0xF8,0x00,0x00,0x00,0x00, // E
|
||||||
|
0x00,0x00,0x00,0x00,0x1F,0xF8,0x0E,0x18,0x0E,0x08,0x0E,0x00,0x0E,0x30,0x0F,0xF0,0x0F,0xF0,0x0E,0x30,0x0E,0x00,0x0E,0x00,0x0E,0x00,0x1F,0x00,0x00,0x00,0x00,0x00, // F
|
||||||
|
0x00,0x00,0x00,0x00,0x07,0xF0,0x0E,0x38,0x1C,0x38,0x1C,0x38,0x1C,0x00,0x1C,0x00,0x1C,0x00,0x1C,0xF8,0x1C,0x38,0x1C,0x38,0x0E,0x38,0x07,0xF8,0x00,0x00,0x00,0x00, // G
|
||||||
|
0x00,0x00,0x00,0x00,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1F,0xF0,0x1F,0xF0,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x00,0x00,0x00,0x00, // H
|
||||||
|
0x00,0x00,0x00,0x00,0x0F,0xE0,0x03,0x80,0x03,0x80,0x03,0x80,0x03,0x80,0x03,0x80,0x03,0x80,0x03,0x80,0x03,0x80,0x03,0x80,0x03,0x80,0x0F,0xE0,0x00,0x00,0x00,0x00, // I
|
||||||
|
0x00,0x00,0x00,0x00,0x01,0xFC,0x00,0x70,0x00,0x70,0x00,0x70,0x00,0x70,0x00,0x70,0x00,0x70,0x38,0x70,0x38,0x70,0x38,0x70,0x38,0x70,0x0F,0xE0,0x00,0x00,0x00,0x00, // J
|
||||||
|
0x00,0x00,0x00,0x00,0x1E,0x38,0x0E,0x38,0x0E,0x70,0x0E,0xE0,0x0F,0xC0,0x0F,0x80,0x0F,0x80,0x0F,0xC0,0x0E,0xE0,0x0E,0x70,0x0E,0x38,0x1E,0x38,0x00,0x00,0x00,0x00, // K
|
||||||
|
0x00,0x00,0x00,0x00,0x1F,0x00,0x0E,0x00,0x0E,0x00,0x0E,0x00,0x0E,0x00,0x0E,0x00,0x0E,0x00,0x0E,0x00,0x0E,0x08,0x0E,0x18,0x0E,0x38,0x1F,0xF8,0x00,0x00,0x00,0x00, // L
|
||||||
|
0x00,0x00,0x00,0x00,0x1C,0x1C,0x1E,0x3C,0x1F,0x7C,0x1F,0xFC,0x1F,0xFC,0x1D,0xDC,0x1C,0x9C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x00,0x00,0x00,0x00, // M
|
||||||
|
0x00,0x00,0x00,0x00,0x1C,0x1C,0x1C,0x1C,0x1E,0x1C,0x1F,0x1C,0x1F,0x9C,0x1D,0xDC,0x1C,0xFC,0x1C,0x7C,0x1C,0x3C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x00,0x00,0x00,0x00, // N
|
||||||
|
0x00,0x00,0x00,0x00,0x03,0xE0,0x07,0xF0,0x0E,0x38,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x0E,0x38,0x07,0xF0,0x03,0xE0,0x00,0x00,0x00,0x00, // O
|
||||||
|
|
||||||
|
0x00,0x00,0x00,0x00,0x1F,0xF0,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0F,0xF0,0x0F,0xF0,0x0E,0x00,0x0E,0x00,0x0E,0x00,0x0E,0x00,0x1F,0x00,0x00,0x00,0x00,0x00, // P
|
||||||
|
0x00,0x00,0x00,0x00,0x03,0xE0,0x0F,0x78,0x0E,0x38,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x7C,0x1C,0xFC,0x0F,0xF8,0x0F,0xF8,0x00,0x38,0x00,0xFC,0x00,0x00, // Q
|
||||||
|
0x00,0x00,0x00,0x00,0x1F,0xF0,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0F,0xF0,0x0F,0xF0,0x0E,0x70,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x1E,0x38,0x00,0x00,0x00,0x00, // R
|
||||||
|
0x00,0x00,0x00,0x00,0x0F,0xF0,0x1C,0x38,0x1C,0x38,0x1C,0x38,0x1C,0x00,0x0F,0xE0,0x07,0xF0,0x00,0x38,0x1C,0x38,0x1C,0x38,0x1C,0x38,0x0F,0xF0,0x00,0x00,0x00,0x00, // S
|
||||||
|
0x00,0x00,0x00,0x00,0x1F,0xFC,0x19,0xCC,0x11,0xC4,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x07,0xF0,0x00,0x00,0x00,0x00, // T
|
||||||
|
0x00,0x00,0x00,0x00,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x0F,0xE0,0x00,0x00,0x00,0x00, // U
|
||||||
|
0x00,0x00,0x00,0x00,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x0E,0xE0,0x07,0xC0,0x03,0x80,0x00,0x00,0x00,0x00, // V
|
||||||
|
0x00,0x00,0x00,0x00,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x9C,0x1C,0x9C,0x1C,0x9C,0x0F,0xF8,0x0F,0xF8,0x07,0x70,0x07,0x70,0x00,0x00,0x00,0x00, // W
|
||||||
|
0x00,0x00,0x00,0x00,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x0E,0xE0,0x07,0xC0,0x03,0x80,0x03,0x80,0x07,0xC0,0x0E,0xE0,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x00,0x00,0x00,0x00, // X
|
||||||
|
0x00,0x00,0x00,0x00,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x0E,0xE0,0x07,0xC0,0x03,0x80,0x03,0x80,0x03,0x80,0x03,0x80,0x0F,0xE0,0x00,0x00,0x00,0x00, // Y
|
||||||
|
0x00,0x00,0x00,0x00,0x1F,0xF8,0x1C,0x38,0x18,0x38,0x10,0x70,0x00,0xE0,0x01,0xC0,0x03,0x80,0x07,0x00,0x0E,0x08,0x1C,0x18,0x1C,0x38,0x1F,0xF8,0x00,0x00,0x00,0x00, // Z
|
||||||
|
0x00,0x00,0x00,0x00,0x07,0xF0,0x07,0x00,0x07,0x00,0x07,0x00,0x07,0x00,0x07,0x00,0x07,0x00,0x07,0x00,0x07,0x00,0x07,0x00,0x07,0x00,0x07,0xF0,0x00,0x00,0x00,0x00, // [
|
||||||
|
0x00,0x00,0x00,0x00,0x10,0x00,0x18,0x00,0x1C,0x00,0x0E,0x00,0x07,0x00,0x03,0x80,0x01,0xC0,0x00,0xE0,0x00,0x70,0x00,0x38,0x00,0x1C,0x00,0x07,0x00,0x00,0x00,0x00, // <Backslash>
|
||||||
|
0x00,0x00,0x00,0x00,0x07,0xF0,0x00,0x70,0x00,0x70,0x00,0x70,0x00,0x70,0x00,0x70,0x00,0x70,0x00,0x70,0x00,0x70,0x00,0x70,0x00,0x70,0x07,0xF0,0x00,0x00,0x00,0x00, // ]
|
||||||
|
0x00,0x00,0x01,0x80,0x03,0xC0,0x07,0xE0,0x0E,0x70,0x1C,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // ^
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0xFF,0x7F,0xFF, // _
|
||||||
|
|
||||||
|
0x00,0x00,0x00,0x00,0x1C,0x00,0x1C,0x00,0x07,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // '
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xE0,0x00,0x70,0x00,0x70,0x0F,0xF0,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x0F,0xD8,0x00,0x00,0x00,0x00, // a
|
||||||
|
0x00,0x00,0x00,0x00,0x1E,0x00,0x0E,0x00,0x0E,0x00,0x0E,0x00,0x0F,0xF0,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x1B,0xF0,0x00,0x00,0x00,0x00, // b
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xE0,0x1C,0x70,0x1C,0x70,0x1C,0x00,0x1C,0x00,0x1C,0x70,0x1C,0x70,0x0F,0xE0,0x00,0x00,0x00,0x00, // c
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0xF8,0x00,0x70,0x00,0x70,0x00,0x70,0x0F,0xF0,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x0F,0xD8,0x00,0x00,0x00,0x00, // d
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xE0,0x1C,0x70,0x1C,0x70,0x1F,0xF0,0x1C,0x00,0x1C,0x70,0x1C,0x70,0x0F,0xE0,0x00,0x00,0x00,0x00, // e
|
||||||
|
0x00,0x00,0x00,0x00,0x03,0xE0,0x07,0x70,0x07,0x70,0x07,0x00,0x07,0x00,0x1F,0xE0,0x1F,0xE0,0x07,0x00,0x07,0x00,0x07,0x00,0x07,0x00,0x1F,0xC0,0x00,0x00,0x00,0x00, // f
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xD8,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x0F,0xF0,0x07,0xF0,0x00,0x70,0x1C,0x70,0x0F,0xE0, // g
|
||||||
|
0x00,0x00,0x00,0x00,0x1E,0x00,0x0E,0x00,0x0E,0x00,0x0E,0x00,0x0E,0xF0,0x0F,0x38,0x0F,0x38,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x1E,0x38,0x00,0x00,0x00,0x00, // h
|
||||||
|
0x00,0x00,0x00,0x00,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x00,0x00,0x0F,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x0F,0xF8,0x00,0x00,0x00,0x00, // i
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x70,0x00,0x70,0x00,0x70,0x00,0x00,0x03,0xF0,0x00,0x70,0x00,0x70,0x00,0x70,0x00,0x70,0x00,0x70,0x00,0x70,0x1C,0x70,0x0C,0xF0,0x07,0xE0, // j
|
||||||
|
0x00,0x00,0x00,0x00,0x1E,0x00,0x0E,0x00,0x0E,0x00,0x0E,0x00,0x0E,0x38,0x0E,0x70,0x0E,0xE0,0x0F,0xC0,0x0E,0xE0,0x0E,0x70,0x0E,0x38,0x1E,0x38,0x00,0x00,0x00,0x00, // k
|
||||||
|
0x00,0x00,0x00,0x00,0x0F,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x0F,0xF8,0x00,0x00,0x00,0x00, // l
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0xF8,0x1C,0x9C,0x1C,0x9C,0x1C,0x9C,0x1C,0x9C,0x1C,0x9C,0x1C,0x9C,0x1C,0x9C,0x00,0x00,0x00,0x00, // m
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0xE0,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x00,0x00,0x00,0x00, // n
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xE0,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x0F,0xE0,0x00,0x00,0x00,0x00, // o
|
||||||
|
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1B,0xF0,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0F,0xF0,0x0E,0x00,0x0E,0x00,0x1F,0x00, // p
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0xB0,0x38,0xE0,0x38,0xE0,0x38,0xE0,0x38,0xE0,0x38,0xE0,0x1F,0xE0,0x00,0xE0,0x00,0xE0,0x01,0xF0, // q
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1E,0xF0,0x0F,0xF8,0x0F,0x38,0x0E,0x00,0x0E,0x00,0x0E,0x00,0x0E,0x00,0x1F,0x00,0x00,0x00,0x00,0x00, // r
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xE0,0x1C,0x30,0x1C,0x30,0x0F,0x80,0x03,0xE0,0x18,0x70,0x18,0x70,0x0F,0xE0,0x00,0x00,0x00,0x00, // s
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x03,0x00,0x07,0x00,0x1F,0xF0,0x07,0x00,0x07,0x00,0x07,0x00,0x07,0x00,0x07,0x70,0x07,0x70,0x03,0xE0,0x00,0x00,0x00,0x00, // t
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x0F,0xD8,0x00,0x00,0x00,0x00, // u
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x1C,0x70,0x0E,0xE0,0x07,0xC0,0x03,0x80,0x00,0x00,0x00,0x00, // v
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x1C,0x9C,0x1C,0x9C,0x0F,0xF8,0x07,0x70,0x07,0x70,0x00,0x00,0x00,0x00, // w
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0xE0,0x1C,0xE0,0x0F,0xC0,0x07,0x80,0x07,0x80,0x0F,0xC0,0x1C,0xE0,0x1C,0xE0,0x00,0x00,0x00,0x00, // x
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x0E,0x38,0x07,0xF0,0x03,0xE0,0x00,0xE0,0x01,0xC0,0x1F,0x80, // y
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0xE0,0x18,0xE0,0x11,0xC0,0x03,0x80,0x07,0x00,0x0E,0x20,0x1C,0x60,0x1F,0xE0,0x00,0x00,0x00,0x00, // z
|
||||||
|
0x00,0x00,0x00,0x00,0x01,0xF8,0x03,0x80,0x03,0x80,0x03,0x80,0x07,0x00,0x1C,0x00,0x1C,0x00,0x07,0x00,0x03,0x80,0x03,0x80,0x03,0x80,0x01,0xF8,0x00,0x00,0x00,0x00, // {
|
||||||
|
0x00,0x00,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x00,0x00, // |
|
||||||
|
0x00,0x00,0x00,0x00,0x1F,0x80,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x00,0xE0,0x00,0x38,0x00,0x38,0x00,0xE0,0x01,0xC0,0x01,0xC0,0x01,0xC0,0x1F,0x80,0x00,0x00,0x00,0x00, // }
|
||||||
|
0x00,0x00,0x00,0x00,0x1F,0x1C,0x3B,0x9C,0x39,0xDC,0x38,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 // ~
|
||||||
|
};
|
||||||
|
|
||||||
|
// SevenSegNumFont.c
|
||||||
|
// Font Size : 32x50
|
||||||
|
// Memory usage : 2004 bytes
|
||||||
|
// # characters : 10
|
||||||
|
|
||||||
|
fontdatatype SevenSegNumFont[2004] PROGMEM={
|
||||||
|
0x20,0x32,0x30,0x0A,
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFE,0x00,0x01,0xFF,0xFF,0x00,0x03,0xFF,0xFF,0x80,0x01,0xFF,0xFF,0x60,0x0C,0xFF,0xFE,0xF0,0x1E,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3E,0x00,0x00,0x78,0x38,0x00,0x00,0x18,0x20,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x38,0x00,0x00,0x18,0x3E,0x00,0x00,0x78,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x1E,0x00,0x00,0xF0,0x0C,0xFF,0xFE,0x60,0x01,0xFF,0xFF,0x00,0x03,0xFF,0xFF,0x80,0x01,0xFF,0xFF,0x00,0x00,0xFF,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // 0
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0xF0,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x00,0x78,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x78,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x00,0xF0,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // 1
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFE,0x00,0x01,0xFF,0xFF,0x00,0x03,0xFF,0xFF,0x80,0x01,0xFF,0xFF,0x60,0x00,0xFF,0xFE,0xF0,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x00,0x78,0x01,0xFF,0xFE,0x18,0x03,0xFF,0xFF,0x88,0x0F,0xFF,0xFF,0xE0,0x27,0xFF,0xFF,0xC0,0x39,0xFF,0xFF,0x00,0x3E,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x1E,0x00,0x00,0x00,0x0C,0xFF,0xFE,0x00,0x01,0xFF,0xFF,0x00,0x03,0xFF,0xFF,0x80,0x01,0xFF,0xFF,0x00,0x00,0xFF,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // 2
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFE,0x00,0x01,0xFF,0xFF,0x00,0x03,0xFF,0xFF,0x80,0x01,0xFF,0xFF,0x60,0x00,0xFF,0xFE,0xF0,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x00,0x78,0x01,0xFF,0xFE,0x18,0x03,0xFF,0xFF,0x88,0x0F,0xFF,0xFF,0xE0,0x07,0xFF,0xFF,0xC0,0x01,0xFF,0xFF,0x18,0x00,0x00,0x00,0x78,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x00,0xF0,0x00,0xFF,0xFE,0x60,0x01,0xFF,0xFF,0x00,0x03,0xFF,0xFF,0x80,0x01,0xFF,0xFF,0x00,0x00,0xFF,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // 3
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x0C,0x00,0x00,0xF0,0x1E,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3E,0x00,0x00,0x78,0x39,0xFF,0xFE,0x18,0x23,0xFF,0xFF,0x88,0x0F,0xFF,0xFF,0xE0,0x07,0xFF,0xFF,0xC0,0x01,0xFF,0xFF,0x18,0x00,0x00,0x00,0x78,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x00,0xF0,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // 4
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFE,0x00,0x01,0xFF,0xFF,0x00,0x03,0xFF,0xFF,0x80,0x01,0xFF,0xFF,0x00,0x0C,0xFF,0xFE,0x00,0x1E,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3E,0x00,0x00,0x00,0x39,0xFF,0xFE,0x00,0x23,0xFF,0xFF,0x80,0x0F,0xFF,0xFF,0xE0,0x07,0xFF,0xFF,0xC0,0x01,0xFF,0xFF,0x18,0x00,0x00,0x00,0x78,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x00,0xF0,0x00,0xFF,0xFE,0x60,0x01,0xFF,0xFF,0x00,0x03,0xFF,0xFF,0x80,0x01,0xFF,0xFF,0x00,0x00,0xFF,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // 5
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFE,0x00,0x01,0xFF,0xFF,0x00,0x03,0xFF,0xFF,0x80,0x01,0xFF,0xFF,0x00,0x0C,0xFF,0xFE,0x00,0x1E,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3E,0x00,0x00,0x00,0x39,0xFF,0xFE,0x00,0x23,0xFF,0xFF,0x80,0x0F,0xFF,0xFF,0xE0,0x27,0xFF,0xFF,0xC0,0x39,0xFF,0xFF,0x18,0x3E,0x00,0x00,0x78,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x1E,0x00,0x00,0xF0,0x0C,0xFF,0xFE,0x60,0x01,0xFF,0xFF,0x00,0x03,0xFF,0xFF,0x80,0x01,0xFF,0xFF,0x00,0x00,0xFF,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // 6
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFE,0x00,0x01,0xFF,0xFF,0x00,0x03,0xFF,0xFF,0x80,0x01,0xFF,0xFF,0x60,0x00,0xFF,0xFE,0xF0,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x00,0x78,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x78,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x00,0xF0,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // 7
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFE,0x00,0x01,0xFF,0xFF,0x00,0x03,0xFF,0xFF,0x80,0x01,0xFF,0xFF,0x60,0x0C,0xFF,0xFE,0xF0,0x1E,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3E,0x00,0x00,0x78,0x39,0xFF,0xFE,0x18,0x23,0xFF,0xFF,0x88,0x0F,0xFF,0xFF,0xE0,0x27,0xFF,0xFF,0xC0,0x39,0xFF,0xFF,0x18,0x3E,0x00,0x00,0x78,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x1E,0x00,0x00,0xF0,0x0C,0xFF,0xFE,0x60,0x01,0xFF,0xFF,0x00,0x03,0xFF,0xFF,0x80,0x01,0xFF,0xFF,0x00,0x00,0xFF,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // 8
|
||||||
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFE,0x00,0x01,0xFF,0xFF,0x00,0x03,0xFF,0xFF,0x80,0x01,0xFF,0xFF,0x60,0x0C,0xFF,0xFE,0xF0,0x1E,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3F,0x00,0x01,0xF8,0x3E,0x00,0x00,0x78,0x39,0xFF,0xFE,0x18,0x23,0xFF,0xFF,0x88,0x0F,0xFF,0xFF,0xE0,0x07,0xFF,0xFF,0xC0,0x01,0xFF,0xFF,0x18,0x00,0x00,0x00,0x78,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x01,0xF8,0x00,0x00,0x00,0xF0,0x00,0xFF,0xFE,0x60,0x01,0xFF,0xFF,0x00,0x03,0xFF,0xFF,0x80,0x01,0xFF,0xFF,0x00,0x00,0xFF,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // 9
|
||||||
|
};
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,70 @@
|
||||||
|
Version:
|
||||||
|
1.0 12 Feb 2012 - initial release
|
||||||
|
1.1 09 Apr 2012 - added support for more display modules
|
||||||
|
added support for String objects to print()
|
||||||
|
fixed a bug in printNumF()
|
||||||
|
added optional minimum length and filler character to pintNumI() and printNumF()
|
||||||
|
added option to disable unneeded controller chip code to minimize memory use
|
||||||
|
1.2 14 Apr 2012 - added support for more display modules
|
||||||
|
added getDisplayXSize() and getDisplayYSize()
|
||||||
|
1.3 03 Jun 2012 - added support for more display modules
|
||||||
|
fixed a bug in the ITDB02-25H init
|
||||||
|
2.0 21 Jan 2013 - added support for Arduino Due and Arduino Leonardo
|
||||||
|
added support for the "AquaLEDSource All in One Super Screw Shield" on chipKit Max32
|
||||||
|
added support for more display modules
|
||||||
|
fixed a bug in printNumF()
|
||||||
|
optimized drawLine()
|
||||||
|
optimized 16bit data transfer
|
||||||
|
optimized some 8bit data transfer
|
||||||
|
added option to use pre-defined RGB565 values with setColor(), setBackColor() and fillScr()
|
||||||
|
added functions getColor(), getBackColor(), getFont(), getFontXsize() and getFontYsize()
|
||||||
|
added 16 VGA standard colors as pre-defined color literal
|
||||||
|
rearranged the manual to keep related functions grouped together
|
||||||
|
2.01 05 Feb 2013 - fixed a bug that only shows up on linux-based systems
|
||||||
|
2.1 29 Mar 2013 - added support for Electronics Lees 3.2" display shield Rev B on Arduinos
|
||||||
|
fixed a bug that only shows up on some linux-based systems
|
||||||
|
added built-in support for using display shields designed for Arduino Uno on Arduino Mega
|
||||||
|
changed license to CC BY-NC-SA 3.0
|
||||||
|
2.2 01 May 2013 - added support for ElecFreaks TFT01-5.0 and TFT01-7.0
|
||||||
|
added support for chipKit uC32
|
||||||
|
restructured files slightly
|
||||||
|
2.3 08 May 2013 - added support for transparent text background
|
||||||
|
fixed a bug in printNumF()
|
||||||
|
2.4 11 May 2013 - added basic support for multiple display modules from Coldtears
|
||||||
|
2.41 12 May 2013 - made some changes to facilitate the use of add-on libraries
|
||||||
|
2.42 17 Jun 2013 - fixed a small bug in drawBitmap()
|
||||||
|
fixed a bug in the 16-bit Arduino Due driver
|
||||||
|
2.5 25 Jul 2013 - fixed a bug where some lines were 1 pixel too short
|
||||||
|
fixed a bug in the init code for 7" modules that were only visible in portrait mode
|
||||||
|
added basic support for more display modules from Coldtears
|
||||||
|
updated ImageConverter565 to v2.0
|
||||||
|
added ImgConv v1.0 - Command line image converter
|
||||||
|
added manual for image converters
|
||||||
|
fixed some omissions in memorysaver.h
|
||||||
|
2.51 02 Aug 2013 - updated ImageConverter565 to v2.1
|
||||||
|
fixed a typo in the tools manual name
|
||||||
|
2.6 07 Sep 2013 - added support for 4 more ElecFreaks display modules
|
||||||
|
added support for Watterott electronics MI0283QT-9A display module
|
||||||
|
fixed a bug in the "Arduino (ARM)/UTFT_Demo_480x272" example
|
||||||
|
2.7 03 Nov 2013 - added support Bobuino (ATmega1284P)
|
||||||
|
optimized Arduino Due driver slightly
|
||||||
|
2.71 06 Dec 2013 - added support for ElecFreaks TFT01-4.3
|
||||||
|
added support for Coldtears 3.5" and 4.0" modules
|
||||||
|
minor changes to the library constructor
|
||||||
|
removed unused variables
|
||||||
|
2.72 12 Dec 2013 - added support for ElecFreaks TFT-2.4 v1.2
|
||||||
|
2.73 16 Feb 2014 - added support for Teensy 3.x Boards
|
||||||
|
added support for three display modules from ElecHouse
|
||||||
|
minor bugfixes
|
||||||
|
added three new functions for CPLD-based displays
|
||||||
|
2.74 20 Feb 2014 - fixed a bug in the serial driver
|
||||||
|
2.75 28 Mar 2014 - added support for Coldtears 5" and 7" CPLD modules
|
||||||
|
2.76 04 May 2014 - added support for several display modules from DisplayModule
|
||||||
|
2.77 24 May 2014 - fixed a bug with the ElecHouse 7" display and shield combination
|
||||||
|
2.78 08 Sep 2014 - fixed compatibility-issues with Arduino 1.5.7
|
||||||
|
2.79 28 Sep 2014 - added support for more display shields and modules from ElecFreaks
|
||||||
|
removed all support for display modules from GE-Tech (including the ILI9320 driver)
|
||||||
|
2.80 17 May 2015 - added support TI CC3200 LaunchPad
|
||||||
|
fixed a bug with transparent text so it is faster than it was
|
||||||
|
updated tools to support TI CC3200 LaunchPad
|
||||||
|
2.81 21 May 2015 - fixed a bug which stopped the library from compiling with Arduino 1.6.x
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,275 @@
|
||||||
|
/*
|
||||||
|
UTFT.h - Multi-Platform library support for Color TFT LCD Boards
|
||||||
|
Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
|
||||||
|
|
||||||
|
This library is the continuation of my ITDB02_Graph, ITDB02_Graph16
|
||||||
|
and RGB_GLCD libraries for Arduino and chipKit. As the number of
|
||||||
|
supported display modules and controllers started to increase I felt
|
||||||
|
it was time to make a single, universal library as it will be much
|
||||||
|
easier to maintain in the future.
|
||||||
|
|
||||||
|
Basic functionality of this library was origianlly based on the
|
||||||
|
demo-code provided by ITead studio (for the ITDB02 modules) and
|
||||||
|
NKC Electronics (for the RGB GLCD module/shield).
|
||||||
|
|
||||||
|
This library supports a number of 8bit, 16bit and serial graphic
|
||||||
|
displays, and will work with both Arduino, chipKit boards and select
|
||||||
|
TI LaunchPads. For a full list of tested display modules and controllers,
|
||||||
|
see the document UTFT_Supported_display_modules_&_controllers.pdf.
|
||||||
|
|
||||||
|
When using 8bit and 16bit display modules there are some
|
||||||
|
requirements you must adhere to. These requirements can be found
|
||||||
|
in the document UTFT_Requirements.pdf.
|
||||||
|
There are no special requirements when using serial displays.
|
||||||
|
|
||||||
|
You can find the latest version of the library at
|
||||||
|
http://www.RinkyDinkElectronics.com/
|
||||||
|
|
||||||
|
This library is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the CC BY-NC-SA 3.0 license.
|
||||||
|
Please see the included documents for further information.
|
||||||
|
|
||||||
|
Commercial use of this library requires you to buy a license that
|
||||||
|
will allow commercial use. This includes using the library,
|
||||||
|
modified or not, as a tool to sell products.
|
||||||
|
|
||||||
|
The license applies to all part of the library including the
|
||||||
|
examples and tools supplied with the library.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef UTFT_h
|
||||||
|
#define UTFT_h
|
||||||
|
|
||||||
|
#define UTFT_VERSION 281
|
||||||
|
|
||||||
|
#define LEFT 0
|
||||||
|
#define RIGHT 9999
|
||||||
|
#define CENTER 9998
|
||||||
|
|
||||||
|
#define PORTRAIT 0
|
||||||
|
#define LANDSCAPE 1
|
||||||
|
|
||||||
|
#define HX8347A 0
|
||||||
|
#define ILI9327 1
|
||||||
|
#define SSD1289 2
|
||||||
|
#define ILI9325C 3
|
||||||
|
#define ILI9325D_8 4
|
||||||
|
#define ILI9325D_16 5
|
||||||
|
#define HX8340B_8 6
|
||||||
|
#define HX8340B_S 7
|
||||||
|
#define HX8352A 8
|
||||||
|
#define ST7735 9
|
||||||
|
#define PCF8833 10
|
||||||
|
#define S1D19122 11
|
||||||
|
#define SSD1963_480 12
|
||||||
|
#define SSD1963_800 13
|
||||||
|
#define S6D1121_8 14
|
||||||
|
#define S6D1121_16 15
|
||||||
|
#define SSD1289LATCHED 16
|
||||||
|
//#define NOT_IN_USE 17
|
||||||
|
//#define NOT_IN_USE 18
|
||||||
|
#define SSD1289_8 19
|
||||||
|
#define SSD1963_800ALT 20
|
||||||
|
#define ILI9481 21
|
||||||
|
#define ILI9325D_16ALT 22
|
||||||
|
#define S6D0164 23
|
||||||
|
#define ST7735S 24
|
||||||
|
#define ILI9341_S5P 25
|
||||||
|
#define ILI9341_S4P 26
|
||||||
|
#define R61581 27
|
||||||
|
#define ILI9486 28
|
||||||
|
#define CPLD 29
|
||||||
|
#define HX8353C 30
|
||||||
|
#define ST7735_ALT 31
|
||||||
|
|
||||||
|
#define ITDB32 0 // HX8347-A (16bit)
|
||||||
|
#define ITDB32WC 1 // ILI9327 (16bit)
|
||||||
|
#define TFT01_32W 1 // ILI9327 (16bit)
|
||||||
|
#define ITDB32S 2 // SSD1289 (16bit)
|
||||||
|
#define TFT01_32 2 // SSD1289 (16bit)
|
||||||
|
#define CTE32 2 // SSD1289 (16bit)
|
||||||
|
#define ITDB24 3 // ILI9325C (8bit)
|
||||||
|
#define ITDB24D 4 // ILI9325D (8bit)
|
||||||
|
#define ITDB24DWOT 4 // ILI9325D (8bit)
|
||||||
|
#define ITDB28 4 // ILI9325D (8bit)
|
||||||
|
#define TFT01_24_8 4 // ILI9325D (8bit)
|
||||||
|
#define DMTFT24104 4 // ILI9325D (8bit)
|
||||||
|
#define DMTFT28103 4 // ILI9325D (8bit)
|
||||||
|
#define TFT01_24_16 5 // ILI9325D (16bit)
|
||||||
|
#define ITDB22 6 // HX8340-B (8bit)
|
||||||
|
#define ITDB22SP 7 // HX8340-B (Serial 4Pin)
|
||||||
|
#define ITDB32WD 8 // HX8352-A (16bit)
|
||||||
|
#define TFT01_32WD 8 // HX8352-A (16bit)
|
||||||
|
#define CTE32W 8 // HX8352-A (16bit)
|
||||||
|
#define ITDB18SP 9 // ST7735 (Serial 5Pin)
|
||||||
|
#define LPH9135 10 // PCF8833 (Serial 5Pin)
|
||||||
|
#define ITDB25H 11 // S1D19122 (16bit)
|
||||||
|
#define ITDB43 12 // SSD1963 (16bit) 480x272
|
||||||
|
#define TFT01_43 12 // SSD1963 (16bit) 480x272
|
||||||
|
#define ITDB50 13 // SSD1963 (16bit) 800x480
|
||||||
|
#define TFT01_50 13 // SSD1963 (16bit) 800x480
|
||||||
|
#define CTE50 13 // SSD1963 (16bit) 800x480
|
||||||
|
#define EHOUSE50 13 // SSD1963 (16bit) 800x480
|
||||||
|
#define ITDB24E_8 14 // S6D1121 (8bit)
|
||||||
|
#define TFT01_24R2 14 // S6D1121 (8bit)
|
||||||
|
#define ITDB24E_16 15 // S6D1121 (16bit)
|
||||||
|
#define INFINIT32 16 // SSD1289 (Latched 16bit) -- Legacy, will be removed later
|
||||||
|
#define ELEE32_REVA 16 // SSD1289 (Latched 16bit)
|
||||||
|
//#define NOT_IN_USE 17
|
||||||
|
//#define NOT_IN_USE 18
|
||||||
|
#define ELEE32_REVB 19 // SSD1289 (8bit)
|
||||||
|
#define TFT01_70 20 // SSD1963 (16bit) 800x480 Alternative Init
|
||||||
|
#define CTE70 20 // SSD1963 (16bit) 800x480 Alternative Init
|
||||||
|
#define EHOUSE70 20 // SSD1963 (16bit) 800x480 Alternative Init
|
||||||
|
#define CTE32HR 21 // ILI9481 (16bit)
|
||||||
|
#define CTE28 22 // ILI9325D (16bit) Alternative Init
|
||||||
|
#define TFT01_28 22 // ILI9325D (16bit) Alternative Init
|
||||||
|
#define CTE22 23 // S6D0164 (8bit)
|
||||||
|
#define TFT01_22 23 // S6D0164 (8bit)
|
||||||
|
#define DMTFT22102 23 // S6D0164 (8bit)
|
||||||
|
#define TFT01_18SP 24 // ST7735S (Serial 5Pin)
|
||||||
|
#define TFT01_22SP 25 // ILI9341 (Serial 5Pin)
|
||||||
|
#define TFT01_24SP 25 // ILI9341 (Serial 5Pin)
|
||||||
|
#define TFT22SHLD 25 // ILI9341 (Serial 5Pin)
|
||||||
|
#define DMTFT28105 25 // ILI9341 (Serial 5Pin)
|
||||||
|
#define MI0283QT9 26 // ILI9341 (Serial 4Pin)
|
||||||
|
#define CTE35IPS 27 // R61581 (16bit)
|
||||||
|
#define CTE40 28 // ILI9486 (16bit)
|
||||||
|
#define EHOUSE50CPLD 29 // CPLD (16bit)
|
||||||
|
#define CTE50CPLD 29 // CPLD (16bit)
|
||||||
|
#define CTE70CPLD 29 // CPLD (16bit)
|
||||||
|
#define DMTFT18101 30 // HX8353C (Serial 5Pin)
|
||||||
|
#define TFT18SHLD 31 // ST7735 (Serial 5Pin) Alternative Init
|
||||||
|
|
||||||
|
#define SERIAL_4PIN 4
|
||||||
|
#define SERIAL_5PIN 5
|
||||||
|
#define LATCHED_16 17
|
||||||
|
|
||||||
|
#define NOTINUSE 255
|
||||||
|
|
||||||
|
//*********************************
|
||||||
|
// COLORS
|
||||||
|
//*********************************
|
||||||
|
// VGA color palette
|
||||||
|
#define VGA_BLACK 0x0000
|
||||||
|
#define VGA_WHITE 0xFFFF
|
||||||
|
#define VGA_RED 0xF800
|
||||||
|
#define VGA_GREEN 0x0400
|
||||||
|
#define VGA_BLUE 0x001F
|
||||||
|
#define VGA_SILVER 0xC618
|
||||||
|
#define VGA_GRAY 0x8410
|
||||||
|
#define VGA_MAROON 0x8000
|
||||||
|
#define VGA_YELLOW 0xFFE0
|
||||||
|
#define VGA_OLIVE 0x8400
|
||||||
|
#define VGA_LIME 0x07E0
|
||||||
|
#define VGA_AQUA 0x07FF
|
||||||
|
#define VGA_TEAL 0x0410
|
||||||
|
#define VGA_NAVY 0x0010
|
||||||
|
#define VGA_FUCHSIA 0xF81F
|
||||||
|
#define VGA_PURPLE 0x8010
|
||||||
|
#define VGA_TRANSPARENT 0xFFFFFFFF
|
||||||
|
|
||||||
|
#if defined(__AVR__)
|
||||||
|
#include "Arduino.h"
|
||||||
|
#include "hardware/avr/HW_AVR_defines.h"
|
||||||
|
#elif defined(__PIC32MX__)
|
||||||
|
#include "WProgram.h"
|
||||||
|
#include "hardware/pic32/HW_PIC32_defines.h"
|
||||||
|
#elif defined(__arm__)
|
||||||
|
#include "Arduino.h" // This will include energia.h where appropriate
|
||||||
|
#include "hardware/arm/HW_ARM_defines.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
struct _current_font
|
||||||
|
{
|
||||||
|
uint8_t* font;
|
||||||
|
uint8_t x_size;
|
||||||
|
uint8_t y_size;
|
||||||
|
uint8_t offset;
|
||||||
|
uint8_t numchars;
|
||||||
|
};
|
||||||
|
|
||||||
|
class UTFT
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
UTFT();
|
||||||
|
UTFT(byte model, int RS, int WR, int CS, int RST, int SER=0);
|
||||||
|
void InitLCD(byte orientation=LANDSCAPE);
|
||||||
|
void clrScr();
|
||||||
|
void drawPixel(int x, int y);
|
||||||
|
void drawLine(int x1, int y1, int x2, int y2);
|
||||||
|
void fillScr(byte r, byte g, byte b);
|
||||||
|
void fillScr(word color);
|
||||||
|
void drawRect(int x1, int y1, int x2, int y2);
|
||||||
|
void drawRoundRect(int x1, int y1, int x2, int y2);
|
||||||
|
void fillRect(int x1, int y1, int x2, int y2);
|
||||||
|
void fillRoundRect(int x1, int y1, int x2, int y2);
|
||||||
|
void drawCircle(int x, int y, int radius);
|
||||||
|
void fillCircle(int x, int y, int radius);
|
||||||
|
void setColor(byte r, byte g, byte b);
|
||||||
|
void setColor(word color);
|
||||||
|
word getColor();
|
||||||
|
void setBackColor(byte r, byte g, byte b);
|
||||||
|
void setBackColor(uint32_t color);
|
||||||
|
word getBackColor();
|
||||||
|
void print(char *st, int x, int y, int deg=0);
|
||||||
|
void print(String st, int x, int y, int deg=0);
|
||||||
|
void printNumI(long num, int x, int y, int length=0, char filler=' ');
|
||||||
|
void printNumF(double num, byte dec, int x, int y, char divider='.', int length=0, char filler=' ');
|
||||||
|
void setFont(uint8_t* font);
|
||||||
|
uint8_t* getFont();
|
||||||
|
uint8_t getFontXsize();
|
||||||
|
uint8_t getFontYsize();
|
||||||
|
void drawBitmap(int x, int y, int sx, int sy, bitmapdatatype data, int scale=1);
|
||||||
|
void drawBitmap(int x, int y, int sx, int sy, bitmapdatatype data, int deg, int rox, int roy);
|
||||||
|
void lcdOff();
|
||||||
|
void lcdOn();
|
||||||
|
void setContrast(char c);
|
||||||
|
int getDisplayXSize();
|
||||||
|
int getDisplayYSize();
|
||||||
|
void setBrightness(byte br);
|
||||||
|
void setDisplayPage(byte page);
|
||||||
|
void setWritePage(byte page);
|
||||||
|
|
||||||
|
/*
|
||||||
|
The functions and variables below should not normally be used.
|
||||||
|
They have been left publicly available for use in add-on libraries
|
||||||
|
that might need access to the lower level functions of UTFT.
|
||||||
|
|
||||||
|
Please note that these functions and variables are not documented
|
||||||
|
and I do not provide support on how to use them.
|
||||||
|
*/
|
||||||
|
byte fch, fcl, bch, bcl;
|
||||||
|
byte orient;
|
||||||
|
long disp_x_size, disp_y_size;
|
||||||
|
byte display_model, display_transfer_mode, display_serial_mode;
|
||||||
|
regtype *P_RS, *P_WR, *P_CS, *P_RST, *P_SDA, *P_SCL, *P_ALE;
|
||||||
|
regsize B_RS, B_WR, B_CS, B_RST, B_SDA, B_SCL, B_ALE;
|
||||||
|
byte __p1, __p2, __p3, __p4, __p5;
|
||||||
|
_current_font cfont;
|
||||||
|
boolean _transparent;
|
||||||
|
|
||||||
|
void LCD_Writ_Bus(char VH,char VL, byte mode);
|
||||||
|
void LCD_Write_COM(char VL);
|
||||||
|
void LCD_Write_DATA(char VH,char VL);
|
||||||
|
void LCD_Write_DATA(char VL);
|
||||||
|
void LCD_Write_COM_DATA(char com1,int dat1);
|
||||||
|
void _hw_special_init();
|
||||||
|
void setPixel(word color);
|
||||||
|
void drawHLine(int x, int y, int l);
|
||||||
|
void drawVLine(int x, int y, int l);
|
||||||
|
void printChar(byte c, int x, int y);
|
||||||
|
void setXY(word x1, word y1, word x2, word y2);
|
||||||
|
void clrXY();
|
||||||
|
void rotateChar(byte c, int x, int y, int pos, int deg);
|
||||||
|
void _set_direction_registers(byte mode);
|
||||||
|
void _fast_fill_16(int ch, int cl, long pix);
|
||||||
|
void _fast_fill_8(int ch, long pix);
|
||||||
|
void _convert_float(char *buf, double num, int width, byte prec);
|
||||||
|
|
||||||
|
#if defined(ENERGIA)
|
||||||
|
volatile uint32_t* portOutputRegister(int value);
|
||||||
|
#endif
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
|
@ -0,0 +1,67 @@
|
||||||
|
// UTFT_Bitmap
|
||||||
|
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
|
||||||
|
// web: http://www.RinkyDinkElectronics.com/
|
||||||
|
//
|
||||||
|
// This program is a demo of the drawBitmap()-function.
|
||||||
|
//
|
||||||
|
// This demo was made to work on the 320x240 modules.
|
||||||
|
// Any other size displays may cause strange behaviour.
|
||||||
|
//
|
||||||
|
// This program requires the UTFT library.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include <UTFT.h>
|
||||||
|
|
||||||
|
// Declare which fonts we will be using
|
||||||
|
extern uint8_t SmallFont[];
|
||||||
|
|
||||||
|
// Set the pins to the correct ones for your development shield
|
||||||
|
// ------------------------------------------------------------
|
||||||
|
// Standard Arduino Mega/Due shield : <display model>,38,39,40,41
|
||||||
|
// CTE TFT LCD/SD Shield for Arduino Due : <display model>,25,26,27,28
|
||||||
|
// Teensy 3.x TFT Test Board : <display model>,23,22, 3, 4
|
||||||
|
// ElecHouse TFT LCD/SD Shield for Arduino Due : <display model>,22,23,31,33
|
||||||
|
//
|
||||||
|
// Remember to change the model parameter to suit your display module!
|
||||||
|
UTFT myGLCD(ITDB32S,38,39,40,41);
|
||||||
|
|
||||||
|
extern unsigned short info[0x400];
|
||||||
|
extern unsigned short icon[0x400];
|
||||||
|
extern unsigned short tux[0x400];
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
myGLCD.InitLCD();
|
||||||
|
myGLCD.setFont(SmallFont);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
myGLCD.fillScr(255, 255, 255);
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.print(" *** A 10 by 7 grid of a 32x32 icon *** ", CENTER, 228);
|
||||||
|
for (int x=0; x<10; x++)
|
||||||
|
for (int y=0; y<7; y++)
|
||||||
|
myGLCD.drawBitmap (x*32, y*32, 32, 32, info);
|
||||||
|
|
||||||
|
delay(5000);
|
||||||
|
|
||||||
|
myGLCD.fillScr(255, 255, 255);
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.print(" Two different icons in scale 1 to 4 ", CENTER, 228);
|
||||||
|
int x=0;
|
||||||
|
for (int s=0; s<4; s++)
|
||||||
|
{
|
||||||
|
x+=(s*32);
|
||||||
|
myGLCD.drawBitmap (x, 0, 32, 32, tux, s+1);
|
||||||
|
}
|
||||||
|
x=0;
|
||||||
|
for (int s=4; s>0; s--)
|
||||||
|
{
|
||||||
|
myGLCD.drawBitmap (x, 224-(s*32), 32, 32, icon, s);
|
||||||
|
x+=(s*32);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(5000);
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,71 @@
|
||||||
|
// Generated by : ImageConverter 565 v1.0
|
||||||
|
// Generated from: taskmgr.png
|
||||||
|
// Time generated: 11.10.2010 22:51:23
|
||||||
|
// Size : 2 048 Bytes
|
||||||
|
|
||||||
|
const unsigned short icon[0x400] ={
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF7D, 0xCE79, 0xBDD7, 0xAD75, // 0x0010 (16)
|
||||||
|
0xAD55, 0xAD75, 0xBDF7, 0xD6BA, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0020 (32)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xC638, 0x9492, 0x8C51, 0x9492, 0xA514, 0xA534, // 0x0030 (48)
|
||||||
|
0xA534, 0xA534, 0x9CF3, 0x8C71, 0x8430, 0x9CD3, 0xD69A, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0040 (64)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xCE59, 0x8410, 0x9492, 0xB5B6, 0xC618, 0xBDD7, 0xAD75, 0xA514, // 0x0050 (80)
|
||||||
|
0xA514, 0xA4F4, 0xAD55, 0xB5B6, 0xBDD7, 0xAD55, 0x8430, 0x8C71, 0xDEFB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0060 (96)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0x9CD3, 0x8430, 0xBDF7, 0xC618, 0xAD75, 0x94F2, 0x8CF1, 0x84B0, 0x8CD1, // 0x0070 (112)
|
||||||
|
0x9612, 0x8CB1, 0x7C6F, 0x7C8F, 0x8490, 0xA533, 0xBDF7, 0xB596, 0x7BEF, 0xB596, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0080 (128)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, 0x8430, 0x9CF3, 0xCE39, 0xA514, 0x94B2, 0x9E93, 0x94F2, 0x8CD1, 0x8CB1, 0x9D12, // 0x0090 (144)
|
||||||
|
0x9F74, 0x9D52, 0x8450, 0x7C8F, 0x73AE, 0x740E, 0x73CE, 0x9CD3, 0xC638, 0x8C51, 0x9CD3, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00A0 (160)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0x8430, 0xA534, 0xBDF7, 0x8CB1, 0x8C31, 0x9DB3, 0xA735, 0x9D13, 0x8CB1, 0x8C71, 0x9D13, // 0x00B0 (176)
|
||||||
|
0xB756, 0xA5D4, 0x8C71, 0x8490, 0x8390, 0x7C70, 0x73EE, 0x6B4D, 0x8450, 0xBDF7, 0x8C71, 0x9CF3, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00C0 (192)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x94B2, 0x9CF3, 0xBDD7, 0x8490, 0x8CF1, 0x9D72, 0xA694, 0xAE94, 0x9DD3, 0xA593, 0xA553, 0x9592, // 0x00D0 (208)
|
||||||
|
0x9672, 0x75CE, 0x5BAA, 0x64EB, 0x5D8C, 0x5BCA, 0x4B69, 0x634C, 0x748D, 0x7C4F, 0xBE18, 0x8430, 0xB5B6, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00E0 (224)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xC618, 0x8410, 0xBDF7, 0x8410, 0x83F0, 0x94F2, 0x9613, 0x9D13, 0xAE55, 0x9D12, 0x750E, 0x55CB, 0x4BC8, // 0x00F0 (240)
|
||||||
|
0x4447, 0x3BC6, 0x4B67, 0x44E8, 0x3CE8, 0x3325, 0x20E2, 0x2B45, 0x43E7, 0x3946, 0x732D, 0xC5F8, 0x7BCF, 0xE71C, 0xFFFF, 0xFFFF, // 0x0100 (256)
|
||||||
|
0xFFFF, 0xFFFF, 0xF7BE, 0x7BEF, 0xBDB6, 0x9533, 0x8D71, 0x9552, 0x9E73, 0x9DD3, 0x94B2, 0x6D6D, 0x4BA8, 0x44A8, 0x55EA, 0x5D2A, // 0x0110 (272)
|
||||||
|
0x43E7, 0x4327, 0x46CA, 0x4B87, 0x42C6, 0x4E0A, 0x4D09, 0x4468, 0x4548, 0x3386, 0x2B25, 0x7C6F, 0xAD35, 0x9492, 0xFFFF, 0xFFFF, // 0x0120 (288)
|
||||||
|
0xFFDF, 0xFFFF, 0xBDD7, 0x8C71, 0xAD75, 0x8CF0, 0x8D71, 0x8D51, 0x9DF3, 0x740E, 0x21C4, 0x33E5, 0x558A, 0x554A, 0x650A, 0x566B, // 0x0130 (304)
|
||||||
|
0x43E7, 0x21C3, 0x3345, 0x2283, 0x1962, 0x3C87, 0x3386, 0x2163, 0x3345, 0x3346, 0x33A6, 0x32C6, 0x9CB3, 0x7BEF, 0xDEDB, 0xFFFF, // 0x0140 (320)
|
||||||
|
0xFFFF, 0xFFFF, 0x8430, 0xAD75, 0x8C31, 0x7C0F, 0x7BCF, 0x83F0, 0x636B, 0x0000, 0x0000, 0x4387, 0x462A, 0x4B27, 0x4B88, 0x4E8B, // 0x0150 (336)
|
||||||
|
0x42E6, 0x0000, 0x0020, 0x0100, 0x0000, 0x1121, 0x0040, 0x0000, 0x0941, 0x0000, 0x0020, 0x00E0, 0x5AAB, 0x94B2, 0x9CD3, 0xFFFF, // 0x0160 (352)
|
||||||
|
0xFFFF, 0xE71C, 0x8410, 0xB596, 0x7BEF, 0x7C6F, 0x84B0, 0x5B6B, 0x09E1, 0x0901, 0x1161, 0x3C06, 0x3D89, 0x32C5, 0x43E7, 0x470B, // 0x0170 (368)
|
||||||
|
0x4BC7, 0x0961, 0x11E2, 0x1282, 0x0961, 0x1262, 0x09E2, 0x0961, 0x12A2, 0x0961, 0x09C2, 0x0A01, 0x29E5, 0xA514, 0x7BEF, 0xFFDF, // 0x0180 (384)
|
||||||
|
0xFFFF, 0xBDD7, 0x9472, 0xA514, 0x6B4D, 0x7C6F, 0x634C, 0x0040, 0x0981, 0x0060, 0x00E0, 0x11E2, 0x10A1, 0x09C1, 0x19E3, 0x2B25, // 0x0190 (400)
|
||||||
|
0x22A3, 0x0060, 0x0120, 0x09E1, 0x0060, 0x09E1, 0x0120, 0x0060, 0x0A21, 0x0060, 0x0100, 0x01A0, 0x0040, 0x9CD3, 0x7BEF, 0xDEDB, // 0x01A0 (416)
|
||||||
|
0xFFFF, 0xA514, 0x9CF3, 0xB596, 0x73AE, 0x7C0F, 0x2945, 0x10A2, 0x2184, 0x18C3, 0x1923, 0x2184, 0x18C3, 0x21A4, 0x2964, 0x2905, // 0x01B0 (432)
|
||||||
|
0x2A25, 0x2104, 0x2965, 0x2A05, 0x2104, 0x2A05, 0x2985, 0x2104, 0x2A25, 0x2104, 0x2164, 0x29C4, 0x3166, 0xB5B6, 0x8410, 0xC618, // 0x01C0 (448)
|
||||||
|
0xFFFF, 0x9492, 0xA514, 0xDEDB, 0xC618, 0xA514, 0x8C51, 0x94B2, 0x9CB3, 0x9CF3, 0xA514, 0xA534, 0xAD75, 0xAD75, 0xB596, 0xB5D6, // 0x01D0 (464)
|
||||||
|
0xBDB7, 0xBDF7, 0xBDF7, 0xBDF7, 0xC618, 0xC5F8, 0xC5F8, 0xBDF7, 0xBDD7, 0xBDD7, 0xB5B6, 0xB596, 0xC638, 0xDEFB, 0x8430, 0xB596, // 0x01E0 (480)
|
||||||
|
0xFFFF, 0x8C51, 0x9CF3, 0xE73C, 0xDEFB, 0xD69A, 0xD6BA, 0xD6BA, 0xDEDB, 0xDEDB, 0xDEFB, 0xDF1B, 0xE71C, 0xE73C, 0xE73C, 0xE73C, // 0x01F0 (496)
|
||||||
|
0xEF5D, 0xEF5D, 0xEF5D, 0xEF7D, 0xEF7D, 0xEF7D, 0xEF7D, 0xEF5D, 0xEF5D, 0xEF5D, 0xE73C, 0xE73C, 0xDEFB, 0xE71C, 0x8C51, 0xAD75, // 0x0200 (512)
|
||||||
|
0xFFFF, 0x8C71, 0x9CD3, 0xDEFB, 0xAD75, 0x9492, 0x9CD3, 0xA4F3, 0xA514, 0xAD55, 0xAD75, 0xB596, 0xBDB6, 0xBDD7, 0xC5F7, 0xC618, // 0x0210 (528)
|
||||||
|
0xC638, 0xCE59, 0xCE59, 0xCE79, 0xD679, 0xD679, 0xCE79, 0xCE59, 0xCE59, 0xC638, 0xC618, 0xBDF7, 0xCE79, 0xE71C, 0x8C51, 0xB596, // 0x0220 (544)
|
||||||
|
0xFFFF, 0x9CD3, 0x9492, 0xAD55, 0x2965, 0x2104, 0x2124, 0x2145, 0x1945, 0x2165, 0x2165, 0x2186, 0x2186, 0x29A6, 0x29A6, 0x31C7, // 0x0230 (560)
|
||||||
|
0x39C7, 0x31E7, 0x31E7, 0x31E7, 0x3208, 0x3208, 0x31E7, 0x31E7, 0x29E7, 0x31C7, 0x39C7, 0x31A6, 0x4A49, 0xBDF7, 0x8C51, 0xBDF7, // 0x0240 (576)
|
||||||
|
0xFFFF, 0xB5B6, 0x8430, 0x7BEF, 0x0000, 0x0000, 0x0000, 0x2000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3800, 0x2000, // 0x0250 (592)
|
||||||
|
0x0000, 0x3000, 0x3800, 0x3000, 0x3800, 0x3800, 0x3800, 0x3000, 0x3800, 0x0800, 0x0000, 0x0000, 0x0000, 0xA514, 0x8430, 0xD6BA, // 0x0260 (608)
|
||||||
|
0xFFFF, 0xDEDB, 0x7BCF, 0x8430, 0x0020, 0x0000, 0x0000, 0x8000, 0xC800, 0xC000, 0xC800, 0xC820, 0xC820, 0xC820, 0xD020, 0x9800, // 0x0270 (624)
|
||||||
|
0x0000, 0xB820, 0xD020, 0xD020, 0xD020, 0xD020, 0xD020, 0xC820, 0xD020, 0x4800, 0x0000, 0x0000, 0x2144, 0xAD75, 0x8410, 0xF7BE, // 0x0280 (640)
|
||||||
|
0xFFFF, 0xFFFF, 0x7BEF, 0x8C71, 0x2945, 0x0000, 0x0000, 0x6800, 0xA800, 0xA800, 0xA800, 0xA800, 0xA800, 0xA800, 0xB000, 0x8000, // 0x0290 (656)
|
||||||
|
0x0000, 0x9800, 0xB000, 0xB000, 0xB000, 0xB000, 0xB000, 0xB000, 0xB000, 0x4000, 0x0000, 0x0000, 0x632C, 0xA534, 0x94B2, 0xFFFF, // 0x02A0 (672)
|
||||||
|
0xFFDF, 0xFFFF, 0xAD75, 0x73AE, 0x632C, 0x0000, 0x0000, 0x6920, 0xA9E0, 0xA1C0, 0xA9E0, 0xA9E0, 0xA9E0, 0xA9E0, 0xA9E0, 0x7960, // 0x02B0 (688)
|
||||||
|
0x0000, 0x99C0, 0xB200, 0xA9E0, 0xB200, 0xB200, 0xB1E0, 0xA9E0, 0xB200, 0x40C0, 0x0000, 0x1082, 0xAD75, 0x8410, 0xD69A, 0xFFFF, // 0x02C0 (704)
|
||||||
|
0xFFFF, 0xFFFF, 0xF79E, 0x630C, 0x8C51, 0x2965, 0x0000, 0x7400, 0xB620, 0xAE00, 0xB620, 0xB640, 0xB640, 0xB620, 0xB660, 0x84A0, // 0x02D0 (720)
|
||||||
|
0x0000, 0xA5A0, 0xBE60, 0xB660, 0xBE60, 0xBE60, 0xB660, 0xB640, 0xBE80, 0x4260, 0x0000, 0x6B6D, 0xAD75, 0x8430, 0xFFFF, 0xFFFF, // 0x02E0 (736)
|
||||||
|
0xFFFF, 0xFFDF, 0xFFFF, 0xB5B6, 0x632C, 0x8410, 0x0021, 0x7360, 0xBD40, 0xB520, 0xBD40, 0xBD60, 0xBD60, 0xBD40, 0xC580, 0x8C00, // 0x02F0 (752)
|
||||||
|
0x0000, 0xACE0, 0xC580, 0xC580, 0xC580, 0xC580, 0xC580, 0xBD60, 0xC5A0, 0x39C0, 0x2126, 0xBDF7, 0x73AE, 0xD6BA, 0xFFFF, 0xFFFF, // 0x0300 (768)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x7BEF, 0x7BEF, 0x630D, 0x4AE1, 0x6D21, 0x6D01, 0x6D21, 0x6D41, 0x6D41, 0x6D41, 0x6D61, 0x53E1, // 0x0310 (784)
|
||||||
|
0x0000, 0x64C1, 0x7562, 0x6D62, 0x6D62, 0x6D62, 0x6D62, 0x6D42, 0x6D41, 0x4263, 0xA515, 0x8C51, 0xA534, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0320 (800)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF79E, 0x6B4D, 0x8410, 0x636E, 0x04A6, 0x05E5, 0x05C5, 0x0585, 0x0585, 0x0586, 0x05A6, 0x0424, // 0x0330 (816)
|
||||||
|
0x0000, 0x0505, 0x05C6, 0x05A6, 0x05A6, 0x05C7, 0x0606, 0x0606, 0x1CE9, 0xA535, 0x9492, 0x8C71, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0340 (832)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF7D, 0x6B4D, 0x83EF, 0x9411, 0x3A47, 0x0403, 0x0584, 0x05A4, 0x0585, 0x0585, 0x0404, // 0x0350 (848)
|
||||||
|
0x0000, 0x04E5, 0x05A5, 0x05A5, 0x05C5, 0x0584, 0x1405, 0x634B, 0xBD76, 0x8C51, 0x8C51, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0360 (864)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, 0x8410, 0x6B6D, 0x9CB3, 0x7C6F, 0x3CA9, 0x0BE4, 0x0443, 0x0504, 0x03C2, // 0x0370 (880)
|
||||||
|
0x0000, 0x0483, 0x0504, 0x0444, 0x1426, 0x552D, 0xA554, 0xB576, 0x73CE, 0x9CF3, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0380 (896)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xB5B6, 0x6B4D, 0x7BAF, 0x9432, 0x8BD1, 0x6BCE, 0x4C6B, 0x3C09, // 0x0390 (912)
|
||||||
|
0x3186, 0x3C8A, 0x5C8C, 0x8430, 0xA493, 0xACD4, 0x8410, 0x7BEF, 0xCE79, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03A0 (928)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, 0xAD75, 0x7BEF, 0x73AE, 0x83F0, 0x8C11, 0x9431, // 0x03B0 (944)
|
||||||
|
0x9492, 0x9452, 0x9432, 0x8430, 0x7BEF, 0x8450, 0xBDF7, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03C0 (960)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDEFB, 0xBDD7, 0xA534, 0x94D3, // 0x03D0 (976)
|
||||||
|
0x94B2, 0x9CF3, 0xA554, 0xC618, 0xE73C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03E0 (992)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03F0 (1008)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0400 (1024)
|
||||||
|
};
|
|
@ -0,0 +1,71 @@
|
||||||
|
// Generated by : ImageConverter 565 v1.0
|
||||||
|
// Generated from: info.png
|
||||||
|
// Time generated: 11.10.2010 22:27:55
|
||||||
|
// Size : 2 048 Bytes
|
||||||
|
|
||||||
|
const unsigned short info[0x400] ={
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0010 (16)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0020 (32)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF9F, 0xC69D, 0x95BB, 0x7D1A, 0x6CB9, // 0x0030 (48)
|
||||||
|
0x6499, 0x74F9, 0x8D7A, 0xB63C, 0xE73E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0040 (64)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xAE1C, 0x4C18, 0x2B56, 0x3397, 0x4C38, 0x64B9, 0x751A, // 0x0050 (80)
|
||||||
|
0x7D3A, 0x6CD9, 0x5458, 0x3BD7, 0x2B56, 0x3BB7, 0x855A, 0xE77E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0060 (96)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xA5FB, 0x2B56, 0x2B77, 0x751A, 0xB67C, 0xD73E, 0xE75E, 0xE77E, 0xE77E, // 0x0070 (112)
|
||||||
|
0xE77E, 0xE77E, 0xE75E, 0xDF3E, 0xC6DD, 0x8D9B, 0x43D7, 0x1B16, 0x74D9, 0xF7BF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0080 (128)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF9F, 0x4C18, 0x1AF6, 0x855A, 0xCEFE, 0xD71E, 0xCEFD, 0xC6DD, 0xC6BD, 0xC6BD, 0xBEBD, // 0x0090 (144)
|
||||||
|
0xC6BD, 0xBEBD, 0xC6BD, 0xC6DD, 0xC6DD, 0xD71E, 0xD71E, 0xA61C, 0x33B7, 0x2316, 0xBE7C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00A0 (160)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDF3E, 0x2336, 0x3BD7, 0xBE9D, 0xC6DD, 0xBE9D, 0xBE9D, 0xBE9D, 0xBEBD, 0xBE9D, 0xCEFD, 0xEF9F, // 0x00B0 (176)
|
||||||
|
0xEF9F, 0xD73E, 0xBE9D, 0xBEBD, 0xBE9D, 0xBE9D, 0xB69D, 0xC6BD, 0xCEDD, 0x6CFA, 0x0295, 0x9DBB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00C0 (192)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xE75E, 0x1AF6, 0x4C58, 0xBEBD, 0xB67D, 0xAE5C, 0xB67D, 0xB67D, 0xB69D, 0xB67D, 0xBEBD, 0xF7DF, 0xFFFF, // 0x00D0 (208)
|
||||||
|
0xFFFF, 0xFFFF, 0xCF1E, 0xB67D, 0xB67D, 0xB67D, 0xB67D, 0xAE5C, 0xAE5C, 0xC6BD, 0x857B, 0x0295, 0xA5DB, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00E0 (224)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFDF, 0x3BB7, 0x33D8, 0xB67D, 0xA63C, 0xA63C, 0xAE5C, 0xAE5D, 0xAE5D, 0xAE7D, 0xA65D, 0xC6DD, 0xFFFF, 0xFFFF, // 0x00F0 (240)
|
||||||
|
0xFFDF, 0xFFFF, 0xDF5E, 0xA65D, 0xAE7D, 0xAE5D, 0xAE5D, 0xAE5C, 0xA63C, 0xA61C, 0xB67D, 0x753A, 0x0295, 0xCEBC, 0xFFFF, 0xFFFF, // 0x0100 (256)
|
||||||
|
0xF7DF, 0xFFFF, 0x957A, 0x12F6, 0x9E1C, 0x9E1C, 0x9E1C, 0x9E1C, 0xA63C, 0xA63C, 0xA63D, 0xA63D, 0xA65D, 0x9DFC, 0xDF3E, 0xFFFF, // 0x0110 (272)
|
||||||
|
0xFFFF, 0xFFDF, 0xA61C, 0xA65D, 0xA65D, 0xA63D, 0xA63C, 0xA63C, 0x9E1C, 0x9E1C, 0x9DFC, 0xAE3C, 0x3C18, 0x3396, 0xFFDF, 0xFFFF, // 0x0120 (288)
|
||||||
|
0xFFFF, 0xF79F, 0x2336, 0x64DA, 0x9DFC, 0x95DC, 0x95FC, 0x95FC, 0x9E1C, 0x9E1C, 0x9E3D, 0x9E3D, 0x9E3D, 0x9E3D, 0x7D3B, 0xA63C, // 0x0130 (304)
|
||||||
|
0xB6BD, 0x8DBB, 0x8DFC, 0xA65D, 0x9E3D, 0x9E3D, 0x9E1C, 0x9E1C, 0x95FC, 0x95FC, 0x95DC, 0x95DC, 0x8DBB, 0x0AF6, 0xA5DA, 0xFFFF, // 0x0140 (320)
|
||||||
|
0xFFFF, 0xA5FB, 0x1337, 0x8DBB, 0x8DBB, 0x8DBC, 0x8DDC, 0x95FC, 0x95FC, 0x961C, 0x961D, 0x963D, 0x9E3D, 0x963D, 0xA67D, 0xB6BD, // 0x0150 (336)
|
||||||
|
0xB6BD, 0xAE7D, 0x9E3D, 0x9E3D, 0x961D, 0x961D, 0x961C, 0x95FC, 0x95FC, 0x8DDC, 0x8DDC, 0x859B, 0x95DC, 0x3C18, 0x4BD7, 0xFFFF, // 0x0160 (352)
|
||||||
|
0xFFFF, 0x6499, 0x33F8, 0x8DBB, 0x859B, 0x85BC, 0x85BC, 0x8DDC, 0x8DFC, 0x8DFD, 0x8E1D, 0x961D, 0x961D, 0x9E3D, 0xF7BF, 0xFFFF, // 0x0170 (368)
|
||||||
|
0xFFFF, 0xFFFF, 0xA67D, 0x8E1D, 0x961D, 0x8E1D, 0x8DFD, 0x8DFC, 0x8DDC, 0x85BC, 0x85BC, 0x859B, 0x859B, 0x5CDA, 0x2336, 0xE71C, // 0x0180 (384)
|
||||||
|
0xFFFF, 0x43F8, 0x4C79, 0x859B, 0x7D7B, 0x7D9C, 0x85BC, 0x85DC, 0x85DC, 0x8DFD, 0x8DFD, 0x8E1D, 0x8E1D, 0xA67E, 0xFFFF, 0xFFFF, // 0x0190 (400)
|
||||||
|
0xFFFF, 0xFFFF, 0xBEDE, 0x85FD, 0x8E1D, 0x8DFD, 0x8DFD, 0x85DC, 0x85DC, 0x85BC, 0x7D9C, 0x7D7B, 0x7D7B, 0x753B, 0x1B36, 0xBE5A, // 0x01A0 (416)
|
||||||
|
0xFFBE, 0x3BF8, 0x3419, 0x6D1B, 0x757B, 0x7D9C, 0x7D9C, 0x7DBC, 0x7DDD, 0x85FD, 0x85FD, 0x861D, 0x861D, 0x9E7E, 0xFFFF, 0xFFFF, // 0x01B0 (432)
|
||||||
|
0xFFFF, 0xFFFF, 0xB6DE, 0x85FD, 0x8E1D, 0x85FD, 0x85FD, 0x7DDD, 0x7DBC, 0x7D9C, 0x7D9C, 0x757B, 0x6D3B, 0x4C9A, 0x1337, 0xADD9, // 0x01C0 (448)
|
||||||
|
0xFFBE, 0x4418, 0x23B9, 0x3439, 0x4CBA, 0x653B, 0x759C, 0x7DBD, 0x7DDD, 0x7DFD, 0x861D, 0x861E, 0x861E, 0x9E7E, 0xFFFF, 0xFFFF, // 0x01D0 (464)
|
||||||
|
0xFFFF, 0xFFFF, 0xB6DE, 0x7E1E, 0x861E, 0x85FD, 0x7DFD, 0x7DDD, 0x7DBD, 0x759C, 0x653B, 0x4CDB, 0x3439, 0x2BF9, 0x1337, 0xA5B9, // 0x01E0 (480)
|
||||||
|
0xFF9E, 0x4C39, 0x2BF9, 0x345A, 0x3C7A, 0x3C9B, 0x4CFC, 0x5D5C, 0x659D, 0x75DD, 0x7DFE, 0x861E, 0x7E3E, 0x969F, 0xFFFF, 0xFFFF, // 0x01F0 (496)
|
||||||
|
0xFFFF, 0xFFFF, 0xB6FF, 0x7E1E, 0x863E, 0x7DFE, 0x75DD, 0x6D9D, 0x5D5C, 0x4CFC, 0x3C9B, 0x347A, 0x345A, 0x343A, 0x1B78, 0xA5B9, // 0x0200 (512)
|
||||||
|
0xF79E, 0x4418, 0x2C3A, 0x3C7A, 0x449B, 0x44DB, 0x4CFC, 0x4D3C, 0x555D, 0x5D7D, 0x65BE, 0x6DFE, 0x6DFF, 0x867F, 0xFFFF, 0xFFFF, // 0x0210 (528)
|
||||||
|
0xFFFF, 0xFFFF, 0xA6DF, 0x65FF, 0x6DFE, 0x65BE, 0x5D9E, 0x555D, 0x4D3C, 0x4CFC, 0x44DB, 0x44BB, 0x3C7A, 0x345A, 0x1B78, 0xA599, // 0x0220 (544)
|
||||||
|
0xFFDE, 0x43D8, 0x345A, 0x3C9A, 0x44DB, 0x4CFC, 0x4D3C, 0x555D, 0x5D9D, 0x5DBE, 0x65DE, 0x6DFF, 0x661F, 0x867F, 0xFFFF, 0xFFFF, // 0x0230 (560)
|
||||||
|
0xFFFF, 0xFFFF, 0xA6DF, 0x65FF, 0x6DFF, 0x65DE, 0x5DBE, 0x5D9D, 0x555D, 0x4D3C, 0x4CFC, 0x44DB, 0x3C7A, 0x3C9B, 0x1B57, 0xADB9, // 0x0240 (576)
|
||||||
|
0xFFFF, 0x4BD7, 0x2C1A, 0x44DB, 0x44DB, 0x4D1C, 0x555D, 0x5D7D, 0x5DBE, 0x65DE, 0x6E1F, 0x6E3F, 0x765F, 0x96BF, 0xFFFF, 0xFFFF, // 0x0250 (592)
|
||||||
|
0xFFFF, 0xFFFF, 0xAEFF, 0x6E3F, 0x763F, 0x6E1F, 0x65DE, 0x5DBE, 0x5D7D, 0x555D, 0x4D1C, 0x44DC, 0x3C9B, 0x44DC, 0x1AD5, 0xC639, // 0x0260 (608)
|
||||||
|
0xFFFF, 0x84D8, 0x1317, 0x5D7D, 0x44DB, 0x553C, 0x557D, 0x5D9E, 0x65DE, 0x65FF, 0x6E3F, 0x7E5F, 0x7E7F, 0x9EDF, 0xFFFF, 0xFFFF, // 0x0270 (624)
|
||||||
|
0xFFFF, 0xFFFF, 0xB73F, 0x7E7F, 0x7E5F, 0x6E3F, 0x65FF, 0x65DE, 0x5D9E, 0x557D, 0x553C, 0x44DC, 0x4D1C, 0x345B, 0x22B4, 0xE71B, // 0x0280 (640)
|
||||||
|
0xFFFF, 0xD6BC, 0x0234, 0x4CFC, 0x5D7D, 0x4D3C, 0x5D9D, 0x5DBE, 0x65FF, 0x6E3F, 0x765F, 0x867F, 0x8EBF, 0xA6DF, 0xFFFF, 0xFFFF, // 0x0290 (656)
|
||||||
|
0xFFFF, 0xFFFF, 0xB71F, 0x8EBF, 0x869F, 0x765F, 0x6E3F, 0x65FF, 0x5DBE, 0x5D7D, 0x553D, 0x4D1C, 0x65BE, 0x0AB7, 0x6C15, 0xFFBE, // 0x02A0 (672)
|
||||||
|
0xFFFF, 0xFFFF, 0x53B6, 0x0296, 0x75FE, 0x5D9D, 0x557D, 0x65DE, 0x6E1F, 0x763F, 0x7E7F, 0x8EBF, 0x9EFF, 0x96BE, 0xAE3C, 0xE77E, // 0x02B0 (688)
|
||||||
|
0xEF9E, 0xC69D, 0x967E, 0x9EFF, 0x8EBF, 0x7E7F, 0x763F, 0x6E1F, 0x65DE, 0x5D9E, 0x555D, 0x761E, 0x341A, 0x1294, 0xBE18, 0xFFFF, // 0x02C0 (704)
|
||||||
|
0xFFFF, 0xFFFF, 0xCE9B, 0x0A13, 0x2378, 0x7E5F, 0x6E1E, 0x5DBE, 0x6E1F, 0x7E5F, 0x869F, 0x96DF, 0x9EFF, 0xAF5F, 0x9E9E, 0x8DFC, // 0x02D0 (720)
|
||||||
|
0x8E1C, 0x967D, 0xAF3F, 0xA6FF, 0x96DF, 0x869F, 0x7E5F, 0x6E1F, 0x5DBE, 0x65DE, 0x7E5F, 0x4CBB, 0x0AB5, 0x7454, 0xEF5C, 0xFFFF, // 0x02E0 (736)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0x8D17, 0x01D3, 0x23B9, 0x7E3E, 0x8E9F, 0x763F, 0x765F, 0x8E9F, 0x9EDF, 0xA71F, 0xB75F, 0xC7BF, 0xCFDF, // 0x02F0 (752)
|
||||||
|
0xCFDF, 0xC7BF, 0xB75F, 0xA71F, 0x9EDF, 0x8E9F, 0x765F, 0x6E1F, 0x867F, 0x8E7F, 0x4CBB, 0x1317, 0x4BB4, 0xD679, 0xFFFF, 0xFFFF, // 0x0300 (768)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFBD, 0x7476, 0x0214, 0x1B78, 0x659D, 0x9EDF, 0x9EFF, 0x96DF, 0x9EFF, 0xAF1F, 0xB75F, 0xC79F, 0xD7DF, // 0x0310 (784)
|
||||||
|
0xD7DF, 0xC79F, 0xB75F, 0xAF1F, 0x9EDF, 0x96DF, 0x96DF, 0x9EFF, 0x7E1E, 0x3C5A, 0x1B77, 0x43B5, 0xBDD6, 0xF7BE, 0xFFFF, 0xFFFF, // 0x0320 (800)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF77D, 0x7CB6, 0x12B4, 0x1337, 0x449B, 0x7DFD, 0xA6FF, 0xB75F, 0xBF7F, 0xC79F, 0xCFBF, 0xD7FF, // 0x0330 (816)
|
||||||
|
0xD7FF, 0xCFBF, 0xC79F, 0xBF7F, 0xB77F, 0xAF1F, 0x8E5E, 0x551B, 0x3419, 0x2BD7, 0x5415, 0xB5B6, 0xF79E, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0340 (832)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF79D, 0xA577, 0x3B75, 0x1B36, 0x2BD9, 0x4CBB, 0x759D, 0x965E, 0xAEDF, 0xBF3F, 0xC77F, // 0x0350 (848)
|
||||||
|
0xC77F, 0xBF3F, 0xB6FF, 0x9E7F, 0x7DDD, 0x5D1C, 0x447A, 0x3C59, 0x4437, 0x7474, 0xC617, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0360 (864)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDE, 0xD699, 0x84D5, 0x43D5, 0x33B7, 0x3418, 0x4C7A, 0x5CFC, 0x753D, 0x857E, // 0x0370 (880)
|
||||||
|
0x859E, 0x755D, 0x653C, 0x5CFB, 0x4CDA, 0x4CB9, 0x5497, 0x6C95, 0xA555, 0xDEDA, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0380 (896)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF79D, 0xCE79, 0x9D56, 0x7495, 0x5C56, 0x4C77, 0x4C97, 0x4CB8, // 0x0390 (912)
|
||||||
|
0x54D8, 0x5CD8, 0x5CF8, 0x64D7, 0x74D6, 0x8CF5, 0xAD96, 0xD699, 0xF79E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03A0 (928)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFBE, 0xEF1B, 0xD679, 0xBDF7, 0xAD96, 0xA576, // 0x03B0 (944)
|
||||||
|
0xA576, 0xAD76, 0xB5B6, 0xC5F7, 0xD679, 0xEF3C, 0xFFDE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03C0 (960)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFBE, // 0x03D0 (976)
|
||||||
|
0xF7BE, 0xF7BE, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03E0 (992)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03F0 (1008)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0400 (1024)
|
||||||
|
};
|
|
@ -0,0 +1,71 @@
|
||||||
|
// Generated by : ImageConverter 565 v1.0
|
||||||
|
// Generated from: tux.png
|
||||||
|
// Time generated: 11.10.2010 22:51:32
|
||||||
|
// Size : 2 048 Bytes
|
||||||
|
|
||||||
|
const unsigned short tux[0x400] ={
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xE73C, 0x9CD3, 0x9CF3, 0xA514, // 0x0010 (16)
|
||||||
|
0x9CF3, 0x8C51, 0xAD75, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0020 (32)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF7D, 0x5AEB, 0x7BEF, 0x9CD3, 0x94B2, // 0x0030 (48)
|
||||||
|
0x94B2, 0x94B2, 0x4228, 0x7BEF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0040 (64)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x9CF3, 0x18E3, 0x630C, 0x4A49, 0x4A69, // 0x0050 (80)
|
||||||
|
0x4A69, 0x528A, 0x4A49, 0x0000, 0xC638, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0060 (96)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x6B6D, 0x0000, 0x0020, 0x10A2, 0x1082, // 0x0070 (112)
|
||||||
|
0x0841, 0x0841, 0x0841, 0x0000, 0x630C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0080 (128)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x528A, 0x4228, 0x8410, 0x0000, 0x0861, // 0x0090 (144)
|
||||||
|
0xAD55, 0xBDD7, 0x10A2, 0x0000, 0x2945, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00A0 (160)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x5ACB, 0x8C71, 0xE75D, 0x2126, 0x528B, // 0x00B0 (176)
|
||||||
|
0xE75D, 0xDEDB, 0x7BCF, 0x0000, 0x18E3, 0xE73C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00C0 (192)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x6B6D, 0x4A4A, 0x6B2A, 0x8BE7, 0xA48A, // 0x00D0 (208)
|
||||||
|
0x6B09, 0x4A8A, 0x8431, 0x0000, 0x2104, 0xE73C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00E0 (224)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x6B6E, 0x5204, 0xDE6A, 0xFFF7, 0xFFF8, // 0x00F0 (240)
|
||||||
|
0xD5AC, 0xBCAA, 0x5A66, 0x0000, 0x1082, 0xDEFB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0100 (256)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x8C10, 0xC540, 0xFFED, 0xFF2C, 0xFEEC, // 0x0110 (272)
|
||||||
|
0xFECC, 0xFE66, 0x8260, 0x0000, 0x0000, 0xB596, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0120 (288)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x94B3, 0x9C25, 0xFF20, 0xFE40, 0xFDA0, // 0x0130 (304)
|
||||||
|
0xFCC0, 0xF524, 0x836A, 0x0000, 0x0000, 0x630C, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0140 (320)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x630C, 0x94B4, 0xFF13, 0xFD83, 0xF523, // 0x0150 (336)
|
||||||
|
0xE5CF, 0xF79E, 0xE71D, 0x0861, 0x0000, 0x0861, 0xDEDB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0160 (352)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xCE59, 0x0841, 0xD69A, 0xFFFF, 0xFF7D, 0xF77D, // 0x0170 (368)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0x73AE, 0x0000, 0x0000, 0x4A69, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0180 (384)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF79E, 0x10A2, 0x8410, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, // 0x0190 (400)
|
||||||
|
0xFFFF, 0xFFDF, 0xFFFF, 0xCE59, 0x0000, 0x0000, 0x0000, 0x9492, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x01A0 (416)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x52AA, 0x0020, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x01B0 (432)
|
||||||
|
0xFFDF, 0xFFDF, 0xF7BE, 0xFFDF, 0x3186, 0x0000, 0x0020, 0x0841, 0xCE79, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x01C0 (448)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xC638, 0x0000, 0x52AA, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFDF, // 0x01D0 (464)
|
||||||
|
0xFFDF, 0xF7BE, 0xF79E, 0xFFFF, 0x9CF3, 0x0000, 0x0841, 0x0000, 0x39E7, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x01E0 (480)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x5ACB, 0x0000, 0xBDF7, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFDF, 0xFFDF, // 0x01F0 (496)
|
||||||
|
0xF7BE, 0xF7BE, 0xF79E, 0xF79E, 0xEF7D, 0x3186, 0x0000, 0x0861, 0x0000, 0xAD55, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0200 (512)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xE73C, 0x0861, 0x4A49, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, // 0x0210 (528)
|
||||||
|
0xF7BE, 0xF79E, 0xEF7D, 0xEF5D, 0xFFDF, 0x8410, 0x0000, 0x1082, 0x0000, 0x39E7, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0220 (544)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x94B2, 0x0000, 0xB596, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, // 0x0230 (560)
|
||||||
|
0xF79E, 0xEF7D, 0xEF7D, 0xE73C, 0xF79E, 0xAD55, 0x0861, 0x10A2, 0x0861, 0x0841, 0xCE59, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0240 (576)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF79E, 0x3185, 0x10A2, 0xE71C, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF79E, // 0x0250 (592)
|
||||||
|
0xEF7D, 0xEF7D, 0xEF5D, 0xE73C, 0xEF5D, 0xBDF7, 0x18C3, 0x18C3, 0x18C3, 0x0000, 0x8C71, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0260 (608)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x94B2, 0x0000, 0x39E7, 0xF7BE, 0xFFFF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF79E, 0xEF7D, // 0x0270 (624)
|
||||||
|
0xEF7D, 0xEF5D, 0xE73C, 0xE71C, 0xE71C, 0xC618, 0x18E3, 0x10A2, 0x10A2, 0x0020, 0x6B4D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0280 (640)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x8C51, 0x38E0, 0x4A27, 0xFFFF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF79E, 0xEF7D, 0xEF7D, // 0x0290 (656)
|
||||||
|
0xEF5D, 0xE73C, 0xE71C, 0xDEFB, 0xDF1D, 0xBDF8, 0x39C7, 0x5ACB, 0x528A, 0x10A3, 0x738F, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x02A0 (672)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDD6C, 0xFE2B, 0xBC45, 0xA513, 0xFFFF, 0xF7BE, 0xF79E, 0xF79E, 0xEF7D, 0xEF5D, // 0x02B0 (688)
|
||||||
|
0xE73C, 0xE71C, 0xDEFB, 0xD6DC, 0xDD8E, 0xB3E4, 0x2124, 0x2965, 0x2945, 0x20C1, 0xB511, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x02C0 (704)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF77C, 0xE5CF, 0xF60B, 0xFF9B, 0xFF54, 0x8B02, 0x7BF0, 0xFFDF, 0xF79E, 0xEF5D, 0xEF5D, 0xE73C, // 0x02D0 (720)
|
||||||
|
0xE71C, 0xDEFB, 0xDEDB, 0xCE7A, 0xED89, 0xDDAD, 0x0842, 0x0000, 0x0000, 0xAC69, 0xDD6B, 0xEFBF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x02E0 (736)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFBE, 0xE5CB, 0xEDC9, 0xFE4B, 0xFF14, 0xFEF3, 0xFF35, 0xFE8D, 0x51C1, 0x634E, 0xE73C, 0xEF5D, 0xE73C, 0xE71C, // 0x02F0 (752)
|
||||||
|
0xDEFB, 0xDEDB, 0xD6DB, 0xCE59, 0xE58B, 0xFF98, 0xBD4F, 0x8B88, 0xCD90, 0xFFB7, 0xCCE8, 0xE73D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0300 (768)
|
||||||
|
0xFFFF, 0xFFFF, 0xEF3B, 0xF583, 0xFF30, 0xFF11, 0xFECF, 0xFEEF, 0xFECF, 0xFF30, 0xDD46, 0x2903, 0x6B8E, 0xEF7D, 0xE71C, 0xDEFB, // 0x0310 (784)
|
||||||
|
0xDEDB, 0xD6BA, 0xD69A, 0xCE59, 0xE5AA, 0xFF11, 0xFF53, 0xFF73, 0xFF33, 0xFF12, 0xFE6C, 0xDDAD, 0xF79E, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0320 (800)
|
||||||
|
0xFFFF, 0xFFFF, 0xF79E, 0xEDC5, 0xFECB, 0xFECC, 0xFECC, 0xFEEC, 0xFECB, 0xFECC, 0xFEEA, 0x9BE5, 0x8432, 0xE73C, 0xDEDB, 0xDEDB, // 0x0330 (816)
|
||||||
|
0xD6BA, 0xD69A, 0xDEDB, 0xA4F3, 0xD547, 0xFF2E, 0xFECD, 0xFECE, 0xFEEE, 0xFEEE, 0xFF10, 0xFEAB, 0xE5A8, 0xEF7D, 0xFFFF, 0xFFFF, // 0x0340 (832)
|
||||||
|
0xFFFF, 0xFFFF, 0xF79E, 0xF603, 0xFEA2, 0xFEC7, 0xFEC7, 0xFEA4, 0xFE81, 0xFE61, 0xFEA4, 0xFE43, 0xDE33, 0xE75E, 0xE71C, 0xDEFB, // 0x0350 (848)
|
||||||
|
0xDEDB, 0xCE58, 0x8C72, 0x5247, 0xEDE4, 0xFF0A, 0xFECA, 0xFEC9, 0xFE84, 0xFE83, 0xFEE7, 0xFEA3, 0xB443, 0xD69B, 0xFFFF, 0xFFFF, // 0x0360 (864)
|
||||||
|
0xFFFF, 0xFFFF, 0xF75B, 0xFE60, 0xFF00, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEA0, 0xFEE0, 0xE5C1, 0x9492, 0xA514, 0x9CD3, // 0x0370 (880)
|
||||||
|
0x8410, 0x630B, 0x4229, 0x6AE8, 0xFE80, 0xFEC1, 0xFEC1, 0xFEA0, 0xFEA0, 0xFEE0, 0xDD80, 0x9BE8, 0xB597, 0xFFDF, 0xFFFF, 0xFFFF, // 0x0380 (896)
|
||||||
|
0xFFFF, 0xFFFF, 0xF79E, 0xD589, 0xE600, 0xFEA0, 0xFF00, 0xFF40, 0xFF40, 0xFF00, 0xFF00, 0xFF20, 0xFEC0, 0x5267, 0x4229, 0x4A48, // 0x0390 (912)
|
||||||
|
0x4A49, 0x5289, 0x424A, 0x7B46, 0xFF20, 0xFEE0, 0xFEE0, 0xFF20, 0xFEE0, 0xB4A5, 0x9C92, 0xDEFD, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03A0 (928)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xE71D, 0xBDB6, 0xB530, 0xBD0B, 0xCD65, 0xEE60, 0xFF40, 0xFFA0, 0xFF80, 0xBD03, 0x8410, 0xA514, 0xA534, // 0x03B0 (944)
|
||||||
|
0xAD75, 0xB596, 0xA555, 0x9C8F, 0xF6C0, 0xFFA0, 0xFFA0, 0xF6E0, 0xA449, 0xB5B8, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03C0 (960)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF7F, 0xD69C, 0xBD95, 0xBD4C, 0xCDC6, 0xB4E8, 0xAD35, 0xF7BF, 0xFFFF, 0xFFFF, // 0x03D0 (976)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xF7BF, 0xCDD0, 0xCDC6, 0xCDA7, 0xA48D, 0xCE7B, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03E0 (992)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDF1F, 0xB59A, 0xBDDA, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, // 0x03F0 (1008)
|
||||||
|
0xFFFF, 0xFFDF, 0xFFDF, 0xFFFF, 0xEF7F, 0xB59A, 0xAD59, 0xDF1D, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0400 (1024)
|
||||||
|
};
|
|
@ -0,0 +1,50 @@
|
||||||
|
// UTFT_Bitmap_128x128
|
||||||
|
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
|
||||||
|
// web: http://www.RinkyDinkElectronics.com/
|
||||||
|
//
|
||||||
|
// This program is a demo of the drawBitmap()-function.
|
||||||
|
//
|
||||||
|
// This demo was made to work on the 128x128 modules.
|
||||||
|
// Any other size displays may cause strange behaviour.
|
||||||
|
//
|
||||||
|
// This program requires the UTFT library.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include <UTFT.h>
|
||||||
|
|
||||||
|
UTFT myGLCD(LPH9135,6,5,2,3,4); // Remember to change the model parameter to suit your display module!
|
||||||
|
|
||||||
|
extern unsigned short icon1[0x400];
|
||||||
|
extern unsigned short icon2[0x400];
|
||||||
|
extern unsigned short tux[0x1000];
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
myGLCD.InitLCD(PORTRAIT);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
// Draw a 4 by 4 grid of a 32x32 icon.
|
||||||
|
myGLCD.fillScr(255, 255, 255);
|
||||||
|
for (int x=0; x<4; x++)
|
||||||
|
for (int y=0; y<4; y++)
|
||||||
|
myGLCD.drawBitmap (x*32, y*32, 32, 32, icon1);
|
||||||
|
|
||||||
|
delay(5000);
|
||||||
|
|
||||||
|
// Draw a 64x64 icon in double size.
|
||||||
|
myGLCD.fillScr(255, 255, 255);
|
||||||
|
myGLCD.drawBitmap (0, 0, 64, 64, tux, 2);
|
||||||
|
|
||||||
|
delay(5000);
|
||||||
|
|
||||||
|
// Draw a 2 by 2 grid of a 32x32 icon in double size.
|
||||||
|
myGLCD.fillScr(255, 255, 255);
|
||||||
|
for (int x=0; x<2; x++)
|
||||||
|
for (int y=0; y<2; y++)
|
||||||
|
myGLCD.drawBitmap (x*64, y*64, 32, 32, icon2, 2);
|
||||||
|
|
||||||
|
delay(5000);
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,72 @@
|
||||||
|
// Generated by : ImageConverter 565 v1.0
|
||||||
|
// Generated from: exit.png
|
||||||
|
// Time generated: 14.10.2010 21:53:03
|
||||||
|
// Dimensions : 32x32 pixels
|
||||||
|
// Size : 2 048 Bytes
|
||||||
|
|
||||||
|
const unsigned short icon1[0x400] ={
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF1C, 0xE618, 0xE638, 0xE638, 0xE638, 0xE659, 0xE659, 0xE659, 0xE659, 0xE659, 0xE679, 0xE679, // 0x0010 (16)
|
||||||
|
0xE679, 0xE679, 0xE679, 0xE679, 0xEE79, 0xEE9A, 0xEE9A, 0xEE9A, 0xEE9A, 0xEE9A, 0xE638, 0xEEBA, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0020 (32)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xD555, 0xCCD3, 0xDDB6, 0xDDD7, 0xDDF7, 0xDDF7, 0xDE18, 0xE618, 0xE638, 0xE638, 0xE659, 0xE679, 0xE679, // 0x0030 (48)
|
||||||
|
0xEE9A, 0xEE9A, 0xEEBA, 0xEEBA, 0xEEBA, 0xEEDB, 0xEEDB, 0xEEFB, 0xEEFB, 0xEEFB, 0xEEFB, 0xE659, 0xD575, 0xF77D, 0xFFFF, 0xFFFF, // 0x0040 (64)
|
||||||
|
0xFFDF, 0xFFFF, 0xD534, 0xC471, 0xD575, 0xCCF3, 0xCCD3, 0xCCD3, 0xCCF3, 0xCCF3, 0xD4F3, 0xD514, 0xD514, 0xD514, 0xD534, 0xDD55, // 0x0050 (80)
|
||||||
|
0xDD55, 0xDD55, 0xDD55, 0xDD75, 0xDD75, 0xDD75, 0xDD96, 0xDD96, 0xDD96, 0xDDB6, 0xDDD7, 0xEE79, 0xEEBA, 0xD534, 0xFFBE, 0xFFFF, // 0x0060 (96)
|
||||||
|
0xFFFF, 0xEEDB, 0xB38E, 0xC4B2, 0xBC30, 0xC451, 0xC471, 0xC471, 0xCC71, 0xCC92, 0xCC92, 0xCC92, 0xCCB2, 0xD4B2, 0xD4B2, 0xCC71, // 0x0070 (112)
|
||||||
|
0xCC71, 0xD4D3, 0xD4F3, 0xDCF3, 0xDCF3, 0xDD14, 0xDD14, 0xDD14, 0xDD34, 0xDD34, 0xDD34, 0xDD14, 0xE5D7, 0xDD96, 0xDDF7, 0xFFFF, // 0x0080 (128)
|
||||||
|
0xFFFF, 0xC4F3, 0xAB2C, 0xC430, 0xC410, 0xC430, 0xC430, 0xC430, 0xCC51, 0xCC51, 0xCC51, 0xCC71, 0xCC71, 0xD471, 0xCC71, 0xD5F7, // 0x0090 (144)
|
||||||
|
0xD5F7, 0xCC92, 0xDCB2, 0xDCD3, 0xDCD3, 0xDCD3, 0xDCD3, 0xDCF3, 0xDCF3, 0xDD14, 0xDD14, 0xDD34, 0xDD14, 0xDD34, 0xC492, 0xFFFF, // 0x00A0 (160)
|
||||||
|
0xFFFF, 0xB3EF, 0x9A28, 0xC430, 0xBBCF, 0xC3EF, 0xC3EF, 0xC3EF, 0xC410, 0xCC10, 0xCC10, 0xCC30, 0xCC51, 0xCBEF, 0xE638, 0xFFFF, // 0x00B0 (176)
|
||||||
|
0xFFFF, 0xE659, 0xD430, 0xDC92, 0xDC92, 0xDC92, 0xDCB2, 0xDCB2, 0xDCB2, 0xDCD3, 0xDCD3, 0xDCD3, 0xE514, 0xD410, 0xAB0C, 0xF7FF, // 0x00C0 (192)
|
||||||
|
0xFFFF, 0xABCF, 0x9165, 0xC3EF, 0xBB8E, 0xBBAE, 0xC3AE, 0xC3CF, 0xC3CF, 0xCBCF, 0xCBEF, 0xCC10, 0xCC10, 0xCBAE, 0xEE9A, 0xFFFF, // 0x00D0 (208)
|
||||||
|
0xFFFF, 0xF6DB, 0xD410, 0xDC71, 0xDC71, 0xDC71, 0xDC71, 0xDC71, 0xDC71, 0xE492, 0xE492, 0xE492, 0xE4F3, 0xCB2C, 0xA249, 0xF7FF, // 0x00E0 (224)
|
||||||
|
0xFFFF, 0xABCF, 0x88C3, 0xC3AE, 0xBB4D, 0xBB6D, 0xC36D, 0xC38E, 0xC38E, 0xCBAE, 0xC36D, 0xC34D, 0xCBCF, 0xCB8E, 0xEE59, 0xFFFF, // 0x00F0 (240)
|
||||||
|
0xFFFF, 0xF6BA, 0xDBCF, 0xD3CF, 0xCBAE, 0xD3CF, 0xE430, 0xE430, 0xE451, 0xE451, 0xE451, 0xE451, 0xECD3, 0xCAAA, 0xA208, 0xF7FF, // 0x0100 (256)
|
||||||
|
0xFFFF, 0xABCF, 0x8061, 0xBB6D, 0xBB2C, 0xBB2C, 0xC34D, 0xC34D, 0xCB4D, 0xBB0C, 0xC492, 0xCD14, 0xC38E, 0xCB2C, 0xEE59, 0xFFFF, // 0x0110 (272)
|
||||||
|
0xFFFF, 0xF6BA, 0xD36D, 0xD575, 0xE6DB, 0xDDB6, 0xD3AE, 0xE3EF, 0xE410, 0xE410, 0xE430, 0xE410, 0xECB2, 0xC986, 0xA208, 0xF7FF, // 0x0120 (288)
|
||||||
|
0xFFFF, 0xB3EF, 0x8041, 0xBB0C, 0xBAEB, 0xBAEB, 0xC30C, 0xC30C, 0xBACB, 0xD5B6, 0xFFFF, 0xFFFF, 0xEE79, 0xCACB, 0xEE59, 0xFFFF, // 0x0130 (304)
|
||||||
|
0xFFFF, 0xF679, 0xDBEF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEEBA, 0xD3CF, 0xE3AE, 0xE3EF, 0xE3CF, 0xEC10, 0xEB6D, 0xC000, 0xA249, 0xF7FF, // 0x0140 (320)
|
||||||
|
0xFFFF, 0xB3EF, 0x8020, 0xBACB, 0xBAAA, 0xBAAA, 0xC2EB, 0xBA8A, 0xD596, 0xFFFF, 0xFFDF, 0xFFFF, 0xF73C, 0xCAAA, 0xEE38, 0xFFFF, // 0x0150 (336)
|
||||||
|
0xFFFF, 0xF679, 0xDB4D, 0xFF7D, 0xFFFF, 0xFFDF, 0xFFFF, 0xEEDB, 0xDB6D, 0xEB8E, 0xEBAE, 0xEB8E, 0xE0A2, 0xC800, 0xAA49, 0xF7FF, // 0x0160 (352)
|
||||||
|
0xFFFF, 0xB3EF, 0x8000, 0xB28A, 0xBA69, 0xBA8A, 0xBA49, 0xCC30, 0xFFFF, 0xFFDF, 0xFFFF, 0xFF5D, 0xDBCF, 0xCA69, 0xEE18, 0xFFFF, // 0x0170 (368)
|
||||||
|
0xFFFF, 0xF679, 0xDAAA, 0xE3AE, 0xF6BA, 0xFFFF, 0xFFDF, 0xFFFF, 0xE5D7, 0xE30C, 0xEB8E, 0xE0E3, 0xE000, 0xC800, 0xAA49, 0xF7FF, // 0x0180 (384)
|
||||||
|
0xFFFF, 0xB3EF, 0x8800, 0xB249, 0xBA49, 0xBA49, 0xBA49, 0xEF1C, 0xFFFF, 0xFFFF, 0xFF7D, 0xD32C, 0xCA69, 0xD249, 0xEDF7, 0xFFFF, // 0x0190 (400)
|
||||||
|
0xFFFF, 0xF659, 0xDAAA, 0xE2CB, 0xE2EB, 0xFEBA, 0xFFFF, 0xFFDF, 0xFFDF, 0xE3CF, 0xE103, 0xE000, 0xE081, 0xD000, 0xAA69, 0xF7FF, // 0x01A0 (416)
|
||||||
|
0xFFFF, 0xB3EF, 0x8800, 0xB228, 0xBA08, 0xB9A6, 0xCBAE, 0xFFFF, 0xFFDF, 0xFFFF, 0xDC30, 0xC9E7, 0xD28A, 0xCA08, 0xF618, 0xFFFF, // 0x01B0 (432)
|
||||||
|
0xFFFF, 0xF679, 0xDA49, 0xE2CB, 0xE28A, 0xEB6D, 0xFFBE, 0xFFDF, 0xFFFF, 0xEC92, 0xE000, 0xE0A2, 0xE0C2, 0xD040, 0xAA89, 0xF7FF, // 0x01C0 (448)
|
||||||
|
0xFFFF, 0xB3EF, 0x8800, 0xB1E7, 0xB9E7, 0xB165, 0xDD55, 0xFFFF, 0xFFFF, 0xF71C, 0xCA08, 0xCA08, 0xD228, 0xD1E7, 0xE430, 0xFFDF, // 0x01D0 (464)
|
||||||
|
0xFFDF, 0xEC51, 0xDA08, 0xE28A, 0xE28A, 0xE228, 0xF618, 0xFFFF, 0xFFFF, 0xF679, 0xE081, 0xE0C2, 0xE903, 0xD081, 0xAA89, 0xF7FF, // 0x01E0 (480)
|
||||||
|
0xFFFF, 0xBBEF, 0x9000, 0xB1A6, 0xB986, 0xB145, 0xEE38, 0xFFFF, 0xFFFF, 0xED96, 0xC165, 0xC9E7, 0xD1E7, 0xD1E7, 0xD1C7, 0xDACB, // 0x01F0 (496)
|
||||||
|
0xE2EB, 0xD9E7, 0xE228, 0xE228, 0xEA69, 0xE9E7, 0xF40F, 0xFFFF, 0xFFFF, 0xFF5D, 0xE144, 0xE8E2, 0xE943, 0xD8C1, 0xAA8A, 0xF7FF, // 0x0200 (512)
|
||||||
|
0xFFFF, 0xBC10, 0x9000, 0xB165, 0xB145, 0xB924, 0xEE9A, 0xFFFF, 0xFFFF, 0xE514, 0xC124, 0xC9A6, 0xD1A6, 0xD1A6, 0xD1C7, 0xD9A6, // 0x0210 (528)
|
||||||
|
0xD9A6, 0xE1E7, 0xE208, 0xE208, 0xE9A6, 0xE041, 0xEA8A, 0xFFFF, 0xFFFF, 0xFF9E, 0xE9C6, 0xE902, 0xE984, 0xD902, 0xAAAA, 0xF7FF, // 0x0220 (544)
|
||||||
|
0xFFFF, 0xC410, 0x9000, 0xB124, 0xB124, 0xB0C3, 0xEE18, 0xFFFF, 0xFFFF, 0xE575, 0xC0E3, 0xC986, 0xD165, 0xD165, 0xD986, 0xD9A6, // 0x0230 (560)
|
||||||
|
0xD9A6, 0xE1A6, 0xE165, 0xE082, 0xE020, 0xE000, 0xEB4C, 0xFFFF, 0xFFFF, 0xFF7D, 0xE9A5, 0xE943, 0xE9A5, 0xD923, 0xAAAA, 0xF7FF, // 0x0240 (576)
|
||||||
|
0xFFFF, 0xC410, 0x9800, 0xB0E3, 0xB0E3, 0xB061, 0xE4F3, 0xFFFF, 0xFFFF, 0xF6FB, 0xC104, 0xC924, 0xD145, 0xD145, 0xD945, 0xD945, // 0x0250 (592)
|
||||||
|
0xD8E3, 0xD861, 0xD800, 0xE000, 0xE061, 0xE000, 0xED34, 0xFFFF, 0xFFFF, 0xFE9A, 0xE923, 0xE984, 0xE9C5, 0xE163, 0xAAAA, 0xF7FF, // 0x0260 (608)
|
||||||
|
0xFFFF, 0xC410, 0xA000, 0xB0A2, 0xB0A2, 0xB041, 0xCACB, 0xFFFF, 0xFFDF, 0xFFFF, 0xD34D, 0xC841, 0xD104, 0xD0A2, 0xD061, 0xD000, // 0x0270 (624)
|
||||||
|
0xD800, 0xD800, 0xE000, 0xE041, 0xE000, 0xD965, 0xFF9E, 0xFFDF, 0xFFFF, 0xF4D2, 0xE8E2, 0xE9A5, 0xE9E5, 0xE183, 0xAAAA, 0xF7FF, // 0x0280 (640)
|
||||||
|
0xFFFF, 0xCC10, 0xA000, 0xA861, 0xB061, 0xB061, 0xB882, 0xF6DB, 0xFFFF, 0xFFDF, 0xF75D, 0xC124, 0xC800, 0xD000, 0xD000, 0xD800, // 0x0290 (656)
|
||||||
|
0xD800, 0xE000, 0xE020, 0xE000, 0xD861, 0xF638, 0xFFFF, 0xFFDF, 0xFFDF, 0xEA68, 0xE943, 0xE9C5, 0xEA06, 0xE1A4, 0xB2CA, 0xF7FF, // 0x02A0 (672)
|
||||||
|
0xFFFF, 0xCC10, 0xA000, 0xA820, 0xB000, 0xB000, 0xB000, 0xCA49, 0xFFFF, 0xFFDF, 0xFFFF, 0xF71C, 0xCA08, 0xC800, 0xD000, 0xD800, // 0x02B0 (688)
|
||||||
|
0xD800, 0xD800, 0xD800, 0xD944, 0xEE18, 0xFFFF, 0xFFBE, 0xFFFF, 0xF4F2, 0xE902, 0xE9A5, 0xE9C5, 0xEA06, 0xE9A4, 0xB2CA, 0xF7FF, // 0x02C0 (704)
|
||||||
|
0xFFFF, 0xD410, 0xA800, 0xA800, 0xB000, 0xB000, 0xB800, 0xB800, 0xDC10, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xED96, 0xDAEB, 0xD1A6, // 0x02D0 (720)
|
||||||
|
0xD965, 0xDA69, 0xECD3, 0xFF9E, 0xFFFF, 0xFFBE, 0xFFFF, 0xFE17, 0xE923, 0xE964, 0xE9A5, 0xE9C5, 0xEA26, 0xE9C4, 0xBACA, 0xF7FF, // 0x02E0 (736)
|
||||||
|
0xF7FF, 0xD410, 0xA800, 0xA800, 0xB000, 0xB000, 0xB800, 0xB800, 0xB800, 0xE3EF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x02F0 (752)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF5B6, 0xE923, 0xE923, 0xE984, 0xE9A5, 0xE9E5, 0xEA26, 0xE9C5, 0xBACA, 0xF7FF, // 0x0300 (768)
|
||||||
|
0xF7FF, 0xDC10, 0xB000, 0xA800, 0xB000, 0xB000, 0xB800, 0xB800, 0xC000, 0xC000, 0xD228, 0xF638, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0310 (784)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFEFB, 0xF3AE, 0xE0C1, 0xE903, 0xE964, 0xE984, 0xE9A5, 0xE9E5, 0xEA26, 0xE9E5, 0xC2CA, 0xF7DF, // 0x0320 (800)
|
||||||
|
0xF7FF, 0xDC51, 0xB800, 0xA800, 0xB000, 0xB000, 0xB800, 0xB800, 0xC000, 0xC000, 0xC000, 0xC800, 0xD9E7, 0xEC30, 0xF5D7, 0xFE9A, // 0x0330 (816)
|
||||||
|
0xFEBA, 0xF618, 0xF4D3, 0xEACB, 0xE0E2, 0xE040, 0xE903, 0xE943, 0xE943, 0xE984, 0xE9A5, 0xE9E5, 0xEA26, 0xEA05, 0xC30C, 0xF7DF, // 0x0340 (832)
|
||||||
|
0xFFFF, 0xD575, 0xD104, 0xA820, 0xB000, 0xB800, 0xB800, 0xC000, 0xC000, 0xC000, 0xC820, 0xC800, 0xD000, 0xD000, 0xD800, 0xD800, // 0x0350 (848)
|
||||||
|
0xE000, 0xE000, 0xE000, 0xE000, 0xE0A1, 0xE0E3, 0xE903, 0xE943, 0xE964, 0xE984, 0xE9C5, 0xE9C5, 0xF226, 0xE227, 0xBC10, 0xF7FF, // 0x0360 (864)
|
||||||
|
0xFFFF, 0xDF3C, 0xCAAA, 0xD186, 0xB082, 0xB000, 0xB800, 0xB800, 0xB800, 0xC000, 0xC000, 0xC800, 0xC800, 0xD000, 0xD000, 0xD800, // 0x0370 (880)
|
||||||
|
0xD800, 0xE000, 0xE020, 0xE040, 0xE061, 0xE0A1, 0xE0C2, 0xE102, 0xE123, 0xE943, 0xE984, 0xEA26, 0xFB0A, 0xBA08, 0xCE38, 0xFFFF, // 0x0380 (896)
|
||||||
|
0xFFFF, 0xFFDF, 0xBDD7, 0xCA69, 0xE248, 0xD207, 0xD1C6, 0xD1C6, 0xD9C7, 0xD9C7, 0xE1C7, 0xE1C7, 0xE1C7, 0xE9C7, 0xE9C7, 0xE9C7, // 0x0390 (912)
|
||||||
|
0xF1C6, 0xF1C7, 0xF1E7, 0xF207, 0xF228, 0xF248, 0xF269, 0xF289, 0xF2A9, 0xF2CA, 0xFB0A, 0xF2EA, 0xC207, 0xACB3, 0xF7BE, 0xFFFF, // 0x03A0 (928)
|
||||||
|
0xFFFF, 0xFFFF, 0xF7BE, 0xBDF7, 0xAB8E, 0xC2EB, 0xC2EB, 0xC30B, 0xC30B, 0xC30B, 0xC30B, 0xC30B, 0xC30B, 0xC30B, 0xCB0B, 0xCAEB, // 0x03B0 (944)
|
||||||
|
0xCAEB, 0xCACA, 0xCACA, 0xCAAA, 0xCAAA, 0xCA8A, 0xCA69, 0xC269, 0xC269, 0xC289, 0xBA69, 0xA2CB, 0xAD34, 0xEF7D, 0xFFFF, 0xFFFF, // 0x03C0 (960)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xDF3C, 0xBE39, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, // 0x03D0 (976)
|
||||||
|
0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xBE38, 0xD71C, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03E0 (992)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03F0 (1008)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0400 (1024)
|
||||||
|
};
|
|
@ -0,0 +1,72 @@
|
||||||
|
// Generated by : ImageConverter 565 v1.0
|
||||||
|
// Generated from: video.png
|
||||||
|
// Time generated: 14.10.2010 21:53:17
|
||||||
|
// Dimensions : 32x32 pixels
|
||||||
|
// Size : 2 048 Bytes
|
||||||
|
|
||||||
|
const unsigned short icon2[0x400] ={
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0010 (16)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0020 (32)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xE71C, 0xB5B6, 0x94B2, 0x8C71, // 0x0030 (48)
|
||||||
|
0x9492, 0xA534, 0xD6BA, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0040 (64)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF5D, 0x9CF3, 0x73AE, 0x6B6D, 0x73AE, 0x7BCF, // 0x0050 (80)
|
||||||
|
0x7BEF, 0x7BCF, 0x7BEF, 0xA534, 0xEF7D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0060 (96)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xC638, 0x7BCF, 0x6B6D, 0x738E, 0x7BCF, 0x8C71, 0x9492, // 0x0070 (112)
|
||||||
|
0x9492, 0x9492, 0x9492, 0x8C51, 0x8C71, 0xDEDB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0080 (128)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xB596, 0x738E, 0x738E, 0x73AE, 0x6B4D, 0x8410, 0x9CF3, 0x9CF3, // 0x0090 (144)
|
||||||
|
0x9CF3, 0x9CF3, 0x9CF3, 0x9CF3, 0x94B2, 0x7BEF, 0xDEDB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00A0 (160)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xB596, 0x738E, 0x7BEF, 0x8410, 0x632C, 0x4A69, 0x9492, 0xAD75, 0xAD55, // 0x00B0 (176)
|
||||||
|
0xAD55, 0xAD55, 0xAD55, 0xA534, 0xAD55, 0x9492, 0x8430, 0xF79E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00C0 (192)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xBDF7, 0x7BCF, 0x8430, 0x7BCF, 0x6B4D, 0x528A, 0x6B6D, 0xB5B6, 0xB5B6, 0xB5B6, // 0x00D0 (208)
|
||||||
|
0xB5B6, 0xB596, 0xB596, 0xAD75, 0xAD75, 0xAD55, 0x8410, 0xB5B6, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00E0 (224)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDEDB, 0x7BEF, 0x9CD3, 0xA514, 0x5AEB, 0x630C, 0x6B4D, 0x9492, 0xC638, 0xC618, 0xC618, // 0x00F0 (240)
|
||||||
|
0xBDF7, 0xBDF7, 0xC618, 0xB5B6, 0xB5B6, 0xB596, 0x9492, 0x8C51, 0xF79E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0100 (256)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, 0x8C71, 0x94B2, 0xAD55, 0xB5B6, 0x738E, 0x6B4D, 0x632C, 0xB596, 0xD69A, 0xCE59, 0xCE59, // 0x0110 (272)
|
||||||
|
0xCE79, 0xCE59, 0x6B6D, 0x9492, 0xB5B6, 0xBDF7, 0x9CF3, 0x8430, 0xD69A, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0120 (288)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xB5B6, 0x8C51, 0xAD55, 0xB5B6, 0xCE79, 0x8C51, 0x630C, 0x8C51, 0xCE79, 0xD6BA, 0xD69A, 0xDEDB, // 0x0130 (304)
|
||||||
|
0xBDD7, 0x8C51, 0x4228, 0x2965, 0xAD55, 0xC638, 0xA534, 0x8430, 0xB5B6, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0140 (320)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xEF5D, 0x8C51, 0xA514, 0xB5B6, 0xC618, 0xD6BA, 0xB5B6, 0xB596, 0xE71C, 0xDEFB, 0xDEFB, 0xE71C, 0xAD55, // 0x0150 (336)
|
||||||
|
0x738E, 0x7BEF, 0x5AEB, 0x2945, 0xC638, 0xCE59, 0xA534, 0x9492, 0xA534, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0160 (352)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xB596, 0x94B2, 0xB5B6, 0xC618, 0xCE79, 0xD6BA, 0xE73C, 0xEF7D, 0xE73C, 0xEF5D, 0xE73C, 0x9CF3, 0x738E, // 0x0170 (368)
|
||||||
|
0x7BCF, 0x8430, 0x6B6D, 0x2965, 0xB596, 0xD69A, 0xAD55, 0x94B2, 0x9CD3, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0180 (384)
|
||||||
|
0xFFFF, 0xFFFF, 0xF79E, 0x9492, 0x9CF3, 0xB5B6, 0xD69A, 0xDEFB, 0xE71C, 0xE73C, 0x6B6D, 0x528A, 0xDEDB, 0xEF5D, 0x7BEF, 0x8430, // 0x0190 (400)
|
||||||
|
0x7BEF, 0x8C51, 0x7BCF, 0x2104, 0xB596, 0xD6BA, 0xAD55, 0x9CD3, 0x9CF3, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xE73C, 0xE6FC, // 0x01A0 (416)
|
||||||
|
0xFFDF, 0xFFFF, 0xCE59, 0x9492, 0x9492, 0x6B4D, 0x7BCF, 0xBDD7, 0xF7BE, 0xA514, 0x4A49, 0x528A, 0xC638, 0xEF7D, 0x7BEF, 0x7BEF, // 0x01B0 (432)
|
||||||
|
0x7BEF, 0x8430, 0x5AEB, 0x10A2, 0xC618, 0xD69A, 0xAD55, 0x94B2, 0xA514, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xCE5A, 0x8BF2, // 0x01C0 (448)
|
||||||
|
0xFFFF, 0xFFFF, 0xAD55, 0x94B2, 0x8C51, 0x5AEB, 0x632C, 0xBDD7, 0xE73C, 0x630C, 0x632C, 0xBDF7, 0xFFDF, 0xEF5D, 0xBDD7, 0xB5B6, // 0x01D0 (464)
|
||||||
|
0xAD75, 0xAD75, 0x8C51, 0x738E, 0xD69A, 0xCE59, 0xB596, 0x8C51, 0xB5B6, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xCE39, 0x7350, // 0x01E0 (480)
|
||||||
|
0xFFFF, 0xF79E, 0x94B2, 0x94B2, 0x7BCF, 0x5AEB, 0x738E, 0xD6BA, 0xD69A, 0x2104, 0x6B6D, 0xF79E, 0xF79E, 0xF79E, 0xF7BE, 0xF79E, // 0x01F0 (496)
|
||||||
|
0xEF7D, 0xEF5D, 0xE73C, 0xE73C, 0xDEFB, 0xBDF7, 0xBDF7, 0x7BEF, 0xD69A, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xAD36, 0x7350, // 0x0200 (512)
|
||||||
|
0xFFFF, 0xDEDB, 0x8C51, 0x94B2, 0x738E, 0x632C, 0x73AE, 0xCE79, 0xF7BE, 0x7BEF, 0xA514, 0xF7BE, 0xF79E, 0xEF7D, 0xEF7D, 0xEF5D, // 0x0210 (528)
|
||||||
|
0xE73C, 0xE71C, 0xDEFB, 0xDEDB, 0xDEDB, 0xBDD7, 0xBDF7, 0x73AE, 0xF79E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, 0x9C75, 0x736F, // 0x0220 (544)
|
||||||
|
0xFFFF, 0xCE59, 0x8430, 0x94B2, 0x6B4D, 0x6B4D, 0xB596, 0xE73C, 0xEF7D, 0xFFFF, 0xFFFF, 0xF7BE, 0xF79E, 0xEF7D, 0xEF7D, 0xEF5D, // 0x0230 (560)
|
||||||
|
0xE73C, 0xE73C, 0xDEFB, 0xDEFB, 0xD6BA, 0xC618, 0xAD55, 0x8C71, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDEDB, 0x6AEF, 0x9492, // 0x0240 (576)
|
||||||
|
0xFFFF, 0xBDF7, 0x8430, 0x8C71, 0x6B6D, 0xB596, 0xE71C, 0xE73C, 0xEF5D, 0xE73C, 0xBDF7, 0xCE59, 0xF7BE, 0xEF7D, 0xEF7D, 0xEF5D, // 0x0250 (592)
|
||||||
|
0xE73C, 0xE71C, 0xDEFB, 0xDEFB, 0xC638, 0xD69A, 0x8410, 0xC618, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0x9474, 0x6B0E, 0xCE59, // 0x0260 (608)
|
||||||
|
0xFFFF, 0xB5B6, 0x8410, 0x9492, 0xBDD7, 0xD6BA, 0xD6BA, 0xE71C, 0xE73C, 0x8C71, 0x6B4D, 0xA514, 0xF7BE, 0xEF5D, 0xEF5D, 0xE73C, // 0x0270 (624)
|
||||||
|
0xE73C, 0xE71C, 0xDEFB, 0xDEDB, 0xCE59, 0xC618, 0x7BCF, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xC5F9, 0x7B51, 0x7BEF, 0xFFFF, // 0x0280 (640)
|
||||||
|
0xFFFF, 0xB596, 0x8C71, 0xAD75, 0xBDF7, 0xCE59, 0xD69A, 0xE71C, 0xCE79, 0x8410, 0x8410, 0x9CD3, 0xEF5D, 0xEF5D, 0xE73C, 0xE73C, // 0x0290 (656)
|
||||||
|
0xE71C, 0xDEFB, 0xDEFB, 0xCE59, 0xDEDB, 0x8C71, 0xAD75, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDEBB, 0x83B2, 0x630C, 0xE73C, 0xFFFF, // 0x02A0 (672)
|
||||||
|
0xFFFF, 0xB5B6, 0x9492, 0xAD55, 0xBDD7, 0xC638, 0xCE79, 0xDEFB, 0xB596, 0x73AE, 0x8410, 0x8410, 0xDEDB, 0xE73C, 0xE71C, 0xE71C, // 0x02B0 (688)
|
||||||
|
0xDEFB, 0xDEFB, 0xD6BA, 0xCE59, 0xC618, 0x738E, 0xF79E, 0xFFFF, 0xFFFF, 0xFFFF, 0xDEDC, 0x8C14, 0x5ACC, 0xC658, 0xFFFF, 0xFFFF, // 0x02C0 (704)
|
||||||
|
0xFFFF, 0xC638, 0x8C51, 0xA534, 0xB5B6, 0xBDF7, 0xCE59, 0xD6BA, 0x94B2, 0x738E, 0x8410, 0x8430, 0xCE59, 0xE73C, 0xDEFB, 0xDEFB, // 0x02D0 (720)
|
||||||
|
0xDEDB, 0xDEFB, 0xBDF7, 0xDEDB, 0x73AE, 0xC618, 0xFFFF, 0xFFFF, 0xFFFF, 0xDEDC, 0x8BD2, 0x5ACC, 0xBDD6, 0xFFFF, 0xFFFF, 0xFFFF, // 0x02E0 (736)
|
||||||
|
0xFFFF, 0xDEDB, 0x8C51, 0xA514, 0xAD75, 0xBDD7, 0xC638, 0xC618, 0x73AE, 0x7BCF, 0x8410, 0x5ACB, 0x8C51, 0xE73C, 0xDEDB, 0xD6BA, // 0x02F0 (752)
|
||||||
|
0xDEFB, 0xBDD7, 0xD69A, 0x8C71, 0x8C51, 0xFFFF, 0xFFFF, 0xFFDE, 0xCE5A, 0x7B71, 0x62ED, 0xBDF7, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0300 (768)
|
||||||
|
0xFFFF, 0xF7BE, 0x94B2, 0x94B2, 0xA534, 0xB596, 0xBDF7, 0xB596, 0x6B6D, 0x4208, 0x2945, 0x18C3, 0x6B6D, 0xDEFB, 0xD69A, 0xDEDB, // 0x0310 (784)
|
||||||
|
0xB5B6, 0xC618, 0x9CF3, 0x6B4D, 0xFFDE, 0xFFFF, 0xEF5D, 0xAD37, 0x62EE, 0x6B4D, 0xCE79, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0320 (800)
|
||||||
|
0xFFDF, 0xFFFF, 0xBDF7, 0x8C51, 0xA514, 0xAD55, 0xB596, 0xBDD7, 0xA514, 0x738E, 0xA514, 0xB5B6, 0xCE59, 0xD69A, 0xDEDB, 0xB596, // 0x0330 (816)
|
||||||
|
0xBDF7, 0xA534, 0x6B4C, 0xEF5D, 0xF79E, 0xBDB8, 0x7370, 0x5AAC, 0x8C71, 0xEF7D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0340 (832)
|
||||||
|
0xFFFF, 0xFFFF, 0xF79E, 0x94B2, 0x94B2, 0xA534, 0xAD55, 0xB5B6, 0xA534, 0xBDD7, 0xD69A, 0xCE59, 0xCE79, 0xCE59, 0xA534, 0x8430, // 0x0350 (848)
|
||||||
|
0x738E, 0x3186, 0x7BB0, 0x8C33, 0x7370, 0x62ED, 0x8410, 0xCE59, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0360 (864)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xDEFB, 0x8C71, 0x9CD3, 0xAD55, 0xB596, 0xBDD7, 0xBDD7, 0xBDF7, 0xC618, 0xB5B6, 0xA534, 0xA534, 0x632C, // 0x0370 (880)
|
||||||
|
0x6B6D, 0xB5B6, 0xAD76, 0xAD76, 0xBE17, 0xE71B, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0380 (896)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDEFB, 0x94B2, 0x8C51, 0x94B2, 0xA534, 0xAD55, 0xAD55, 0x9CD3, 0x8C71, 0x73AE, 0x632C, 0xA534, // 0x0390 (912)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03A0 (928)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, 0xCE59, 0xA514, 0x8430, 0x7BCF, 0x738E, 0x73AE, 0x8410, 0xA534, 0xEF7D, 0xFFFF, // 0x03B0 (944)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03C0 (960)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, 0xE73C, 0xE71C, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03D0 (976)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03E0 (992)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, // 0x03F0 (1008)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0400 (1024)
|
||||||
|
};
|
|
@ -0,0 +1,264 @@
|
||||||
|
// Generated by : ImageConverter 565 v1.0
|
||||||
|
// Generated from: tux_64x64.png
|
||||||
|
// Time generated: 14.10.2010 21:56:38
|
||||||
|
// Dimensions : 64x64 pixels
|
||||||
|
// Size : 8 192 Bytes
|
||||||
|
|
||||||
|
const unsigned short tux[0x1000] ={
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0010 (16)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xCE79, 0x9CF3, 0x7BCF, 0x738E, 0x738E, // 0x0020 (32)
|
||||||
|
0x6B6D, 0x94B2, 0xCE79, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0030 (48)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0040 (64)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0050 (80)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xCE79, 0x6B4D, 0x5ACB, 0x8410, 0x9CF3, 0x9CF3, 0x9CF3, // 0x0060 (96)
|
||||||
|
0x9CD3, 0x73AE, 0x4208, 0x5ACB, 0xCE79, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0070 (112)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0080 (128)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0090 (144)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xA514, 0x3186, 0x8C51, 0xBDF7, 0xC618, 0xBDF7, 0xBDF7, 0xBDF7, // 0x00A0 (160)
|
||||||
|
0xBDF7, 0xC618, 0xBDD7, 0x738E, 0x18C3, 0x8C51, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00B0 (176)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00C0 (192)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00D0 (208)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xBDD7, 0x10A2, 0x8C71, 0x9CF3, 0x8C71, 0x8C71, 0x8C71, 0x8C71, 0x8C71, // 0x00E0 (224)
|
||||||
|
0x8C71, 0x8C51, 0x8C51, 0x9CF3, 0x73AE, 0x0000, 0x7BEF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00F0 (240)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0100 (256)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0110 (272)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0x2945, 0x31A6, 0x7BCF, 0x6B4D, 0x6B6D, 0x6B6D, 0x6B6D, 0x6B6D, 0x6B6D, // 0x0120 (288)
|
||||||
|
0x6B6D, 0x6B6D, 0x6B6D, 0x6B4D, 0x73AE, 0x2124, 0x0000, 0xAD55, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0130 (304)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0140 (320)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0150 (336)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xC638, 0x0000, 0x31A6, 0x52AA, 0x4A69, 0x4A69, 0x4A69, 0x4A69, 0x4A69, 0x4A69, // 0x0160 (352)
|
||||||
|
0x4A69, 0x4A69, 0x4A69, 0x4A69, 0x528A, 0x2104, 0x0000, 0x2965, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0170 (368)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0180 (384)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0190 (400)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x8C71, 0x0000, 0x1082, 0x3186, 0x3186, 0x3186, 0x3186, 0x3186, 0x3186, 0x3186, // 0x01A0 (416)
|
||||||
|
0x3186, 0x3186, 0x3186, 0x3186, 0x2965, 0x0020, 0x0000, 0x0000, 0x9CF3, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x01B0 (432)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x01C0 (448)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x01D0 (464)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x630C, 0x0000, 0x0000, 0x0861, 0x18C3, 0x10A2, 0x10A2, 0x10A2, 0x10A2, 0x18C3, // 0x01E0 (480)
|
||||||
|
0x1082, 0x0841, 0x1082, 0x10A2, 0x0020, 0x0000, 0x0000, 0x0000, 0x528A, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x01F0 (496)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0200 (512)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0210 (528)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x4A49, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, // 0x0220 (544)
|
||||||
|
0x0861, 0x3186, 0x18C3, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x2104, 0xD6BA, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0230 (560)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0240 (576)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0250 (592)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x39C7, 0x0000, 0x3186, 0xAD75, 0x8C51, 0x0841, 0x0000, 0x0000, 0x0000, 0x4208, // 0x0260 (608)
|
||||||
|
0xD6BA, 0xFFDF, 0xE71C, 0x630C, 0x0000, 0x0000, 0x0000, 0x0000, 0x0841, 0xAD75, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0270 (624)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0280 (640)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0290 (656)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x39C7, 0x0000, 0xCE59, 0xFFFF, 0xFFFF, 0x94B2, 0x0000, 0x0000, 0x10A2, 0xE73C, // 0x02A0 (672)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xEF7D, 0x2124, 0x0000, 0x0000, 0x0000, 0x0000, 0x94B2, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x02B0 (688)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x02C0 (704)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x02D0 (720)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x2965, 0x18E3, 0xDEDB, 0x7BCF, 0xAD75, 0xEF5D, 0x2944, 0x0000, 0x5ACA, 0xFFFF, // 0x02E0 (736)
|
||||||
|
0xAD55, 0x94B2, 0xAD55, 0xF7BE, 0x8410, 0x0000, 0x0000, 0x0000, 0x0000, 0x8C51, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x02F0 (752)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0300 (768)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0310 (784)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x39E7, 0x2945, 0xA514, 0x9CF3, 0x8C71, 0xD6BB, 0x39C9, 0x0000, 0x632E, 0xF7DF, // 0x0320 (800)
|
||||||
|
0x7BEF, 0xAD54, 0x7BEF, 0xBDF7, 0xB596, 0x0000, 0x0000, 0x0000, 0x0000, 0x8C71, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0330 (816)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0340 (832)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0350 (848)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x4A49, 0x18C3, 0x9492, 0x39E7, 0x3187, 0xA48F, 0x8323, 0x5A00, 0x93A6, 0xCDD5, // 0x0360 (864)
|
||||||
|
0x4209, 0x4249, 0x2965, 0x9CD2, 0xB575, 0x0000, 0x0000, 0x0000, 0x0000, 0x9492, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0370 (880)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0380 (896)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0390 (912)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x5ACB, 0x0000, 0x9D14, 0x2905, 0x6A40, 0xE643, 0xFFAE, 0xFFF3, 0xFF70, 0xDD86, // 0x03A0 (928)
|
||||||
|
0x7240, 0x1840, 0x18C3, 0xC65A, 0x73CF, 0x0000, 0x0000, 0x0000, 0x0000, 0x8C51, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03B0 (944)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03C0 (960)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03D0 (976)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x738E, 0x0000, 0x5A6A, 0xD566, 0xFF66, 0xFFF8, 0xFFFD, 0xFFDC, 0xFFFD, 0xFFFA, // 0x03E0 (992)
|
||||||
|
0xFF0E, 0xE566, 0xC464, 0xC4CC, 0x2103, 0x0000, 0x0000, 0x0000, 0x0000, 0x6B6D, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03F0 (1008)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0400 (1024)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0410 (1040)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x7BEF, 0x0800, 0xB440, 0xFFC6, 0xFFF3, 0xFFB4, 0xFFB2, 0xFF92, 0xFF72, 0xFF53, // 0x0420 (1056)
|
||||||
|
0xFF55, 0xFF75, 0xFEF0, 0xF542, 0x8240, 0x0000, 0x0000, 0x0000, 0x0000, 0x4228, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0430 (1072)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0440 (1088)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0450 (1104)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x8432, 0x4140, 0xFFE2, 0xFFEB, 0xFFAC, 0xFF8B, 0xFF4C, 0xFF2C, 0xFEEC, 0xFECB, // 0x0460 (1120)
|
||||||
|
0xFE6A, 0xFE08, 0xFDA7, 0xFDC3, 0xA320, 0x0000, 0x0000, 0x0000, 0x0000, 0x18E3, 0xD69A, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0470 (1136)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0480 (1152)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0490 (1168)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x9D14, 0x28A0, 0xF6E0, 0xFFE1, 0xFF43, 0xFF04, 0xFEC4, 0xFE84, 0xFE23, 0xFDE1, // 0x04A0 (1184)
|
||||||
|
0xFD60, 0xFD20, 0xFD20, 0xFD20, 0x7241, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x9CF3, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x04B0 (1200)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x04C0 (1216)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x04D0 (1232)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xB5B6, 0x0000, 0xC4A9, 0xFEC0, 0xFF00, 0xFEA0, 0xFE40, 0xFE00, 0xFDA0, 0xFD60, // 0x04E0 (1248)
|
||||||
|
0xFD40, 0xFD20, 0xEC80, 0xDCC7, 0x8C0F, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x52AA, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x04F0 (1264)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0500 (1280)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0510 (1296)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xAD75, 0x0000, 0xD69B, 0xF631, 0xF5C0, 0xFE80, 0xFE00, 0xFDC0, 0xFD60, 0xFD40, // 0x0520 (1312)
|
||||||
|
0xFCC0, 0xDC86, 0xCD93, 0xE73D, 0xE71C, 0x0861, 0x0000, 0x0000, 0x0000, 0x0000, 0x0861, 0xC618, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0530 (1328)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0540 (1344)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0550 (1360)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x632C, 0x0000, 0xD6BA, 0xFFFF, 0xF5F1, 0xFD40, 0xFD80, 0xFD20, 0xFCE0, 0xECA3, // 0x0560 (1376)
|
||||||
|
0xDD6F, 0xE6FC, 0xFFFF, 0xFFFF, 0xFFFF, 0x632C, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x5ACB, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0570 (1392)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0580 (1408)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0590 (1424)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xDEDB, 0x0861, 0x0000, 0xD69A, 0xFFFF, 0xFFFF, 0xFED8, 0xF631, 0xF610, 0xE5F2, 0xE6B9, // 0x05A0 (1440)
|
||||||
|
0xF7BF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xE71C, 0x10A2, 0x0000, 0x0000, 0x0000, 0x0000, 0x0020, 0xB5B6, 0xFFFF, 0xFFFF, 0xFFFF, // 0x05B0 (1456)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x05C0 (1472)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x05D0 (1488)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0x39E7, 0x0000, 0x4228, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7FF, 0xF7DF, 0xFFFF, // 0x05E0 (1504)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x73AE, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x3186, 0xEF7D, 0xFFFF, 0xFFFF, // 0x05F0 (1520)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0600 (1536)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0610 (1552)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x738E, 0x0000, 0x18C3, 0xDEFB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0620 (1568)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFFF, 0xCE59, 0x0020, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x6B4D, 0xFFFF, 0xFFFF, // 0x0630 (1584)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0640 (1600)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0650 (1616)
|
||||||
|
0xFFFF, 0xFFDF, 0xFFFF, 0xA514, 0x0000, 0x0000, 0x9CD3, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0660 (1632)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0x2965, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xAD55, 0xFFFF, // 0x0670 (1648)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0680 (1664)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0690 (1680)
|
||||||
|
0xFFDF, 0xFFFF, 0xD69A, 0x0861, 0x0000, 0x2945, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x06A0 (1696)
|
||||||
|
0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xFFFF, 0x7BCF, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x18C3, 0xD6BA, // 0x06B0 (1712)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x06C0 (1728)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x06D0 (1744)
|
||||||
|
0xFFFF, 0xFFDF, 0x39C7, 0x0000, 0x0000, 0x8430, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x06E0 (1760)
|
||||||
|
0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xFFFF, 0xCE79, 0x0841, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x4228, // 0x06F0 (1776)
|
||||||
|
0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0700 (1792)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, // 0x0710 (1808)
|
||||||
|
0xFFFF, 0x94B2, 0x0000, 0x0020, 0x0020, 0xCE79, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, // 0x0720 (1824)
|
||||||
|
0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xFFDF, 0x4A69, 0x0000, 0x0841, 0x0000, 0x0000, 0x0000, 0x0020, 0x0000, // 0x0730 (1840)
|
||||||
|
0x8C71, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0740 (1856)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0750 (1872)
|
||||||
|
0xEF7D, 0x2104, 0x0020, 0x0000, 0x3186, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, // 0x0760 (1888)
|
||||||
|
0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xFFFF, 0xB5B6, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0000, // 0x0770 (1904)
|
||||||
|
0x10A2, 0xD6BA, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0780 (1920)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, // 0x0790 (1936)
|
||||||
|
0x8C71, 0x0000, 0x0861, 0x0000, 0x7BCF, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, // 0x07A0 (1952)
|
||||||
|
0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xF79E, 0xEF7D, 0xFFDF, 0x528A, 0x0000, 0x0841, 0x0020, 0x0020, 0x0020, 0x0020, // 0x07B0 (1968)
|
||||||
|
0x0000, 0x630C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x07C0 (1984)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, // 0x07D0 (2000)
|
||||||
|
0x3186, 0x0000, 0x0841, 0x10A2, 0xE71C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, // 0x07E0 (2016)
|
||||||
|
0xF7BE, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xF79E, 0xF79E, 0xEF5D, 0xF7BE, 0xBDD7, 0x0841, 0x0861, 0x0841, 0x0841, 0x0841, 0x0020, // 0x07F0 (2032)
|
||||||
|
0x0020, 0x1082, 0xC638, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0800 (2048)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xBDD7, // 0x0810 (2064)
|
||||||
|
0x0020, 0x1082, 0x0000, 0x7BEF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, // 0x0820 (2080)
|
||||||
|
0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xF79E, 0xEF7D, 0xEF7D, 0xEF7D, 0xEF5D, 0xEF7D, 0x4208, 0x0020, 0x0861, 0x0861, 0x0841, 0x0841, // 0x0830 (2096)
|
||||||
|
0x0841, 0x0000, 0x630C, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0840 (2112)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x6B4D, // 0x0850 (2128)
|
||||||
|
0x0000, 0x0861, 0x2104, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, // 0x0860 (2144)
|
||||||
|
0xF7BE, 0xF7BE, 0xF79E, 0xF79E, 0xEF7D, 0xEF7D, 0xEF7D, 0xEF5D, 0xE73C, 0xF7BE, 0x8430, 0x0000, 0x1082, 0x0861, 0x0861, 0x0861, // 0x0870 (2160)
|
||||||
|
0x0861, 0x0020, 0x18C3, 0xCE79, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0880 (2176)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF5D, 0x2124, // 0x0890 (2192)
|
||||||
|
0x0861, 0x0020, 0x8410, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, // 0x08A0 (2208)
|
||||||
|
0xF7BE, 0xF79E, 0xF79E, 0xEF7D, 0xEF7D, 0xEF7D, 0xEF5D, 0xEF5D, 0xE73C, 0xEF7D, 0xB5B6, 0x0861, 0x1082, 0x1082, 0x0861, 0x0861, // 0x08B0 (2224)
|
||||||
|
0x0861, 0x0861, 0x0000, 0x8430, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x08C0 (2240)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xA514, 0x0020, // 0x08D0 (2256)
|
||||||
|
0x10A2, 0x1082, 0xD69A, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF7BE, // 0x08E0 (2272)
|
||||||
|
0xF79E, 0xF79E, 0xEF7D, 0xEF7D, 0xEF7D, 0xEF5D, 0xEF5D, 0xE73C, 0xE73C, 0xEF5D, 0xCE79, 0x2124, 0x1082, 0x10A2, 0x1082, 0x1082, // 0x08F0 (2288)
|
||||||
|
0x0861, 0x1082, 0x0000, 0x4208, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0900 (2304)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0x4208, 0x0861, // 0x0910 (2320)
|
||||||
|
0x1082, 0x31A6, 0xF79E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, // 0x0920 (2336)
|
||||||
|
0xF79E, 0xEF7D, 0xEF7D, 0xEF7D, 0xEF5D, 0xEF5D, 0xE73C, 0xE73C, 0xE71C, 0xE71C, 0xDEDB, 0x39C7, 0x1082, 0x10A2, 0x10A2, 0x1082, // 0x0930 (2352)
|
||||||
|
0x1082, 0x1082, 0x0841, 0x18C3, 0xC618, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0940 (2368)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xA534, 0x0841, 0x18C3, // 0x0950 (2384)
|
||||||
|
0x0841, 0x630C, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xF79E, // 0x0960 (2400)
|
||||||
|
0xEF7D, 0xEF7D, 0xEF7D, 0xEF5D, 0xEF5D, 0xE73C, 0xE73C, 0xE73C, 0xE71C, 0xDEFB, 0xE73C, 0x4A49, 0x0861, 0x18C3, 0x10A2, 0x10A2, // 0x0970 (2416)
|
||||||
|
0x10A2, 0x1082, 0x1082, 0x0841, 0x9CD3, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0980 (2432)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF7D, 0x3186, 0x1082, 0x18E3, // 0x0990 (2448)
|
||||||
|
0x0861, 0x94B2, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xF79E, 0xEF7D, // 0x09A0 (2464)
|
||||||
|
0xEF7D, 0xEF7D, 0xEF5D, 0xEF5D, 0xE73C, 0xE73C, 0xE73C, 0xE71C, 0xE71C, 0xDEDB, 0xE73C, 0x4A69, 0x1082, 0x18E3, 0x18C3, 0x10A2, // 0x09B0 (2480)
|
||||||
|
0x10A2, 0x10A2, 0x10A2, 0x0020, 0x73AE, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x09C0 (2496)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x94B2, 0x0841, 0x18E3, 0x18E3, // 0x09D0 (2512)
|
||||||
|
0x0861, 0xAD75, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xF79E, 0xEF7D, 0xEF7D, // 0x09E0 (2528)
|
||||||
|
0xEF7D, 0xEF5D, 0xEF5D, 0xE73C, 0xE73C, 0xE73C, 0xE71C, 0xE71C, 0xDEFB, 0xDEDB, 0xE73C, 0x52AA, 0x10A2, 0x2104, 0x18E3, 0x18C3, // 0x09F0 (2544)
|
||||||
|
0x18C3, 0x18C3, 0x10A2, 0x0841, 0x630C, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0A00 (2560)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x632C, 0x0861, 0x18E4, 0x18E4, // 0x0A10 (2576)
|
||||||
|
0x1082, 0xC638, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xF79E, 0xEF7D, 0xEF7D, 0xEF7D, // 0x0A20 (2592)
|
||||||
|
0xEF5D, 0xEF5D, 0xE73C, 0xE73C, 0xE73C, 0xE71C, 0xE71C, 0xDEFB, 0xDEFB, 0xD6BA, 0xE71C, 0x6B4D, 0x10A2, 0x18C3, 0x18C3, 0x10A2, // 0x0A30 (2608)
|
||||||
|
0x10A2, 0x10A2, 0x18C3, 0x0861, 0x5AEB, 0xE73C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0A40 (2624)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x8410, 0x0862, 0x3143, 0x2924, // 0x0A50 (2640)
|
||||||
|
0x0882, 0xBDD7, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xF79E, 0xEF7D, 0xEF7D, 0xEF7D, 0xEF5D, // 0x0A60 (2656)
|
||||||
|
0xEF5D, 0xE73C, 0xE73C, 0xE73C, 0xE71C, 0xE71C, 0xDEFB, 0xDEFB, 0xDEDB, 0xDEDB, 0xE73C, 0x630C, 0x2103, 0x4A69, 0x632C, 0x6B4D, // 0x0A70 (2672)
|
||||||
|
0x528A, 0x2965, 0x18C3, 0x1081, 0x738E, 0xE73C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0A80 (2688)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xB596, 0x7A40, 0xECA0, 0xCC00, // 0x0A90 (2704)
|
||||||
|
0x3941, 0xA535, 0xFFFF, 0xF7BE, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xF79E, 0xEF7D, 0xEF7D, 0xEF7D, 0xEF5D, 0xEF5D, // 0x0AA0 (2720)
|
||||||
|
0xE73C, 0xE73C, 0xE73C, 0xE71C, 0xE71C, 0xDEFB, 0xDEFB, 0xDEFB, 0xD6DB, 0xCE38, 0xC618, 0x4A48, 0x4A49, 0x6B6D, 0x6B4D, 0x6B4D, // 0x0AB0 (2736)
|
||||||
|
0x6B4D, 0x630C, 0x3186, 0x18E4, 0x9492, 0xEF7D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0AC0 (2752)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xC488, 0xFD41, 0xFE6D, 0xFE6A, // 0x0AD0 (2768)
|
||||||
|
0xDC60, 0x5A25, 0xB5D8, 0xFFFF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xF79E, 0xF79E, 0xEF7D, 0xEF7D, 0xEF7D, 0xEF5D, 0xEF5D, 0xE73C, // 0x0AE0 (2784)
|
||||||
|
0xE73C, 0xE73C, 0xE71C, 0xE71C, 0xDEFB, 0xDEFB, 0xDEDB, 0xD6BB, 0xBCAB, 0xD462, 0xD462, 0x49E4, 0x10C3, 0x18C3, 0x18C3, 0x18C3, // 0x0AF0 (2800)
|
||||||
|
0x18C3, 0x18E3, 0x10A3, 0x49C4, 0xB575, 0xF7BF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0B00 (2816)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xCD70, 0xECA0, 0xFF14, 0xFF9B, 0xFF7B, // 0x0B10 (2832)
|
||||||
|
0xFECF, 0xC3A0, 0x3143, 0x9CF3, 0xFFFF, 0xF7BE, 0xF79E, 0xF79E, 0xF79E, 0xEF7D, 0xEF7D, 0xEF7D, 0xEF5D, 0xEF5D, 0xE73C, 0xE73C, // 0x0B20 (2848)
|
||||||
|
0xE73C, 0xE71C, 0xE71C, 0xDEFB, 0xDEFB, 0xDEDB, 0xDEFB, 0xC617, 0xDC60, 0xFD60, 0xFD20, 0x3120, 0x0000, 0x0000, 0x0000, 0x0000, // 0x0B30 (2864)
|
||||||
|
0x0000, 0x0000, 0x3900, 0xE460, 0xB46A, 0xEF9F, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0B40 (2880)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xD5F4, 0xDC20, 0xFE8E, 0xFF59, 0xFF36, 0xFF36, // 0x0B50 (2896)
|
||||||
|
0xFF59, 0xFE6B, 0xA300, 0x18E4, 0x8410, 0xFFBE, 0xF7BE, 0xEF7D, 0xF79E, 0xEF7D, 0xEF7D, 0xEF5D, 0xEF5D, 0xE73C, 0xE73C, 0xE73C, // 0x0B60 (2912)
|
||||||
|
0xE71C, 0xE71C, 0xDEFB, 0xDEFB, 0xDEDB, 0xDEBA, 0xDEFB, 0xC5B5, 0xE4A1, 0xFEF2, 0xF716, 0x3164, 0x18E4, 0x2103, 0x1082, 0x1082, // 0x0B70 (2928)
|
||||||
|
0x0021, 0x1061, 0xD5D0, 0xFE27, 0xB3E3, 0xCE9B, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0B80 (2944)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF77D, 0xE697, 0xDDAF, 0xD4C8, 0xE480, 0xFE29, 0xFF36, 0xFF15, 0xFF35, 0xFF15, // 0x0B90 (2960)
|
||||||
|
0xFF15, 0xFF36, 0xFDA5, 0x6A42, 0x1905, 0x6B4C, 0xE73C, 0xFFDF, 0xEF5D, 0xEF7D, 0xEF5D, 0xEF5D, 0xE73C, 0xE73C, 0xE73C, 0xE71C, // 0x0BA0 (2976)
|
||||||
|
0xE71C, 0xDEFB, 0xDEFB, 0xDEDB, 0xDEDB, 0xD6BA, 0xDEDB, 0xBDB5, 0xE4C3, 0xFF56, 0xFFDB, 0xAD10, 0x10A2, 0x10C3, 0x18E4, 0x1082, // 0x0BB0 (2992)
|
||||||
|
0x2922, 0xC5B1, 0xFFDC, 0xFED1, 0xB3A2, 0xBE19, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0BC0 (3008)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xE6B8, 0xD484, 0xE4C0, 0xF584, 0xFE28, 0xFECF, 0xFF14, 0xFF13, 0xFF13, 0xFF13, 0xFF13, // 0x0BD0 (3024)
|
||||||
|
0xFF13, 0xFF14, 0xFEF0, 0xDC80, 0x41C5, 0x2945, 0x5269, 0xCE59, 0xF7BE, 0xEF5D, 0xEF5D, 0xE73C, 0xE73C, 0xE73C, 0xE71C, 0xE71C, // 0x0BE0 (3040)
|
||||||
|
0xDEFB, 0xDEFB, 0xDEDB, 0xDEDB, 0xD6BA, 0xD69A, 0xD6DB, 0xBD95, 0xE4E2, 0xFF33, 0xFF36, 0xFF97, 0xDDF1, 0x8B66, 0x7AE4, 0x9BC7, // 0x0BF0 (3056)
|
||||||
|
0xEEB2, 0xFF97, 0xFF37, 0xFEF0, 0xC3E0, 0xB5B7, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0C00 (3072)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xD52B, 0xFD60, 0xFECD, 0xFF33, 0xFF13, 0xFF12, 0xFEF1, 0xFEF1, 0xFEF1, 0xFEF1, 0xFEF1, // 0x0C10 (3088)
|
||||||
|
0xFEF1, 0xFEF1, 0xFF12, 0xFE69, 0x9B41, 0x31A8, 0x31A6, 0x39E7, 0xB5B6, 0xF79E, 0xE73C, 0xE73C, 0xE73C, 0xE71C, 0xE71C, 0xDEFB, // 0x0C20 (3104)
|
||||||
|
0xDEFB, 0xDEDB, 0xDEDB, 0xD6BA, 0xD6BA, 0xD699, 0xD6BA, 0xBD94, 0xE502, 0xFF12, 0xFF15, 0xFEF4, 0xFF55, 0xFF95, 0xFF54, 0xFF95, // 0x0C30 (3120)
|
||||||
|
0xFF35, 0xFEF4, 0xFF14, 0xFF14, 0xF5A4, 0xB426, 0xE75E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0C40 (3136)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xD54C, 0xFDA0, 0xFECE, 0xFEF0, 0xFECF, 0xFEEF, 0xFEEF, 0xFEF0, 0xFEEF, 0xFEF0, 0xFEF0, // 0x0C50 (3152)
|
||||||
|
0xFEF0, 0xFEEF, 0xFEF0, 0xFEEF, 0xF582, 0x6244, 0x39E8, 0x39C6, 0x528A, 0xE71C, 0xE73C, 0xE71C, 0xE71C, 0xE71C, 0xDEFB, 0xDEFB, // 0x0C60 (3168)
|
||||||
|
0xDEDB, 0xDEDB, 0xD6BA, 0xD6BA, 0xD69A, 0xCE79, 0xCE9A, 0xBD94, 0xE522, 0xFF10, 0xFEF2, 0xFEF2, 0xFEF2, 0xFEF2, 0xFEF2, 0xFEF2, // 0x0C70 (3184)
|
||||||
|
0xFEF2, 0xFF12, 0xFEF2, 0xFEF2, 0xFF12, 0xED85, 0xBC68, 0xE73D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0C80 (3200)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xD5B0, 0xF580, 0xFECB, 0xFEEE, 0xFECD, 0xFEEE, 0xFEEE, 0xFEEE, 0xFEEE, 0xFEEE, 0xFEEE, // 0x0C90 (3216)
|
||||||
|
0xFEEE, 0xFEEE, 0xFECD, 0xFECE, 0xFECA, 0xCC60, 0x41C7, 0x39C7, 0x4228, 0xCE79, 0xEF5D, 0xE71C, 0xE71C, 0xDEFB, 0xDEFB, 0xDEDB, // 0x0CA0 (3232)
|
||||||
|
0xDEDB, 0xD6BA, 0xD6BA, 0xD69A, 0xCE79, 0xCE59, 0xCE9A, 0xBD73, 0xED42, 0xFF0F, 0xFEF0, 0xFEF0, 0xFEF0, 0xFEF0, 0xFEF0, 0xFEF0, // 0x0CB0 (3248)
|
||||||
|
0xFEF0, 0xFEF0, 0xFEF0, 0xFEF0, 0xFEF0, 0xFF31, 0xF628, 0xC4A7, 0xDE57, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0CC0 (3264)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDE13, 0xF560, 0xFEC9, 0xFECD, 0xFECC, 0xFECC, 0xFECC, 0xFECC, 0xFECC, 0xFECC, 0xFECC, // 0x0CD0 (3280)
|
||||||
|
0xFEEC, 0xFEEC, 0xFECC, 0xFECC, 0xFEED, 0xFE44, 0x9323, 0x52CC, 0x73AE, 0xD69A, 0xE73C, 0xDEFB, 0xDEFB, 0xDEFB, 0xDEDB, 0xDEDB, // 0x0CE0 (3296)
|
||||||
|
0xD6BA, 0xD6BA, 0xD69A, 0xCE79, 0xCE59, 0xD69A, 0xB5D8, 0x7B28, 0xF5A2, 0xFF0F, 0xFECE, 0xFEEE, 0xFEEE, 0xFEEE, 0xFEEE, 0xFEEE, // 0x0CF0 (3312)
|
||||||
|
0xFEEE, 0xFEEE, 0xFEEE, 0xFEEE, 0xFEEE, 0xFECD, 0xFF10, 0xFEA9, 0xCC60, 0xD615, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0D00 (3328)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDE55, 0xED80, 0xFEA4, 0xFECA, 0xFECA, 0xFECA, 0xFECA, 0xFECA, 0xFECA, 0xFECA, 0xFEC9, // 0x0D10 (3344)
|
||||||
|
0xFEA7, 0xFEA6, 0xFEA8, 0xFEC9, 0xFECB, 0xFEEA, 0xEDA2, 0xB4F0, 0xCE9A, 0xDEFB, 0xE71C, 0xDEFB, 0xDEFB, 0xDEDB, 0xDEDB, 0xD6BA, // 0x0D20 (3360)
|
||||||
|
0xD6BA, 0xD69A, 0xCE79, 0xCE79, 0xD6BA, 0xB596, 0x4A8B, 0x72A4, 0xFE45, 0xFEEC, 0xFECC, 0xFEEC, 0xFEEC, 0xFEEC, 0xFEEC, 0xFEEC, // 0x0D30 (3376)
|
||||||
|
0xFEEC, 0xFECB, 0xFECB, 0xFEEC, 0xFEEC, 0xFEEC, 0xFECC, 0xFEA5, 0xFDE0, 0xAC8B, 0xE75E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0D40 (3392)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xE632, 0xF5E0, 0xFE80, 0xFE82, 0xFEC7, 0xFEC8, 0xFEC8, 0xFEC8, 0xFEC7, 0xFEA4, 0xFE61, // 0x0D50 (3408)
|
||||||
|
0xFE60, 0xFE60, 0xFE60, 0xFE61, 0xFE83, 0xFEA6, 0xFEA3, 0xDD22, 0xD658, 0xE75D, 0xDEDB, 0xDEDB, 0xDEDB, 0xD6BA, 0xD6BA, 0xD69A, // 0x0D60 (3424)
|
||||||
|
0xD69A, 0xD69A, 0xD6BA, 0xCE59, 0x9492, 0x5289, 0x39E9, 0x9B84, 0xFEA3, 0xFEEB, 0xFEEA, 0xFEEA, 0xFEEA, 0xFEEA, 0xFEEA, 0xFEC8, // 0x0D70 (3440)
|
||||||
|
0xFE84, 0xFE61, 0xFE61, 0xFEA5, 0xFEC9, 0xFEA7, 0xFEA2, 0xFE80, 0xBC41, 0x8C0F, 0xE71C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0D80 (3456)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDDCE, 0xFE40, 0xFEA0, 0xFE80, 0xFE80, 0xFEA2, 0xFEA2, 0xFEA2, 0xFEA0, 0xFE80, 0xFE80, // 0x0D90 (3472)
|
||||||
|
0xFEA0, 0xFEA0, 0xFEA0, 0xFE80, 0xFE80, 0xFE80, 0xFE80, 0xFE80, 0xCCE5, 0xD69A, 0xE73C, 0xE71C, 0xDEFB, 0xDEFB, 0xDEDB, 0xDEDB, // 0x0DA0 (3488)
|
||||||
|
0xD69A, 0xBDF7, 0x9CD3, 0x630C, 0x4228, 0x4A69, 0x422A, 0xB423, 0xFEC0, 0xFEA5, 0xFEE7, 0xFEC7, 0xFEC7, 0xFEC6, 0xFEA3, 0xFE80, // 0x0DB0 (3504)
|
||||||
|
0xFE80, 0xFE80, 0xFE80, 0xFE60, 0xFEA0, 0xFEC0, 0xEDC0, 0xA3A4, 0x732C, 0xAD96, 0xF79E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0DC0 (3520)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xE5A8, 0xFEC0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x0DD0 (3536)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEE0, 0xF640, 0x93A8, 0x8C72, 0xA534, 0xAD75, 0xA534, 0x9CF3, 0x8C51, // 0x0DE0 (3552)
|
||||||
|
0x738E, 0x5ACB, 0x4A49, 0x4A69, 0x528A, 0x4A8A, 0x5249, 0xD502, 0xFEE0, 0xFEA0, 0xFEC0, 0xFEC1, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, // 0x0DF0 (3568)
|
||||||
|
0xFEA0, 0xFEA0, 0xFEA0, 0xFEE0, 0xFE60, 0xC482, 0x7B09, 0x7BD0, 0xB5B7, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0E00 (3584)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDD8A, 0xFEC0, 0xFF20, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, // 0x0E10 (3600)
|
||||||
|
0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEC0, 0xFF20, 0xAC02, 0x4209, 0x4A69, 0x4A69, 0x4A69, 0x4A69, 0x4A69, // 0x0E20 (3616)
|
||||||
|
0x528A, 0x528A, 0x52AA, 0x52AA, 0x528A, 0x4A8A, 0x5A69, 0xE5C1, 0xFF00, 0xFEC0, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, // 0x0E30 (3632)
|
||||||
|
0xFEC0, 0xFEE0, 0xFF00, 0xE561, 0x9367, 0x736E, 0x9D14, 0xD6BA, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0E40 (3648)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xD617, 0xCCC5, 0xF620, 0xFEE0, 0xFF40, 0xFF40, 0xFF40, 0xFF20, 0xFF00, 0xFF00, 0xFF00, // 0x0E50 (3664)
|
||||||
|
0xFF00, 0xFF00, 0xFF00, 0xFF00, 0xFF00, 0xFF00, 0xFF00, 0xFF00, 0xFF40, 0xB483, 0x4A8B, 0x5ACA, 0x5ACB, 0x5ACB, 0x5ACB, 0x5ACB, // 0x0E60 (3680)
|
||||||
|
0x5ACB, 0x52AA, 0x52AA, 0x52AA, 0x52AA, 0x4A8A, 0x6289, 0xEE20, 0xFF20, 0xFEE0, 0xFF00, 0xFF00, 0xFF00, 0xFF00, 0xFF00, 0xFEE0, // 0x0E70 (3696)
|
||||||
|
0xFF20, 0xFEC0, 0xBC64, 0x732B, 0x8C72, 0xCE58, 0xEF7D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0E80 (3712)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF7E, 0xB576, 0x93EE, 0xA408, 0xC4A5, 0xDD63, 0xF641, 0xFEC0, 0xFF40, 0xFF80, 0xFF60, // 0x0E90 (3728)
|
||||||
|
0xFF40, 0xFF20, 0xFF20, 0xFF40, 0xFF40, 0xFF40, 0xFF20, 0xFF20, 0xFF80, 0xAC03, 0x4A6B, 0x5ACA, 0x5ACB, 0x5ACB, 0x5AEB, 0x5AEB, // 0x0EA0 (3744)
|
||||||
|
0x5AEB, 0x630C, 0x630C, 0x630C, 0x5AEB, 0x52CB, 0x5A69, 0xE5E1, 0xFF60, 0xFF20, 0xFF20, 0xFF20, 0xFF20, 0xFF20, 0xFF20, 0xFF60, // 0x0EB0 (3760)
|
||||||
|
0xF640, 0xA3A7, 0x738F, 0xAD96, 0xE71C, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0EC0 (3776)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF79E, 0xD6DB, 0xB5B8, 0x9CD4, 0x9431, 0x93EE, 0x9C0A, 0xB467, 0xD544, 0xF660, // 0x0ED0 (3792)
|
||||||
|
0xFF60, 0xFFA0, 0xFF80, 0xFF60, 0xFF40, 0xFF40, 0xFF60, 0xFFA0, 0xD521, 0x730A, 0x73CF, 0x8C71, 0x9CD3, 0x9CF3, 0xA514, 0xA534, // 0x0EE0 (3808)
|
||||||
|
0xAD55, 0xB596, 0xB5B6, 0xB596, 0xAD55, 0x9CF3, 0x83F0, 0xCD04, 0xFFA0, 0xFF40, 0xFF40, 0xFF40, 0xFF40, 0xFF40, 0xFFA0, 0xF621, // 0x0EF0 (3824)
|
||||||
|
0x8B49, 0x8431, 0xCE58, 0xF79E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0F00 (3840)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xF79E, 0xE73C, 0xD6BB, 0xBE19, 0xA556, 0x9472, 0x9C0D, // 0x0F10 (3856)
|
||||||
|
0xB447, 0xDD82, 0xFEE0, 0xFFA0, 0xFFC0, 0xFFC0, 0xFF80, 0xC4C2, 0x730C, 0x9CF4, 0xD69A, 0xEF5D, 0xEF7D, 0xF79E, 0xF79E, 0xF7BE, // 0x0F20 (3872)
|
||||||
|
0xF7BE, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xEF7D, 0xDF1C, 0xC530, 0xF620, 0xFFC0, 0xFFC0, 0xFFC0, 0xFFC0, 0xFF80, 0xE5A2, 0x834A, // 0x0F30 (3888)
|
||||||
|
0x8C93, 0xDEDA, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0F40 (3904)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDE, 0xEF7D, 0xD6BB, // 0x0F50 (3920)
|
||||||
|
0xAD77, 0x9452, 0x9BEB, 0xB466, 0xC524, 0xC543, 0xA3E5, 0x734D, 0xAD76, 0xEF5C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0F60 (3936)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDF1C, 0xACB0, 0xBCA6, 0xD544, 0xCD64, 0xCD05, 0xAC07, 0x7B6D, 0x9CF4, // 0x0F70 (3952)
|
||||||
|
0xE6FB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0F80 (3968)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0F90 (3984)
|
||||||
|
0xFFDE, 0xE75D, 0xC65A, 0xA536, 0x9493, 0x8C53, 0x94B4, 0xBE18, 0xEF7D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0FA0 (4000)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xDEFC, 0xAD57, 0x9493, 0x8C73, 0x8C73, 0x94D4, 0xBE18, 0xEF5D, // 0x0FB0 (4016)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0FC0 (4032)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0FD0 (4048)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, 0xEF5C, 0xE73C, 0xEF5C, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0FE0 (4064)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, 0xEF5C, 0xE73C, 0xEF5C, 0xEF7D, 0xFFDE, 0xFFFF, // 0x0FF0 (4080)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x1000 (4096)
|
||||||
|
};
|
|
@ -0,0 +1,94 @@
|
||||||
|
// UTFT_CPLD_PageSwitching
|
||||||
|
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
|
||||||
|
// web: http://www.RinkyDinkElectronics.com/
|
||||||
|
//
|
||||||
|
// This program is a demo of page switching on CPLD-based display modules..
|
||||||
|
//
|
||||||
|
// This demo was made for modules with a screen resolution
|
||||||
|
// of 800x480 pixels.
|
||||||
|
//
|
||||||
|
// This program requires the UTFT library.
|
||||||
|
//
|
||||||
|
// NOTE: The display will be black for a short while during the start
|
||||||
|
//
|
||||||
|
|
||||||
|
#include <UTFT.h>
|
||||||
|
|
||||||
|
// Declare which fonts we will be using
|
||||||
|
extern uint8_t BigFont[];
|
||||||
|
extern uint8_t SevenSegNumFont[];
|
||||||
|
|
||||||
|
// Set the pins to the correct ones for your development shield
|
||||||
|
// ------------------------------------------------------------
|
||||||
|
// Standard Arduino Mega/Due shield : <display model>,38,39,40,41
|
||||||
|
// CTE TFT LCD/SD Shield for Arduino Due : <display model>,25,26,27,28
|
||||||
|
// Teensy 3.x TFT Test Board : <display model>,23,22, 3, 4
|
||||||
|
// ElecHouse TFT LCD/SD Shield for Arduino Due : <display model>,22,23,31,33
|
||||||
|
//
|
||||||
|
// Remember to change the model parameter to suit your display module!
|
||||||
|
UTFT myGLCD(EHOUSE50CPLD,22,23,31,33);
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
myGLCD.InitLCD();
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
myGLCD.setBackColor(VGA_TRANSPARENT);
|
||||||
|
|
||||||
|
myGLCD.setBrightness(0);
|
||||||
|
for (byte pg=0; pg<8; pg++)
|
||||||
|
{
|
||||||
|
myGLCD.setWritePage(pg);
|
||||||
|
myGLCD.clrScr();
|
||||||
|
for (int ln=0; ln<480; ln+=2)
|
||||||
|
{
|
||||||
|
switch (pg)
|
||||||
|
{
|
||||||
|
case 0:
|
||||||
|
myGLCD.setColor(ln/2, 0, 0);
|
||||||
|
break;
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(0, ln/2, 0);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(0, 0, ln/2);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(ln/4, ln/2, 0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0, ln/2, ln/2);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(ln/2, 0, ln/2);
|
||||||
|
break;
|
||||||
|
case 6:
|
||||||
|
myGLCD.setColor(ln/2, ln/2, 0);
|
||||||
|
break;
|
||||||
|
case 7:
|
||||||
|
myGLCD.setColor(0, ln/2, ln/4);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.drawLine(0, ln, 799, ln);
|
||||||
|
myGLCD.drawLine(0, ln+1, 799, ln+1);
|
||||||
|
}
|
||||||
|
myGLCD.setColor(VGA_WHITE);
|
||||||
|
myGLCD.setFont(BigFont);
|
||||||
|
myGLCD.print("This is page:", CENTER, 200);
|
||||||
|
myGLCD.setFont(SevenSegNumFont);
|
||||||
|
myGLCD.printNumI(pg, CENTER, 240);
|
||||||
|
}
|
||||||
|
myGLCD.setBrightness(16);
|
||||||
|
|
||||||
|
while(1)
|
||||||
|
{
|
||||||
|
for (byte pg=0; pg<8; pg++)
|
||||||
|
{
|
||||||
|
myGLCD.setDisplayPage(pg);
|
||||||
|
delay(500);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,336 @@
|
||||||
|
// UTFT_Demo_128x128_Serial
|
||||||
|
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
|
||||||
|
// web: http://www.RinkyDinkElectronics.com/
|
||||||
|
//
|
||||||
|
// This program is a demo of how to use most of the functions
|
||||||
|
// of the library with a supported display modules.
|
||||||
|
//
|
||||||
|
// This demo was made to work on the 128x128 modules.
|
||||||
|
// Any other size displays may cause strange behaviour.
|
||||||
|
//
|
||||||
|
// This program requires the UTFT library.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include <UTFT.h>
|
||||||
|
|
||||||
|
// Declare which fonts we will be using
|
||||||
|
extern uint8_t SmallFont[];
|
||||||
|
|
||||||
|
// Declare an instance of the class
|
||||||
|
UTFT myGLCD(LPH9135,6,5,2,3,4); // Remember to change the model parameter to suit your display module!
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
randomSeed(analogRead(0));
|
||||||
|
|
||||||
|
// Setup the LCD
|
||||||
|
myGLCD.InitLCD(PORTRAIT);
|
||||||
|
myGLCD.setFont(SmallFont);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
byte buf[126];
|
||||||
|
int x, x2;
|
||||||
|
int y, y2;
|
||||||
|
int r;
|
||||||
|
|
||||||
|
// Clear the screen and draw the frame
|
||||||
|
myGLCD.clrScr();
|
||||||
|
myGLCD.setContrast(64);
|
||||||
|
|
||||||
|
myGLCD.setColor(255, 0, 0);
|
||||||
|
myGLCD.fillRect(0,0,127,12);
|
||||||
|
myGLCD.setColor(64, 64, 64);
|
||||||
|
myGLCD.fillRect(0,117,127,127);
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.setBackColor(255,0,0);
|
||||||
|
myGLCD.print("Universal TFT", CENTER, 0);
|
||||||
|
myGLCD.setBackColor(64,64,64);
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("H.Karlsen", LEFT, 116);
|
||||||
|
myGLCD.print("(C)2015", RIGHT, 116);
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
myGLCD.drawRect(0,13,127,116);
|
||||||
|
|
||||||
|
// Draw crosshairs
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
myGLCD.drawLine(63,14,63,115);
|
||||||
|
myGLCD.drawLine(1,63,126,63);
|
||||||
|
for (int i=3; i<128; i+=10)
|
||||||
|
myGLCD.drawLine(i, 61, i, 65);
|
||||||
|
for (int i=14; i<118; i+=10)
|
||||||
|
myGLCD.drawLine(61, i, 65, i);
|
||||||
|
|
||||||
|
// Draw sin-, cos- and tan-lines
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
myGLCD.setBackColor(0,0,0);
|
||||||
|
myGLCD.print("Sin", 2, 14);
|
||||||
|
for (int i=1; i<126; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,63+(sin(((i*2.85)*3.14)/180)*45));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
myGLCD.print("Cos", 2, 26);
|
||||||
|
for (int i=1; i<126; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,63+(cos(((i*2.85)*3.14)/180)*45));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("Tan", 2, 38);
|
||||||
|
for (int i=1; i<126; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,63+(tan(((i*2.85)*3.14)/180)));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,126,115);
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
myGLCD.drawLine(63,14,63,115);
|
||||||
|
myGLCD.drawLine(1,63,126,63);
|
||||||
|
|
||||||
|
// Draw a moving sinewave
|
||||||
|
x=1;
|
||||||
|
for (int i=1; i<3654; i++)
|
||||||
|
{
|
||||||
|
x++;
|
||||||
|
if (x==127)
|
||||||
|
x=1;
|
||||||
|
if (i>127)
|
||||||
|
{
|
||||||
|
if ((x==63)||(buf[x-1]==63))
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
else
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.drawPixel(x,buf[x-1]);
|
||||||
|
}
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
y=63+(sin(((i*1.3)*3.14)/180)*45);
|
||||||
|
myGLCD.drawPixel(x,y);
|
||||||
|
buf[x-1]=y;
|
||||||
|
delay(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,126,115);
|
||||||
|
|
||||||
|
// Draw some filled rectangles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillRect(10+(i*10),10+(i*10), 60+(i*10), 60+(i*10));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,126,115);
|
||||||
|
|
||||||
|
// Draw some filled, rounded rectangles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillRoundRect(70-(i*10),10+(i*10), 120-(i*10), 60+(i*10));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,126,115);
|
||||||
|
|
||||||
|
// Draw some filled circles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillCircle(30+(i*10),35+(i*10), 25);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,126,115);
|
||||||
|
|
||||||
|
// Draw some lines in a pattern
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=11; i<115; i+=3)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, i-10, 115);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=112; i>14; i-=3)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(126, i, i+14, 14);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=115; i>14; i-=3)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, 116-i, 14);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=14; i<115; i+=3)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(126, i, 140-i, 115);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,126,115);
|
||||||
|
|
||||||
|
// Draw some random circles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=22+random(85);
|
||||||
|
y=35+random(59);
|
||||||
|
r=random(20);
|
||||||
|
myGLCD.drawCircle(x, y, r);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,126,115);
|
||||||
|
|
||||||
|
// Draw some random rectangles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(124);
|
||||||
|
y=15+random(101);
|
||||||
|
x2=2+random(124);
|
||||||
|
y2=15+random(101);
|
||||||
|
myGLCD.drawRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,126,115);
|
||||||
|
|
||||||
|
// Draw some random rounded rectangles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(124);
|
||||||
|
y=15+random(101);
|
||||||
|
x2=2+random(124);
|
||||||
|
y2=15+random(101);
|
||||||
|
myGLCD.drawRoundRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,126,115);
|
||||||
|
|
||||||
|
// Draw some random lines
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(124);
|
||||||
|
y=15+random(101);
|
||||||
|
x2=2+random(124);
|
||||||
|
y2=15+random(101);
|
||||||
|
myGLCD.drawLine(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,126,115);
|
||||||
|
|
||||||
|
// Draw some random pixels
|
||||||
|
for (int i=0; i<5000; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
myGLCD.drawPixel(2+random(124), 15+random(101));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay (2000);
|
||||||
|
|
||||||
|
// Set up the "Finished"-screen
|
||||||
|
myGLCD.setContrast(0);
|
||||||
|
myGLCD.fillScr(0,0,255);
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
myGLCD.fillRoundRect(2, 40, 125, 88);
|
||||||
|
|
||||||
|
myGLCD.setColor(255,255,255);
|
||||||
|
myGLCD.setBackColor(255,0,0);
|
||||||
|
myGLCD.print("That's it!", CENTER, 46);
|
||||||
|
myGLCD.print("Restarting in a", CENTER, 66);
|
||||||
|
myGLCD.print("few seconds...", CENTER, 76);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.setBackColor(0,0,255);
|
||||||
|
myGLCD.print("Runtime: (msecs)", CENTER, 108);
|
||||||
|
myGLCD.printNumI(millis(), CENTER, 118);
|
||||||
|
|
||||||
|
myGLCD.setContrast(64);
|
||||||
|
|
||||||
|
delay (10000);
|
||||||
|
|
||||||
|
// Fade screen to black
|
||||||
|
for (int i=64; i>0; i--)
|
||||||
|
{
|
||||||
|
myGLCD.setContrast(i);
|
||||||
|
delay(100);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,332 @@
|
||||||
|
// UTFT_Demo_160x128_Serial
|
||||||
|
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
|
||||||
|
// web: http://www.RinkyDinkElectronics.com/
|
||||||
|
//
|
||||||
|
// This program is a demo of how to use most of the functions
|
||||||
|
// of the library with a supported display modules.
|
||||||
|
//
|
||||||
|
// This demo was made for modules with a screen resolution
|
||||||
|
// of 160x128 pixels.
|
||||||
|
//
|
||||||
|
// This program requires the UTFT library.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include <UTFT.h>
|
||||||
|
|
||||||
|
// Declare which fonts we will be using
|
||||||
|
extern uint8_t SmallFont[];
|
||||||
|
|
||||||
|
// Usage: myGLCD(<model code>, SDA, SCL, CS, RST[, RS]);
|
||||||
|
//
|
||||||
|
// When using the DM-TFT18-101 and shield from DisplayModule you should use the following:
|
||||||
|
// UTFT myGLCD(DMTFT18101,2,3,4,6,5);
|
||||||
|
//
|
||||||
|
// When using the TFT18SP shield from ElecFreaks you should use the following:
|
||||||
|
// UTFT myGLCD(TFT18SHLD,7,6,5,3,4);
|
||||||
|
//
|
||||||
|
UTFT myGLCD(ITDB18SP,11,10,9,12,8); // Remember to change the model parameter to suit your display module!
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
randomSeed(analogRead(0));
|
||||||
|
|
||||||
|
// Setup the LCD
|
||||||
|
myGLCD.InitLCD();
|
||||||
|
myGLCD.setFont(SmallFont);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
int buf[158];
|
||||||
|
int x, x2;
|
||||||
|
int y, y2;
|
||||||
|
int r;
|
||||||
|
|
||||||
|
// Clear the screen and draw the frame
|
||||||
|
myGLCD.clrScr();
|
||||||
|
|
||||||
|
myGLCD.setColor(255, 0, 0);
|
||||||
|
myGLCD.fillRect(0, 0, 159, 13);
|
||||||
|
myGLCD.setColor(64, 64, 64);
|
||||||
|
myGLCD.fillRect(0, 114, 159, 127);
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.setBackColor(255, 0, 0);
|
||||||
|
myGLCD.print("Universal TFT Lib.", CENTER, 1);
|
||||||
|
myGLCD.setBackColor(64, 64, 64);
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("H.Karlsen", LEFT, 114);
|
||||||
|
myGLCD.print("(C)2015", RIGHT, 114);
|
||||||
|
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.drawRect(0, 13, 159, 113);
|
||||||
|
|
||||||
|
// Draw crosshairs
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.setBackColor(0, 0, 0);
|
||||||
|
myGLCD.drawLine(79, 14, 79, 113);
|
||||||
|
myGLCD.drawLine(1, 63, 158, 63);
|
||||||
|
|
||||||
|
for (int i=9; i<150; i+=10)
|
||||||
|
myGLCD.drawLine(i, 61, i, 65);
|
||||||
|
for (int i=19; i<110; i+=10)
|
||||||
|
myGLCD.drawLine(77, i, 81, i);
|
||||||
|
|
||||||
|
// Draw sin-, cos- and tan-lines
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
myGLCD.print("Sin", 5, 15);
|
||||||
|
for (int i=1; i<158; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,63+(sin(((i*2.27)*3.14)/180)*40));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
myGLCD.print("Cos", 5, 27);
|
||||||
|
for (int i=1; i<158; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,63+(cos(((i*2.27)*3.14)/180)*40));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("Tan", 5, 39);
|
||||||
|
for (int i=1; i<158; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,63+(tan(((i*2.27)*3.14)/180)));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,158,113);
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.setBackColor(0, 0, 0);
|
||||||
|
myGLCD.drawLine(79, 14, 79, 113);
|
||||||
|
myGLCD.drawLine(1, 63, 158, 63);
|
||||||
|
|
||||||
|
// Draw a moving sinewave
|
||||||
|
x=1;
|
||||||
|
for (int i=1; i<(158*20); i++)
|
||||||
|
{
|
||||||
|
x++;
|
||||||
|
if (x==159)
|
||||||
|
x=1;
|
||||||
|
if (i>159)
|
||||||
|
{
|
||||||
|
if ((x==79)||(buf[x-1]==63))
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
else
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.drawPixel(x,buf[x-1]);
|
||||||
|
}
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
y=63+(sin(((i*2.5)*3.14)/180)*(40-(i / 100)));
|
||||||
|
myGLCD.drawPixel(x,y);
|
||||||
|
buf[x-1]=y;
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,158,113);
|
||||||
|
|
||||||
|
// Draw some filled rectangles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillRect(39+(i*10), 23+(i*10), 59+(i*10), 43+(i*10));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,158,113);
|
||||||
|
|
||||||
|
// Draw some filled, rounded rectangles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillRoundRect(99-(i*10), 23+(i*10), 119-(i*10), 43+(i*10));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,158,113);
|
||||||
|
|
||||||
|
// Draw some filled circles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillCircle(49+(i*10),33+(i*10), 15);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,158,113);
|
||||||
|
|
||||||
|
// Draw some lines in a pattern
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=14; i<113; i+=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, (i*1.44)-10, 112);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=112; i>15; i-=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(158, i, (i*1.44)-12, 14);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=112; i>15; i-=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, 172-(i*1.44), 14);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=15; i<112; i+=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(158, i, 171-(i*1.44), 112);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,158,113);
|
||||||
|
|
||||||
|
// Draw some random circles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=22+random(116);
|
||||||
|
y=35+random(57);
|
||||||
|
r=random(20);
|
||||||
|
myGLCD.drawCircle(x, y, r);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,158,113);
|
||||||
|
|
||||||
|
// Draw some random rectangles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(156);
|
||||||
|
y=16+random(95);
|
||||||
|
x2=2+random(156);
|
||||||
|
y2=16+random(95);
|
||||||
|
myGLCD.drawRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,158,113);
|
||||||
|
|
||||||
|
// Draw some random rounded rectangles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(156);
|
||||||
|
y=16+random(95);
|
||||||
|
x2=2+random(156);
|
||||||
|
y2=16+random(95);
|
||||||
|
myGLCD.drawRoundRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,158,113);
|
||||||
|
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(156);
|
||||||
|
y=16+random(95);
|
||||||
|
x2=2+random(156);
|
||||||
|
y2=16+random(95);
|
||||||
|
myGLCD.drawLine(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,158,113);
|
||||||
|
|
||||||
|
for (int i=0; i<5000; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
myGLCD.drawPixel(2+random(156), 16+random(95));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.fillScr(0, 0, 255);
|
||||||
|
myGLCD.setColor(255, 0, 0);
|
||||||
|
myGLCD.fillRoundRect(10, 17, 149, 72);
|
||||||
|
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.setBackColor(255, 0, 0);
|
||||||
|
myGLCD.print("That's it!", CENTER, 20);
|
||||||
|
myGLCD.print("Restarting in a", CENTER, 45);
|
||||||
|
myGLCD.print("few seconds...", CENTER, 57);
|
||||||
|
|
||||||
|
myGLCD.setColor(0, 255, 0);
|
||||||
|
myGLCD.setBackColor(0, 0, 255);
|
||||||
|
myGLCD.print("Runtime: (msecs)", CENTER, 103);
|
||||||
|
myGLCD.printNumI(millis(), CENTER, 115);
|
||||||
|
|
||||||
|
delay (10000);
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,331 @@
|
||||||
|
// UTFT_Demo_220x176
|
||||||
|
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
|
||||||
|
// web: http://www.RinkyDinkElectronics.com/
|
||||||
|
//
|
||||||
|
// This program is a demo of how to use most of the functions
|
||||||
|
// of the library with a supported display modules.
|
||||||
|
//
|
||||||
|
// This demo was made for modules with a screen resolution
|
||||||
|
// of 220x176 pixels.
|
||||||
|
//
|
||||||
|
// This program requires the UTFT library.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include <UTFT.h>
|
||||||
|
|
||||||
|
// Declare which fonts we will be using
|
||||||
|
extern uint8_t SmallFont[];
|
||||||
|
|
||||||
|
// Set the pins to the correct ones for your development shield
|
||||||
|
// ------------------------------------------------------------
|
||||||
|
// Standard Arduino Mega/Due shield : <display model>,38,39,40,41
|
||||||
|
// CTE TFT LCD/SD Shield for Arduino Due : <display model>,25,26,27,28
|
||||||
|
// Teensy 3.x TFT Test Board : <display model>,23,22, 3, 4
|
||||||
|
// ElecHouse TFT LCD/SD Shield for Arduino Due : <display model>,22,23,31,33
|
||||||
|
//
|
||||||
|
// Remember to change the model parameter to suit your display module!
|
||||||
|
UTFT myGLCD(ITDB22,38,39,40,41);
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
randomSeed(analogRead(0));
|
||||||
|
|
||||||
|
// Setup the LCD
|
||||||
|
myGLCD.InitLCD();
|
||||||
|
myGLCD.setFont(SmallFont);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
int buf[218];
|
||||||
|
int x, x2;
|
||||||
|
int y, y2;
|
||||||
|
int r;
|
||||||
|
|
||||||
|
// Clear the screen and draw the frame
|
||||||
|
myGLCD.clrScr();
|
||||||
|
|
||||||
|
myGLCD.setColor(255, 0, 0);
|
||||||
|
myGLCD.fillRect(0, 0, 219, 13);
|
||||||
|
myGLCD.setColor(64, 64, 64);
|
||||||
|
myGLCD.fillRect(0, 162, 219, 175);
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.setBackColor(255, 0, 0);
|
||||||
|
myGLCD.print("** Universal TFT Library **", CENTER, 1);
|
||||||
|
myGLCD.setBackColor(64, 64, 64);
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("> Rinky-Dink Electronics <", CENTER, 163);
|
||||||
|
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.drawRect(0, 14, 219, 161);
|
||||||
|
|
||||||
|
// Draw crosshairs
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.setBackColor(0, 0, 0);
|
||||||
|
myGLCD.drawLine(109, 15, 109, 160);
|
||||||
|
myGLCD.drawLine(1, 88, 218, 88);
|
||||||
|
|
||||||
|
for (int i=9; i<210; i+=10)
|
||||||
|
myGLCD.drawLine(i, 86, i, 90);
|
||||||
|
for (int i=19; i<155; i+=10)
|
||||||
|
myGLCD.drawLine(107, i, 111, i);
|
||||||
|
|
||||||
|
// Draw sin-, cos- and tan-lines
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
myGLCD.print("Sin", 5, 15);
|
||||||
|
for (int i=1; i<218; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,88+(sin(((i*1.65)*3.14)/180)*70));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
myGLCD.print("Cos", 5, 27);
|
||||||
|
for (int i=1; i<218; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,88+(cos(((i*1.65)*3.14)/180)*70));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("Tan", 5, 39);
|
||||||
|
for (int i=1; i<218; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,88+(tan(((i*1.65)*3.14)/180)));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,218,160);
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.setBackColor(0, 0, 0);
|
||||||
|
myGLCD.drawLine(109, 15, 109, 160);
|
||||||
|
myGLCD.drawLine(1, 88, 218, 88);
|
||||||
|
|
||||||
|
// Draw a moving sinewave
|
||||||
|
x=1;
|
||||||
|
for (int i=1; i<(218*20); i++)
|
||||||
|
{
|
||||||
|
x++;
|
||||||
|
if (x==219)
|
||||||
|
x=1;
|
||||||
|
if (i>219)
|
||||||
|
{
|
||||||
|
if ((x==109)||(buf[x-1]==88))
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
else
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.drawPixel(x,buf[x-1]);
|
||||||
|
}
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
y=88+(sin(((i*1.6)*3.14)/180)*(65-(i / 100)));
|
||||||
|
myGLCD.drawPixel(x,y);
|
||||||
|
buf[x-1]=y;
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,218,160);
|
||||||
|
|
||||||
|
// Draw some filled rectangles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillRect(44+(i*15), 23+(i*15), 88+(i*15), 63+(i*15));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,218,160);
|
||||||
|
|
||||||
|
// Draw some filled, rounded rectangles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillRoundRect(132-(i*15), 23+(i*15), 172-(i*15), 63+(i*15));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,218,160);
|
||||||
|
|
||||||
|
// Draw some filled circles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillCircle(64+(i*15),43+(i*15), 20);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,218,160);
|
||||||
|
|
||||||
|
// Draw some lines in a pattern
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=15; i<160; i+=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, (i*1.44)-10, 160);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=160; i>15; i-=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(218, i, (i*1.44)-12, 15);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=160; i>15; i-=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, 232-(i*1.44), 15);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=15; i<160; i+=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(218, i, 231-(i*1.44), 160);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,218,160);
|
||||||
|
|
||||||
|
// Draw some random circles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=22+random(176);
|
||||||
|
y=35+random(105);
|
||||||
|
r=random(20);
|
||||||
|
myGLCD.drawCircle(x, y, r);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,218,160);
|
||||||
|
|
||||||
|
// Draw some random rectangles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(216);
|
||||||
|
y=16+random(143);
|
||||||
|
x2=2+random(216);
|
||||||
|
y2=16+random(143);
|
||||||
|
myGLCD.drawRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,218,160);
|
||||||
|
|
||||||
|
// Draw some random rounded rectangles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(216);
|
||||||
|
y=16+random(143);
|
||||||
|
x2=2+random(216);
|
||||||
|
y2=16+random(143);
|
||||||
|
myGLCD.drawRoundRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,218,160);
|
||||||
|
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(216);
|
||||||
|
y=16+random(143);
|
||||||
|
x2=2+random(216);
|
||||||
|
y2=16+random(143);
|
||||||
|
myGLCD.drawLine(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,218,160);
|
||||||
|
|
||||||
|
for (int i=0; i<10000; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
myGLCD.drawPixel(2+random(216), 16+random(143));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.fillScr(0, 0, 255);
|
||||||
|
myGLCD.setColor(255, 0, 0);
|
||||||
|
myGLCD.fillRoundRect(40, 57, 179, 119);
|
||||||
|
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.setBackColor(255, 0, 0);
|
||||||
|
myGLCD.print("That's it!", CENTER, 62);
|
||||||
|
myGLCD.print("Restarting in a", CENTER, 88);
|
||||||
|
myGLCD.print("few seconds...", CENTER, 101);
|
||||||
|
|
||||||
|
myGLCD.setColor(0, 255, 0);
|
||||||
|
myGLCD.setBackColor(0, 0, 255);
|
||||||
|
myGLCD.print("Runtime: (msecs)", CENTER, 146);
|
||||||
|
myGLCD.printNumI(millis(), CENTER, 161);
|
||||||
|
|
||||||
|
delay (10000);
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,324 @@
|
||||||
|
// UTFT_Demo_220x176_Serial
|
||||||
|
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
|
||||||
|
// web: http://www.RinkyDinkElectronics.com/
|
||||||
|
//
|
||||||
|
// This program is a demo of how to use most of the functions
|
||||||
|
// of the library with a supported display modules.
|
||||||
|
//
|
||||||
|
// This demo was made for serial modules with a screen resolution
|
||||||
|
// of 220x176 pixels.
|
||||||
|
//
|
||||||
|
// This program requires the UTFT library.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include <UTFT.h>
|
||||||
|
|
||||||
|
// Declare which fonts we will be using
|
||||||
|
extern uint8_t SmallFont[];
|
||||||
|
|
||||||
|
// Usage: myGLCD(<model code>, SDA, SCL, CS, RST[, RS]);
|
||||||
|
UTFT myGLCD(ITDB22SP,19,18,0,16); // Remember to change the model parameter to suit your display module!
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
randomSeed(analogRead(0));
|
||||||
|
|
||||||
|
// Setup the LCD
|
||||||
|
myGLCD.InitLCD();
|
||||||
|
myGLCD.setFont(SmallFont);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
int buf[218];
|
||||||
|
int x, x2;
|
||||||
|
int y, y2;
|
||||||
|
int r;
|
||||||
|
|
||||||
|
// Clear the screen and draw the frame
|
||||||
|
myGLCD.clrScr();
|
||||||
|
|
||||||
|
myGLCD.setColor(255, 0, 0);
|
||||||
|
myGLCD.fillRect(0, 0, 219, 13);
|
||||||
|
myGLCD.setColor(64, 64, 64);
|
||||||
|
myGLCD.fillRect(0, 162, 219, 175);
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.setBackColor(255, 0, 0);
|
||||||
|
myGLCD.print("** Universal TFT Library **", CENTER, 1);
|
||||||
|
myGLCD.setBackColor(64, 64, 64);
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("> Rinky-Dink Electronics <", CENTER, 163);
|
||||||
|
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.drawRect(0, 14, 219, 161);
|
||||||
|
|
||||||
|
// Draw crosshairs
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.setBackColor(0, 0, 0);
|
||||||
|
myGLCD.drawLine(109, 15, 109, 160);
|
||||||
|
myGLCD.drawLine(1, 88, 218, 88);
|
||||||
|
|
||||||
|
for (int i=9; i<210; i+=10)
|
||||||
|
myGLCD.drawLine(i, 86, i, 90);
|
||||||
|
for (int i=19; i<155; i+=10)
|
||||||
|
myGLCD.drawLine(107, i, 111, i);
|
||||||
|
|
||||||
|
// Draw sin-, cos- and tan-lines
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
myGLCD.print("Sin", 5, 15);
|
||||||
|
for (int i=1; i<218; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,88+(sin(((i*1.65)*3.14)/180)*70));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
myGLCD.print("Cos", 5, 27);
|
||||||
|
for (int i=1; i<218; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,88+(cos(((i*1.65)*3.14)/180)*70));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("Tan", 5, 39);
|
||||||
|
for (int i=1; i<218; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,88+(tan(((i*1.65)*3.14)/180)));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,218,160);
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.setBackColor(0, 0, 0);
|
||||||
|
myGLCD.drawLine(109, 15, 109, 160);
|
||||||
|
myGLCD.drawLine(1, 88, 218, 88);
|
||||||
|
|
||||||
|
// Draw a moving sinewave
|
||||||
|
x=1;
|
||||||
|
for (int i=1; i<(218*20); i++)
|
||||||
|
{
|
||||||
|
x++;
|
||||||
|
if (x==219)
|
||||||
|
x=1;
|
||||||
|
if (i>219)
|
||||||
|
{
|
||||||
|
if ((x==109)||(buf[x-1]==88))
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
else
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.drawPixel(x,buf[x-1]);
|
||||||
|
}
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
y=88+(sin(((i*1.6)*3.14)/180)*(65-(i / 100)));
|
||||||
|
myGLCD.drawPixel(x,y);
|
||||||
|
buf[x-1]=y;
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,218,160);
|
||||||
|
|
||||||
|
// Draw some filled rectangles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillRect(44+(i*15), 23+(i*15), 88+(i*15), 63+(i*15));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,218,160);
|
||||||
|
|
||||||
|
// Draw some filled, rounded rectangles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillRoundRect(132-(i*15), 23+(i*15), 172-(i*15), 63+(i*15));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,218,160);
|
||||||
|
|
||||||
|
// Draw some filled circles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillCircle(64+(i*15),43+(i*15), 20);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,218,160);
|
||||||
|
|
||||||
|
// Draw some lines in a pattern
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=15; i<160; i+=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, (i*1.44)-10, 160);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=160; i>15; i-=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(218, i, (i*1.44)-12, 15);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=160; i>15; i-=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, 232-(i*1.44), 15);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=15; i<160; i+=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(218, i, 231-(i*1.44), 160);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,218,161);
|
||||||
|
|
||||||
|
// Draw some random circles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=22+random(176);
|
||||||
|
y=35+random(105);
|
||||||
|
r=random(20);
|
||||||
|
myGLCD.drawCircle(x, y, r);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,218,160);
|
||||||
|
|
||||||
|
// Draw some random rectangles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(216);
|
||||||
|
y=16+random(143);
|
||||||
|
x2=2+random(216);
|
||||||
|
y2=16+random(143);
|
||||||
|
myGLCD.drawRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,218,160);
|
||||||
|
|
||||||
|
// Draw some random rounded rectangles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(216);
|
||||||
|
y=16+random(143);
|
||||||
|
x2=2+random(216);
|
||||||
|
y2=16+random(143);
|
||||||
|
myGLCD.drawRoundRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,218,160);
|
||||||
|
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(216);
|
||||||
|
y=16+random(143);
|
||||||
|
x2=2+random(216);
|
||||||
|
y2=16+random(143);
|
||||||
|
myGLCD.drawLine(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,218,160);
|
||||||
|
|
||||||
|
for (int i=0; i<10000; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
myGLCD.drawPixel(2+random(216), 16+random(143));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.fillScr(0, 0, 255);
|
||||||
|
myGLCD.setColor(255, 0, 0);
|
||||||
|
myGLCD.fillRoundRect(40, 57, 179, 119);
|
||||||
|
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.setBackColor(255, 0, 0);
|
||||||
|
myGLCD.print("That's it!", CENTER, 62);
|
||||||
|
myGLCD.print("Restarting in a", CENTER, 88);
|
||||||
|
myGLCD.print("few seconds...", CENTER, 101);
|
||||||
|
|
||||||
|
myGLCD.setColor(0, 255, 0);
|
||||||
|
myGLCD.setBackColor(0, 0, 255);
|
||||||
|
myGLCD.print("Runtime: (msecs)", CENTER, 146);
|
||||||
|
myGLCD.printNumI(millis(), CENTER, 161);
|
||||||
|
|
||||||
|
delay (10000);
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,330 @@
|
||||||
|
// UTFT_Demo_320x240
|
||||||
|
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
|
||||||
|
// web: http://www.RinkyDinkElectronics.com/
|
||||||
|
//
|
||||||
|
// This program is a demo of how to use most of the functions
|
||||||
|
// of the library with a supported display modules.
|
||||||
|
//
|
||||||
|
// This demo was made for modules with a screen resolution
|
||||||
|
// of 320x240 pixels.
|
||||||
|
//
|
||||||
|
// This program requires the UTFT library.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include <UTFT.h>
|
||||||
|
|
||||||
|
// Declare which fonts we will be using
|
||||||
|
extern uint8_t SmallFont[];
|
||||||
|
|
||||||
|
// Set the pins to the correct ones for your development shield
|
||||||
|
// ------------------------------------------------------------
|
||||||
|
// Standard Arduino Mega/Due shield : <display model>,38,39,40,41
|
||||||
|
// CTE TFT LCD/SD Shield for Arduino Due : <display model>,25,26,27,28
|
||||||
|
// Teensy 3.x TFT Test Board : <display model>,23,22, 3, 4
|
||||||
|
// ElecHouse TFT LCD/SD Shield for Arduino Due : <display model>,22,23,31,33
|
||||||
|
//
|
||||||
|
// Remember to change the model parameter to suit your display module!
|
||||||
|
UTFT myGLCD(ITDB32S,38,39,40,41);
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
randomSeed(analogRead(0));
|
||||||
|
|
||||||
|
// Setup the LCD
|
||||||
|
myGLCD.InitLCD();
|
||||||
|
myGLCD.setFont(SmallFont);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
int buf[318];
|
||||||
|
int x, x2;
|
||||||
|
int y, y2;
|
||||||
|
int r;
|
||||||
|
|
||||||
|
// Clear the screen and draw the frame
|
||||||
|
myGLCD.clrScr();
|
||||||
|
|
||||||
|
myGLCD.setColor(255, 0, 0);
|
||||||
|
myGLCD.fillRect(0, 0, 319, 13);
|
||||||
|
myGLCD.setColor(64, 64, 64);
|
||||||
|
myGLCD.fillRect(0, 226, 319, 239);
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.setBackColor(255, 0, 0);
|
||||||
|
myGLCD.print("* Universal Color TFT Display Library *", CENTER, 1);
|
||||||
|
myGLCD.setBackColor(64, 64, 64);
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("<http://www.RinkyDinkElectronics.com/>", CENTER, 227);
|
||||||
|
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.drawRect(0, 14, 319, 225);
|
||||||
|
|
||||||
|
// Draw crosshairs
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.setBackColor(0, 0, 0);
|
||||||
|
myGLCD.drawLine(159, 15, 159, 224);
|
||||||
|
myGLCD.drawLine(1, 119, 318, 119);
|
||||||
|
for (int i=9; i<310; i+=10)
|
||||||
|
myGLCD.drawLine(i, 117, i, 121);
|
||||||
|
for (int i=19; i<220; i+=10)
|
||||||
|
myGLCD.drawLine(157, i, 161, i);
|
||||||
|
|
||||||
|
// Draw sin-, cos- and tan-lines
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
myGLCD.print("Sin", 5, 15);
|
||||||
|
for (int i=1; i<318; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,119+(sin(((i*1.13)*3.14)/180)*95));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
myGLCD.print("Cos", 5, 27);
|
||||||
|
for (int i=1; i<318; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,119+(cos(((i*1.13)*3.14)/180)*95));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("Tan", 5, 39);
|
||||||
|
for (int i=1; i<318; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,119+(tan(((i*1.13)*3.14)/180)));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,318,224);
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.setBackColor(0, 0, 0);
|
||||||
|
myGLCD.drawLine(159, 15, 159, 224);
|
||||||
|
myGLCD.drawLine(1, 119, 318, 119);
|
||||||
|
|
||||||
|
// Draw a moving sinewave
|
||||||
|
x=1;
|
||||||
|
for (int i=1; i<(318*20); i++)
|
||||||
|
{
|
||||||
|
x++;
|
||||||
|
if (x==319)
|
||||||
|
x=1;
|
||||||
|
if (i>319)
|
||||||
|
{
|
||||||
|
if ((x==159)||(buf[x-1]==119))
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
else
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.drawPixel(x,buf[x-1]);
|
||||||
|
}
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
y=119+(sin(((i*1.1)*3.14)/180)*(90-(i / 100)));
|
||||||
|
myGLCD.drawPixel(x,y);
|
||||||
|
buf[x-1]=y;
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,318,224);
|
||||||
|
|
||||||
|
// Draw some filled rectangles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillRect(70+(i*20), 30+(i*20), 130+(i*20), 90+(i*20));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,318,224);
|
||||||
|
|
||||||
|
// Draw some filled, rounded rectangles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillRoundRect(190-(i*20), 30+(i*20), 250-(i*20), 90+(i*20));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,318,224);
|
||||||
|
|
||||||
|
// Draw some filled circles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillCircle(100+(i*20),60+(i*20), 30);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,318,224);
|
||||||
|
|
||||||
|
// Draw some lines in a pattern
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=15; i<224; i+=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, (i*1.44)-10, 224);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=224; i>15; i-=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(318, i, (i*1.44)-11, 15);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=224; i>15; i-=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, 331-(i*1.44), 15);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=15; i<224; i+=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(318, i, 330-(i*1.44), 224);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,318,224);
|
||||||
|
|
||||||
|
// Draw some random circles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=32+random(256);
|
||||||
|
y=45+random(146);
|
||||||
|
r=random(30);
|
||||||
|
myGLCD.drawCircle(x, y, r);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,318,224);
|
||||||
|
|
||||||
|
// Draw some random rectangles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(316);
|
||||||
|
y=16+random(207);
|
||||||
|
x2=2+random(316);
|
||||||
|
y2=16+random(207);
|
||||||
|
myGLCD.drawRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,318,224);
|
||||||
|
|
||||||
|
// Draw some random rounded rectangles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(316);
|
||||||
|
y=16+random(207);
|
||||||
|
x2=2+random(316);
|
||||||
|
y2=16+random(207);
|
||||||
|
myGLCD.drawRoundRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,318,224);
|
||||||
|
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(316);
|
||||||
|
y=16+random(209);
|
||||||
|
x2=2+random(316);
|
||||||
|
y2=16+random(209);
|
||||||
|
myGLCD.drawLine(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,318,224);
|
||||||
|
|
||||||
|
for (int i=0; i<10000; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
myGLCD.drawPixel(2+random(316), 16+random(209));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.fillScr(0, 0, 255);
|
||||||
|
myGLCD.setColor(255, 0, 0);
|
||||||
|
myGLCD.fillRoundRect(80, 70, 239, 169);
|
||||||
|
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.setBackColor(255, 0, 0);
|
||||||
|
myGLCD.print("That's it!", CENTER, 93);
|
||||||
|
myGLCD.print("Restarting in a", CENTER, 119);
|
||||||
|
myGLCD.print("few seconds...", CENTER, 132);
|
||||||
|
|
||||||
|
myGLCD.setColor(0, 255, 0);
|
||||||
|
myGLCD.setBackColor(0, 0, 255);
|
||||||
|
myGLCD.print("Runtime: (msecs)", CENTER, 210);
|
||||||
|
myGLCD.printNumI(millis(), CENTER, 225);
|
||||||
|
|
||||||
|
delay (10000);
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,357 @@
|
||||||
|
// UTFT_Demo_320x240_Serial
|
||||||
|
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
|
||||||
|
// web: http://www.RinkyDinkElectronics.com/
|
||||||
|
//
|
||||||
|
// This program is a demo of how to use most of the functions
|
||||||
|
// of the library with a supported display modules.
|
||||||
|
//
|
||||||
|
// This demo was made for serial modules with a screen
|
||||||
|
// resolution of 320x240 pixels.
|
||||||
|
//
|
||||||
|
// This program requires the UTFT library.
|
||||||
|
//
|
||||||
|
// ********************************************************************
|
||||||
|
// * IMPORTANT: Read the comments in the setup() function when *
|
||||||
|
// * using the Watterott MI0283QT9 or the DisplayModule DM-TFT28-105. *
|
||||||
|
// ********************************************************************
|
||||||
|
//
|
||||||
|
|
||||||
|
#include <UTFT.h>
|
||||||
|
|
||||||
|
// Declare which fonts we will be using
|
||||||
|
extern uint8_t SmallFont[];
|
||||||
|
|
||||||
|
// Uncomment the line for your display:
|
||||||
|
//UTFT myGLCD(MI0283QT9,11,13,7,8); // Watterott MI0283QT9
|
||||||
|
//UTFT myGLCD(DMTFT28105,MOSI,SCK,10,NOTINUSE,9); // DisplayModule DM-TFT28-105
|
||||||
|
//UTFT myGLCD(TFT01_22SP,9,8,12,11,10); // ElecFreaks TFT01-2.2SP
|
||||||
|
//UTFT myGLCD(TFT01_24SP,9,8,12,11,10); // ElecFreaks TFT01-2.4SP
|
||||||
|
UTFT myGLCD(TFT22SHLD,3,4,7,5,6); // ElecFreaks TFT2.2SP Shield
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
// Watterott
|
||||||
|
// ---------
|
||||||
|
// The following two lines are needed for the MI0283QT9 display
|
||||||
|
// module to enable the backlight. If you are using any other
|
||||||
|
// display module these lines should be commented out.
|
||||||
|
// -------------------------------------------------------------
|
||||||
|
// pinMode(9, OUTPUT);
|
||||||
|
// digitalWrite(9, HIGH);
|
||||||
|
// -------------------------------------------------------------
|
||||||
|
|
||||||
|
// DisplayModule
|
||||||
|
// -------------
|
||||||
|
// The following 4 lines are needed for the DM-TFT28-105 display
|
||||||
|
// module to set the SS/CS pins for the other devices connected
|
||||||
|
// to the Arduino SPI pins. If you are using any other display
|
||||||
|
// module these lines should be commented out.
|
||||||
|
// -------------------------------------------------------------
|
||||||
|
// pinMode(10,OUTPUT); digitalWrite(10,HIGH); // TFT SS/CE
|
||||||
|
// pinMode(8, OUTPUT); digitalWrite(8, HIGH); // SD card SS/CE
|
||||||
|
// pinMode(6, OUTPUT); digitalWrite(6, HIGH); // Flash chip SS/CE
|
||||||
|
// pinMode(4, OUTPUT); digitalWrite(4, HIGH); // Touch controller SS/CE
|
||||||
|
// -------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
// Just get some random numbers
|
||||||
|
randomSeed(analogRead(0));
|
||||||
|
|
||||||
|
// Setup the LCD
|
||||||
|
myGLCD.InitLCD();
|
||||||
|
myGLCD.setFont(SmallFont);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
int buf[318];
|
||||||
|
int x, x2;
|
||||||
|
int y, y2;
|
||||||
|
int r;
|
||||||
|
|
||||||
|
// Clear the screen and draw the frame
|
||||||
|
myGLCD.clrScr();
|
||||||
|
|
||||||
|
myGLCD.setColor(255, 0, 0);
|
||||||
|
myGLCD.fillRect(0, 0, 319, 13);
|
||||||
|
myGLCD.setColor(64, 64, 64);
|
||||||
|
myGLCD.fillRect(0, 226, 319, 239);
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.setBackColor(255, 0, 0);
|
||||||
|
myGLCD.print("* Universal Color TFT Display Library *", CENTER, 1);
|
||||||
|
myGLCD.setBackColor(64, 64, 64);
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("<http://www.RinkyDinkElectronics.com/>", CENTER, 227);
|
||||||
|
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.drawRect(0, 14, 319, 225);
|
||||||
|
|
||||||
|
// Draw crosshairs
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.setBackColor(0, 0, 0);
|
||||||
|
myGLCD.drawLine(159, 15, 159, 224);
|
||||||
|
myGLCD.drawLine(1, 119, 318, 119);
|
||||||
|
for (int i=9; i<310; i+=10)
|
||||||
|
myGLCD.drawLine(i, 117, i, 121);
|
||||||
|
for (int i=19; i<220; i+=10)
|
||||||
|
myGLCD.drawLine(157, i, 161, i);
|
||||||
|
|
||||||
|
// Draw sin-, cos- and tan-lines
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
myGLCD.print("Sin", 5, 15);
|
||||||
|
for (int i=1; i<318; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,119+(sin(((i*1.13)*3.14)/180)*95));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
myGLCD.print("Cos", 5, 27);
|
||||||
|
for (int i=1; i<318; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,119+(cos(((i*1.13)*3.14)/180)*95));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("Tan", 5, 39);
|
||||||
|
for (int i=1; i<318; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,119+(tan(((i*1.13)*3.14)/180)));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,318,224);
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.setBackColor(0, 0, 0);
|
||||||
|
myGLCD.drawLine(159, 15, 159, 224);
|
||||||
|
myGLCD.drawLine(1, 119, 318, 119);
|
||||||
|
|
||||||
|
// Draw a moving sinewave
|
||||||
|
x=1;
|
||||||
|
for (int i=1; i<(318*20); i++)
|
||||||
|
{
|
||||||
|
x++;
|
||||||
|
if (x==319)
|
||||||
|
x=1;
|
||||||
|
if (i>319)
|
||||||
|
{
|
||||||
|
if ((x==159)||(buf[x-1]==119))
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
else
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.drawPixel(x,buf[x-1]);
|
||||||
|
}
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
y=119+(sin(((i*1.1)*3.14)/180)*(90-(i / 100)));
|
||||||
|
myGLCD.drawPixel(x,y);
|
||||||
|
buf[x-1]=y;
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,318,224);
|
||||||
|
|
||||||
|
// Draw some filled rectangles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillRect(70+(i*20), 30+(i*20), 130+(i*20), 90+(i*20));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,318,224);
|
||||||
|
|
||||||
|
// Draw some filled, rounded rectangles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillRoundRect(190-(i*20), 30+(i*20), 250-(i*20), 90+(i*20));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,318,224);
|
||||||
|
|
||||||
|
// Draw some filled circles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillCircle(100+(i*20),60+(i*20), 30);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,318,224);
|
||||||
|
|
||||||
|
// Draw some lines in a pattern
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=15; i<224; i+=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, (i*1.44)-10, 224);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=224; i>15; i-=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(318, i, (i*1.44)-11, 15);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=224; i>15; i-=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, 331-(i*1.44), 15);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=15; i<224; i+=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(318, i, 330-(i*1.44), 224);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,318,224);
|
||||||
|
|
||||||
|
// Draw some random circles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=32+random(256);
|
||||||
|
y=45+random(146);
|
||||||
|
r=random(30);
|
||||||
|
myGLCD.drawCircle(x, y, r);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,318,224);
|
||||||
|
|
||||||
|
// Draw some random rectangles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(316);
|
||||||
|
y=16+random(207);
|
||||||
|
x2=2+random(316);
|
||||||
|
y2=16+random(207);
|
||||||
|
myGLCD.drawRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,318,224);
|
||||||
|
|
||||||
|
// Draw some random rounded rectangles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(316);
|
||||||
|
y=16+random(207);
|
||||||
|
x2=2+random(316);
|
||||||
|
y2=16+random(207);
|
||||||
|
myGLCD.drawRoundRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,318,224);
|
||||||
|
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(316);
|
||||||
|
y=16+random(209);
|
||||||
|
x2=2+random(316);
|
||||||
|
y2=16+random(209);
|
||||||
|
myGLCD.drawLine(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,318,224);
|
||||||
|
|
||||||
|
for (int i=0; i<10000; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
myGLCD.drawPixel(2+random(316), 16+random(209));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.fillScr(0, 0, 255);
|
||||||
|
myGLCD.setColor(255, 0, 0);
|
||||||
|
myGLCD.fillRoundRect(80, 70, 239, 169);
|
||||||
|
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.setBackColor(255, 0, 0);
|
||||||
|
myGLCD.print("That's it!", CENTER, 93);
|
||||||
|
myGLCD.print("Restarting in a", CENTER, 119);
|
||||||
|
myGLCD.print("few seconds...", CENTER, 132);
|
||||||
|
|
||||||
|
myGLCD.setColor(0, 255, 0);
|
||||||
|
myGLCD.setBackColor(0, 0, 255);
|
||||||
|
myGLCD.print("Runtime: (msecs)", CENTER, 210);
|
||||||
|
myGLCD.printNumI(millis(), CENTER, 225);
|
||||||
|
|
||||||
|
delay (10000);
|
||||||
|
}
|
|
@ -0,0 +1,332 @@
|
||||||
|
// UTFT_Demo_400x240
|
||||||
|
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
|
||||||
|
// web: http://www.RinkyDinkElectronics.com/
|
||||||
|
//
|
||||||
|
// This program is a demo of how to use most of the functions
|
||||||
|
// of the library with a supported display modules.
|
||||||
|
//
|
||||||
|
// This demo was made for modules with a screen resolution
|
||||||
|
// of 400x240 pixels.
|
||||||
|
//
|
||||||
|
// This program requires the UTFT library.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include <UTFT.h>
|
||||||
|
|
||||||
|
// Declare which fonts we will be using
|
||||||
|
extern uint8_t SmallFont[];
|
||||||
|
|
||||||
|
// Set the pins to the correct ones for your development shield
|
||||||
|
// ------------------------------------------------------------
|
||||||
|
// Standard Arduino Mega/Due shield : <display model>,38,39,40,41
|
||||||
|
// CTE TFT LCD/SD Shield for Arduino Due : <display model>,25,26,27,28
|
||||||
|
// Teensy 3.x TFT Test Board : <display model>,23,22, 3, 4
|
||||||
|
// ElecHouse TFT LCD/SD Shield for Arduino Due : <display model>,22,23,31,33
|
||||||
|
//
|
||||||
|
// Remember to change the model parameter to suit your display module!
|
||||||
|
UTFT myGLCD(ITDB32WD,38,39,40,41);
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
randomSeed(analogRead(0));
|
||||||
|
|
||||||
|
// Setup the LCD
|
||||||
|
myGLCD.InitLCD();
|
||||||
|
myGLCD.setFont(SmallFont);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
int buf[398];
|
||||||
|
int x, x2;
|
||||||
|
int y, y2;
|
||||||
|
int r;
|
||||||
|
|
||||||
|
// Clear the screen and draw the frame
|
||||||
|
myGLCD.clrScr();
|
||||||
|
|
||||||
|
myGLCD.setColor(255, 0, 0);
|
||||||
|
myGLCD.fillRect(0, 0, 399, 13);
|
||||||
|
myGLCD.setColor(64, 64, 64);
|
||||||
|
myGLCD.fillRect(0, 226, 399, 239);
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.setBackColor(255, 0, 0);
|
||||||
|
myGLCD.print("*** Universal Color TFT Display Library ***", CENTER, 1);
|
||||||
|
myGLCD.setBackColor(64, 64, 64);
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("< http://www.RinkyDinkElectronics.com/ >", CENTER, 227);
|
||||||
|
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.drawRect(0, 14, 399, 225);
|
||||||
|
|
||||||
|
// Draw crosshairs
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.setBackColor(0, 0, 0);
|
||||||
|
myGLCD.drawLine(199, 15, 199, 224);
|
||||||
|
myGLCD.drawLine(1, 119, 398, 119);
|
||||||
|
for (int i=9; i<390; i+=10)
|
||||||
|
myGLCD.drawLine(i, 117, i, 121);
|
||||||
|
for (int i=19; i<220; i+=10)
|
||||||
|
myGLCD.drawLine(197, i, 201, i);
|
||||||
|
|
||||||
|
// Draw sin-, cos- and tan-lines
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
myGLCD.print("Sin", 5, 15);
|
||||||
|
for (int i=1; i<398; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,119+(sin(((i*0.9)*3.14)/180)*95));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
myGLCD.print("Cos", 5, 27);
|
||||||
|
for (int i=1; i<398; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,119+(cos(((i*0.9)*3.14)/180)*95));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("Tan", 5, 39);
|
||||||
|
for (int i=1; i<398; i++)
|
||||||
|
{
|
||||||
|
y=119+(tan(((i*0.9)*3.14)/180));
|
||||||
|
if ((y>15) && (y<224))
|
||||||
|
myGLCD.drawPixel(i,y);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,398,224);
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.setBackColor(0, 0, 0);
|
||||||
|
myGLCD.drawLine(199, 15, 199, 224);
|
||||||
|
myGLCD.drawLine(1, 119, 398, 119);
|
||||||
|
|
||||||
|
// Draw a moving sinewave
|
||||||
|
x=1;
|
||||||
|
for (int i=1; i<(398*20); i++)
|
||||||
|
{
|
||||||
|
x++;
|
||||||
|
if (x==399)
|
||||||
|
x=1;
|
||||||
|
if (i>399)
|
||||||
|
{
|
||||||
|
if ((x==199)||(buf[x-1]==119))
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
else
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.drawPixel(x,buf[x-1]);
|
||||||
|
}
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
y=119+(sin(((i)*3.14)/180)*(90-(i / 100)));
|
||||||
|
myGLCD.drawPixel(x,y);
|
||||||
|
buf[x-1]=y;
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,398,224);
|
||||||
|
|
||||||
|
// Draw some filled rectangles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillRect(110+(i*20), 30+(i*20), 170+(i*20), 90+(i*20));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,398,224);
|
||||||
|
|
||||||
|
// Draw some filled, rounded rectangles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillRoundRect(230-(i*20), 30+(i*20), 290-(i*20), 90+(i*20));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,398,224);
|
||||||
|
|
||||||
|
// Draw some filled circles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillCircle(110+(i*30),60+(i*20), 30);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,398,224);
|
||||||
|
|
||||||
|
// Draw some lines in a pattern
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=15; i<224; i+=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, (i*1.77)-10, 224);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=224; i>15; i-=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(398, i, (i*1.77)-11, 15);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=224; i>15; i-=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, 411-(i*1.77), 15);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=15; i<224; i+=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(398, i, 410-(i*1.77), 224);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,398,224);
|
||||||
|
|
||||||
|
// Draw some random circles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=32+random(336);
|
||||||
|
y=45+random(146);
|
||||||
|
r=random(30);
|
||||||
|
myGLCD.drawCircle(x, y, r);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,398,224);
|
||||||
|
|
||||||
|
// Draw some random rectangles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(396);
|
||||||
|
y=16+random(207);
|
||||||
|
x2=2+random(396);
|
||||||
|
y2=16+random(207);
|
||||||
|
myGLCD.drawRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,398,224);
|
||||||
|
|
||||||
|
// Draw some random rounded rectangles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(396);
|
||||||
|
y=16+random(207);
|
||||||
|
x2=2+random(396);
|
||||||
|
y2=16+random(207);
|
||||||
|
myGLCD.drawRoundRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,398,224);
|
||||||
|
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(396);
|
||||||
|
y=16+random(209);
|
||||||
|
x2=2+random(396);
|
||||||
|
y2=16+random(209);
|
||||||
|
myGLCD.drawLine(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,398,224);
|
||||||
|
|
||||||
|
for (int i=0; i<10000; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
myGLCD.drawPixel(2+random(396), 16+random(209));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.fillScr(0, 0, 255);
|
||||||
|
myGLCD.setColor(255, 0, 0);
|
||||||
|
myGLCD.fillRoundRect(120, 70, 279, 169);
|
||||||
|
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.setBackColor(255, 0, 0);
|
||||||
|
myGLCD.print("That's it!", CENTER, 93);
|
||||||
|
myGLCD.print("Restarting in a", CENTER, 119);
|
||||||
|
myGLCD.print("few seconds...", CENTER, 132);
|
||||||
|
|
||||||
|
myGLCD.setColor(0, 255, 0);
|
||||||
|
myGLCD.setBackColor(0, 0, 255);
|
||||||
|
myGLCD.print("Runtime: (msecs)", CENTER, 210);
|
||||||
|
myGLCD.printNumI(millis(), CENTER, 225);
|
||||||
|
|
||||||
|
delay (10000);
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,329 @@
|
||||||
|
// UTFT_Demo_480x272
|
||||||
|
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
|
||||||
|
// web: http://www.RinkyDinkElectronics.com/
|
||||||
|
//
|
||||||
|
// This program is a demo of how to use most of the functions
|
||||||
|
// of the library with a supported display modules.
|
||||||
|
//
|
||||||
|
// This demo was made for modules with a screen resolution
|
||||||
|
// of 480x272 pixels.
|
||||||
|
//
|
||||||
|
// This program requires the UTFT library.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include <UTFT.h>
|
||||||
|
|
||||||
|
// Declare which fonts we will be using
|
||||||
|
extern uint8_t SmallFont[];
|
||||||
|
|
||||||
|
// Set the pins to the correct ones for your development shield
|
||||||
|
// ------------------------------------------------------------
|
||||||
|
// Standard Arduino Mega/Due shield : <display model>,38,39,40,41
|
||||||
|
// CTE TFT LCD/SD Shield for Arduino Due : <display model>,25,26,27,28
|
||||||
|
// Teensy 3.x TFT Test Board : <display model>,23,22, 3, 4
|
||||||
|
// ElecHouse TFT LCD/SD Shield for Arduino Due : <display model>,22,23,31,33
|
||||||
|
//
|
||||||
|
// Remember to change the model parameter to suit your display module!
|
||||||
|
UTFT myGLCD(ITDB43,38,39,40,41);
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
randomSeed(analogRead(0));
|
||||||
|
|
||||||
|
// Setup the LCD
|
||||||
|
myGLCD.InitLCD();
|
||||||
|
myGLCD.setFont(SmallFont);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
int buf[478];
|
||||||
|
int x, x2;
|
||||||
|
int y, y2;
|
||||||
|
int r;
|
||||||
|
|
||||||
|
// Clear the screen and draw the frame
|
||||||
|
myGLCD.clrScr();
|
||||||
|
|
||||||
|
myGLCD.setColor(255, 0, 0);
|
||||||
|
myGLCD.fillRect(0, 0, 479, 13);
|
||||||
|
myGLCD.setColor(64, 64, 64);
|
||||||
|
myGLCD.fillRect(0, 258, 479, 271);
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.setBackColor(255, 0, 0);
|
||||||
|
myGLCD.print("* Universal Color TFT Display Library *", CENTER, 1);
|
||||||
|
myGLCD.setBackColor(64, 64, 64);
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("<http://www.RinkyDinkElectronics.com/>", CENTER, 259);
|
||||||
|
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.drawRect(0, 14, 479, 257);
|
||||||
|
|
||||||
|
// Draw crosshairs
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.setBackColor(0, 0, 0);
|
||||||
|
myGLCD.drawLine(239, 15, 239, 256);
|
||||||
|
myGLCD.drawLine(1, 135, 478, 135);
|
||||||
|
for (int i=9; i<470; i+=10)
|
||||||
|
myGLCD.drawLine(i, 133, i, 138);
|
||||||
|
for (int i=15; i<256; i+=10)
|
||||||
|
myGLCD.drawLine(237, i, 241, i);
|
||||||
|
|
||||||
|
// Draw sin-, cos- and tan-lines
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
myGLCD.print("Sin", 5, 15);
|
||||||
|
for (int i=1; i<478; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,135+(sin(((i*1.13)*3.14)/180)*95));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
myGLCD.print("Cos", 5, 27);
|
||||||
|
for (int i=1; i<478; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,135+(cos(((i*1.13)*3.14)/180)*95));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("Tan", 5, 39);
|
||||||
|
for (int i=1; i<478; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,135+(tan(((i*1.13)*3.14)/180)));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,478,256);
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.setBackColor(0, 0, 0);
|
||||||
|
myGLCD.drawLine(239, 15, 239, 256);
|
||||||
|
myGLCD.drawLine(1, 135, 478, 135);
|
||||||
|
|
||||||
|
// Draw a moving sinewave
|
||||||
|
x=1;
|
||||||
|
for (int i=1; i<(478*20); i++)
|
||||||
|
{
|
||||||
|
x++;
|
||||||
|
if (x==479)
|
||||||
|
x=1;
|
||||||
|
if (i>479)
|
||||||
|
{
|
||||||
|
if ((x==239)||(buf[x-1]==135))
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
else
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.drawPixel(x,buf[x-1]);
|
||||||
|
}
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
y=135+(sin(((i*1.65)*3.14)/180)*(90-(i / 100)));
|
||||||
|
myGLCD.drawPixel(x,y);
|
||||||
|
buf[x-1]=y;
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,478,256);
|
||||||
|
|
||||||
|
// Draw some filled rectangles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillRect(150+(i*20), 46+(i*20), 210+(i*20), 106+(i*20));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,478,256);
|
||||||
|
|
||||||
|
// Draw some filled, rounded rectangles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillRoundRect(330-(i*20), 46+(i*20), 270-(i*20), 106+(i*20));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,478,256);
|
||||||
|
|
||||||
|
// Draw some filled circles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillCircle(180+(i*20),75+(i*20), 30);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,478,256);
|
||||||
|
|
||||||
|
// Draw some lines in a pattern
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=15; i<256; i+=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, (i*1.88)-10, 256);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=256; i>15; i-=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(478, i, (i*1.88)-11, 15);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=256; i>15; i-=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, 491-(i*1.88), 15);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=15; i<256; i+=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(478, i, 490-(i*1.88), 256);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,478,256);
|
||||||
|
|
||||||
|
// Draw some random circles
|
||||||
|
for (int i=0; i<150; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=32+random(416);
|
||||||
|
y=45+random(178);
|
||||||
|
r=random(30);
|
||||||
|
myGLCD.drawCircle(x, y, r);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,478,256);
|
||||||
|
|
||||||
|
// Draw some random rectangles
|
||||||
|
for (int i=0; i<150; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(476);
|
||||||
|
y=16+random(239);
|
||||||
|
x2=2+random(476);
|
||||||
|
y2=16+random(239);
|
||||||
|
myGLCD.drawRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,478,256);
|
||||||
|
|
||||||
|
// Draw some random rounded rectangles
|
||||||
|
for (int i=0; i<150; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(476);
|
||||||
|
y=16+random(239);
|
||||||
|
x2=2+random(476);
|
||||||
|
y2=16+random(239);
|
||||||
|
myGLCD.drawRoundRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,478,256);
|
||||||
|
|
||||||
|
for (int i=0; i<150; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(476);
|
||||||
|
y=16+random(239);
|
||||||
|
x2=2+random(476);
|
||||||
|
y2=16+random(239);
|
||||||
|
myGLCD.drawLine(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,478,256);
|
||||||
|
|
||||||
|
for (int i=0; i<10000; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
myGLCD.drawPixel(2+random(476), 16+random(239));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.fillScr(0, 0, 255);
|
||||||
|
myGLCD.setColor(255, 0, 0);
|
||||||
|
myGLCD.fillRoundRect(160, 70, 319, 169);
|
||||||
|
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.setBackColor(255, 0, 0);
|
||||||
|
myGLCD.print("That's it!", CENTER, 93);
|
||||||
|
myGLCD.print("Restarting in a", CENTER, 119);
|
||||||
|
myGLCD.print("few seconds...", CENTER, 132);
|
||||||
|
|
||||||
|
myGLCD.setColor(0, 255, 0);
|
||||||
|
myGLCD.setBackColor(0, 0, 255);
|
||||||
|
myGLCD.print("Runtime: (msecs)", CENTER, 243);
|
||||||
|
myGLCD.printNumI(millis(), CENTER, 258);
|
||||||
|
|
||||||
|
delay (10000);
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,330 @@
|
||||||
|
// UTFT_Demo_480x320
|
||||||
|
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
|
||||||
|
// web: http://www.RinkyDinkElectronics.com/
|
||||||
|
//
|
||||||
|
// This program is a demo of how to use most of the functions
|
||||||
|
// of the library with a supported display modules.
|
||||||
|
//
|
||||||
|
// This demo was made for modules with a screen resolution
|
||||||
|
// of 480x320 pixels.
|
||||||
|
//
|
||||||
|
// This program requires the UTFT library.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include <UTFT.h>
|
||||||
|
|
||||||
|
// Declare which fonts we will be using
|
||||||
|
extern uint8_t SmallFont[];
|
||||||
|
|
||||||
|
// Set the pins to the correct ones for your development shield
|
||||||
|
// ------------------------------------------------------------
|
||||||
|
// Standard Arduino Mega/Due shield : <display model>,38,39,40,41
|
||||||
|
// CTE TFT LCD/SD Shield for Arduino Due : <display model>,25,26,27,28
|
||||||
|
// Teensy 3.x TFT Test Board : <display model>,23,22, 3, 4
|
||||||
|
// ElecHouse TFT LCD/SD Shield for Arduino Due : <display model>,22,23,31,33
|
||||||
|
//
|
||||||
|
// Remember to change the model parameter to suit your display module!
|
||||||
|
UTFT myGLCD(CTE32HR,25,26,27,28);
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
randomSeed(analogRead(0));
|
||||||
|
|
||||||
|
// Setup the LCD
|
||||||
|
myGLCD.InitLCD();
|
||||||
|
myGLCD.setFont(SmallFont);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
int buf[478];
|
||||||
|
int x, x2;
|
||||||
|
int y, y2;
|
||||||
|
int r;
|
||||||
|
|
||||||
|
// Clear the screen and draw the frame
|
||||||
|
myGLCD.clrScr();
|
||||||
|
|
||||||
|
myGLCD.setColor(255, 0, 0);
|
||||||
|
myGLCD.fillRect(0, 0, 479, 13);
|
||||||
|
myGLCD.setColor(64, 64, 64);
|
||||||
|
myGLCD.fillRect(0, 306, 479, 319);
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.setBackColor(255, 0, 0);
|
||||||
|
myGLCD.print("* Universal Color TFT Display Library *", CENTER, 1);
|
||||||
|
myGLCD.setBackColor(64, 64, 64);
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("<http://www.RinkyDinkElectronics.com/>", CENTER, 307);
|
||||||
|
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.drawRect(0, 14, 479, 305);
|
||||||
|
|
||||||
|
// Draw crosshairs
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.setBackColor(0, 0, 0);
|
||||||
|
myGLCD.drawLine(239, 15, 239, 304);
|
||||||
|
myGLCD.drawLine(1, 159, 478, 159);
|
||||||
|
for (int i=9; i<470; i+=10)
|
||||||
|
myGLCD.drawLine(i, 157, i, 161);
|
||||||
|
for (int i=19; i<220; i+=10)
|
||||||
|
myGLCD.drawLine(237, i, 241, i);
|
||||||
|
|
||||||
|
// Draw sin-, cos- and tan-lines
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
myGLCD.print("Sin", 5, 15);
|
||||||
|
for (int i=1; i<478; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,159+(sin(((i*1.13)*3.14)/180)*95));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
myGLCD.print("Cos", 5, 27);
|
||||||
|
for (int i=1; i<478; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,159+(cos(((i*1.13)*3.14)/180)*95));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("Tan", 5, 39);
|
||||||
|
for (int i=1; i<478; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,159+(tan(((i*1.13)*3.14)/180)));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,478,304);
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.setBackColor(0, 0, 0);
|
||||||
|
myGLCD.drawLine(239, 15, 239, 304);
|
||||||
|
myGLCD.drawLine(1, 159, 478, 159);
|
||||||
|
|
||||||
|
// Draw a moving sinewave
|
||||||
|
x=1;
|
||||||
|
for (int i=1; i<(478*15); i++)
|
||||||
|
{
|
||||||
|
x++;
|
||||||
|
if (x==479)
|
||||||
|
x=1;
|
||||||
|
if (i>479)
|
||||||
|
{
|
||||||
|
if ((x==239)||(buf[x-1]==159))
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
else
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.drawPixel(x,buf[x-1]);
|
||||||
|
}
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
y=159+(sin(((i*0.7)*3.14)/180)*(90-(i / 100)));
|
||||||
|
myGLCD.drawPixel(x,y);
|
||||||
|
buf[x-1]=y;
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,478,304);
|
||||||
|
|
||||||
|
// Draw some filled rectangles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillRect(150+(i*20), 70+(i*20), 210+(i*20), 130+(i*20));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,478,304);
|
||||||
|
|
||||||
|
// Draw some filled, rounded rectangles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillRoundRect(270-(i*20), 70+(i*20), 330-(i*20), 130+(i*20));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,478,304);
|
||||||
|
|
||||||
|
// Draw some filled circles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillCircle(180+(i*20),100+(i*20), 30);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,478,304);
|
||||||
|
|
||||||
|
// Draw some lines in a pattern
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=15; i<304; i+=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, (i*1.6)-10, 304);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=304; i>15; i-=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(478, i, (i*1.6)-11, 15);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=304; i>15; i-=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, 491-(i*1.6), 15);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=15; i<304; i+=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(478, i, 490-(i*1.6), 304);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,478,304);
|
||||||
|
|
||||||
|
// Draw some random circles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=32+random(416);
|
||||||
|
y=45+random(226);
|
||||||
|
r=random(30);
|
||||||
|
myGLCD.drawCircle(x, y, r);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,478,304);
|
||||||
|
|
||||||
|
// Draw some random rectangles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(476);
|
||||||
|
y=16+random(289);
|
||||||
|
x2=2+random(476);
|
||||||
|
y2=16+random(289);
|
||||||
|
myGLCD.drawRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,478,304);
|
||||||
|
|
||||||
|
// Draw some random rounded rectangles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(476);
|
||||||
|
y=16+random(289);
|
||||||
|
x2=2+random(476);
|
||||||
|
y2=16+random(289);
|
||||||
|
myGLCD.drawRoundRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,478,304);
|
||||||
|
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(476);
|
||||||
|
y=16+random(289);
|
||||||
|
x2=2+random(476);
|
||||||
|
y2=16+random(289);
|
||||||
|
myGLCD.drawLine(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,478,304);
|
||||||
|
|
||||||
|
for (int i=0; i<10000; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
myGLCD.drawPixel(2+random(476), 16+random(289));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.fillScr(0, 0, 255);
|
||||||
|
myGLCD.setColor(255, 0, 0);
|
||||||
|
myGLCD.fillRoundRect(160, 70, 319, 169);
|
||||||
|
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.setBackColor(255, 0, 0);
|
||||||
|
myGLCD.print("That's it!", CENTER, 93);
|
||||||
|
myGLCD.print("Restarting in a", CENTER, 119);
|
||||||
|
myGLCD.print("few seconds...", CENTER, 132);
|
||||||
|
|
||||||
|
myGLCD.setColor(0, 255, 0);
|
||||||
|
myGLCD.setBackColor(0, 0, 255);
|
||||||
|
myGLCD.print("Runtime: (msecs)", CENTER, 290);
|
||||||
|
myGLCD.printNumI(millis(), CENTER, 305);
|
||||||
|
|
||||||
|
delay (10000);
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,289 @@
|
||||||
|
// UTFT_Demo_800x480
|
||||||
|
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
|
||||||
|
// web: http://www.RinkyDinkElectronics.com/
|
||||||
|
//
|
||||||
|
// This program is a demo of how to use most of the functions
|
||||||
|
// of the library with a supported display modules.
|
||||||
|
//
|
||||||
|
// This demo was made for modules with a screen resolution
|
||||||
|
// of 800x480 pixels.
|
||||||
|
//
|
||||||
|
// This program requires the UTFT library.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include <UTFT.h>
|
||||||
|
|
||||||
|
// Declare which fonts we will be using
|
||||||
|
extern uint8_t SmallFont[];
|
||||||
|
|
||||||
|
// Set the pins to the correct ones for your development shield
|
||||||
|
// ------------------------------------------------------------
|
||||||
|
// Standard Arduino Mega/Due shield : <display model>,38,39,40,41
|
||||||
|
// CTE TFT LCD/SD Shield for Arduino Due : <display model>,25,26,27,28
|
||||||
|
// Teensy 3.x TFT Test Board : <display model>,23,22, 3, 4
|
||||||
|
// ElecHouse TFT LCD/SD Shield for Arduino Due : <display model>,22,23,31,33
|
||||||
|
//
|
||||||
|
// Remember to change the model parameter to suit your display module!
|
||||||
|
UTFT myGLCD(ITDB50,38,39,40,41);
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
randomSeed(analogRead(0));
|
||||||
|
|
||||||
|
// Setup the LCD
|
||||||
|
myGLCD.InitLCD();
|
||||||
|
myGLCD.setFont(SmallFont);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
int buf[798];
|
||||||
|
int x, x2;
|
||||||
|
int y, y2;
|
||||||
|
int r;
|
||||||
|
|
||||||
|
// Clear the screen and draw the frame
|
||||||
|
myGLCD.clrScr();
|
||||||
|
|
||||||
|
myGLCD.setColor(255, 0, 0);
|
||||||
|
myGLCD.fillRect(0, 0, 799, 13);
|
||||||
|
myGLCD.setColor(64, 64, 64);
|
||||||
|
myGLCD.fillRect(0, 466, 799, 479);
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.setBackColor(255, 0, 0);
|
||||||
|
myGLCD.print("* Universal Color TFT Display Library *", CENTER, 1);
|
||||||
|
myGLCD.setBackColor(64, 64, 64);
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("<http://www.RinkyDinkElectronics.com/>", CENTER, 467);
|
||||||
|
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.drawRect(0, 14, 799, 465);
|
||||||
|
|
||||||
|
// Draw crosshairs
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.setBackColor(0, 0, 0);
|
||||||
|
myGLCD.drawLine(399, 15, 399, 464);
|
||||||
|
myGLCD.drawLine(1, 239, 798, 239);
|
||||||
|
for (int i=9; i<790; i+=10)
|
||||||
|
myGLCD.drawLine(i, 237, i, 242);
|
||||||
|
for (int i=19; i<470; i+=10)
|
||||||
|
myGLCD.drawLine(397, i, 402, i);
|
||||||
|
|
||||||
|
// Draw sin-, cos- and tan-lines
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
myGLCD.print("Sin", 5, 15);
|
||||||
|
for (int i=1; i<798; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,239+(sin(((i*1.13)*3.14)/180)*200));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
myGLCD.print("Cos", 5, 27);
|
||||||
|
for (int i=1; i<798; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,239+(cos(((i*1.13)*3.14)/180)*200));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("Tan", 5, 39);
|
||||||
|
for (int i=1; i<798; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,239+(tan(((i*0.9)*3.14)/180)));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,798,464);
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.setBackColor(0, 0, 0);
|
||||||
|
myGLCD.drawLine(399, 15, 399, 464);
|
||||||
|
myGLCD.drawLine(1, 239, 798, 239);
|
||||||
|
|
||||||
|
// Draw a moving sinewave
|
||||||
|
x=1;
|
||||||
|
for (int i=1; i<(798*20); i++)
|
||||||
|
{
|
||||||
|
x++;
|
||||||
|
if (x==799)
|
||||||
|
x=1;
|
||||||
|
if (i>799)
|
||||||
|
{
|
||||||
|
if ((x==399)||(buf[x-1]==239))
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
else
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.drawPixel(x,buf[x-1]);
|
||||||
|
}
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
y=239+(sin(((i*1.65)*3.14)/180)*(200-(i / 100)));
|
||||||
|
myGLCD.drawPixel(x,y);
|
||||||
|
buf[x-1]=y;
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,798,464);
|
||||||
|
|
||||||
|
// Draw some random filled rectangles
|
||||||
|
for (int i=0; i<50; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(746);
|
||||||
|
y=16+random(397);
|
||||||
|
x2=x+50;
|
||||||
|
y2=y+50;
|
||||||
|
myGLCD.fillRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,798,464);
|
||||||
|
|
||||||
|
// Draw some random filled, rounded rectangles
|
||||||
|
for (int i=0; i<50; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(746);
|
||||||
|
y=16+random(397);
|
||||||
|
x2=x+50;
|
||||||
|
y2=y+50;
|
||||||
|
myGLCD.fillRoundRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,798,464);
|
||||||
|
|
||||||
|
// Draw some random filled circles
|
||||||
|
for (int i=0; i<50; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=27+random(746);
|
||||||
|
y=41+random(397);
|
||||||
|
myGLCD.fillCircle(x, y, 25);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,798,464);
|
||||||
|
|
||||||
|
// Draw some lines in a pattern
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=15; i<463; i+=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, (i*1.66)-10, 463);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=463; i>15; i-=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(798, i, (i*1.66)+30, 15);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=463; i>15; i-=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, 770-(i*1.66), 15);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=15; i<463; i+=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(798, i, 810-(i*1.66), 463);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,798,464);
|
||||||
|
|
||||||
|
// Draw some random circles
|
||||||
|
for (int i=0; i<250; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=32+random(736);
|
||||||
|
y=45+random(386);
|
||||||
|
r=random(30);
|
||||||
|
myGLCD.drawCircle(x, y, r);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,798,464);
|
||||||
|
|
||||||
|
// Draw some random rectangles
|
||||||
|
for (int i=0; i<250; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(796);
|
||||||
|
y=16+random(447);
|
||||||
|
x2=2+random(796);
|
||||||
|
y2=16+random(447);
|
||||||
|
myGLCD.drawRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,798,464);
|
||||||
|
|
||||||
|
// Draw some random rounded rectangles
|
||||||
|
for (int i=0; i<250; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(796);
|
||||||
|
y=16+random(447);
|
||||||
|
x2=2+random(796);
|
||||||
|
y2=16+random(447);
|
||||||
|
myGLCD.drawRoundRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,798,464);
|
||||||
|
|
||||||
|
for (int i=0; i<250; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(796);
|
||||||
|
y=16+random(447);
|
||||||
|
x2=2+random(796);
|
||||||
|
y2=16+random(447);
|
||||||
|
myGLCD.drawLine(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,15,798,464);
|
||||||
|
|
||||||
|
for (int i=0; i<10000; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
myGLCD.drawPixel(2+random(796), 16+random(447));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.fillScr(0, 0, 255);
|
||||||
|
myGLCD.setColor(255, 0, 0);
|
||||||
|
myGLCD.fillRoundRect(320, 190, 479, 289);
|
||||||
|
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.setBackColor(255, 0, 0);
|
||||||
|
myGLCD.print("That's it!", CENTER, 213);
|
||||||
|
myGLCD.print("Restarting in a", CENTER, 239);
|
||||||
|
myGLCD.print("few seconds...", CENTER, 252);
|
||||||
|
|
||||||
|
myGLCD.setColor(0, 255, 0);
|
||||||
|
myGLCD.setBackColor(0, 0, 255);
|
||||||
|
myGLCD.print("Runtime: (msecs)", CENTER, 450);
|
||||||
|
myGLCD.printNumI(millis(), CENTER, 465);
|
||||||
|
|
||||||
|
delay (10000);
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,38 @@
|
||||||
|
// UTFT_Rotate_Bitmap
|
||||||
|
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
|
||||||
|
// web: http://www.RinkyDinkElectronics.com/
|
||||||
|
//
|
||||||
|
// This program is a demo of the drawBitmap()-function.
|
||||||
|
//
|
||||||
|
// This program requires the UTFT library.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include <UTFT.h>
|
||||||
|
|
||||||
|
// Set the pins to the correct ones for your development shield
|
||||||
|
// ------------------------------------------------------------
|
||||||
|
// Standard Arduino Mega/Due shield : <display model>,38,39,40,41
|
||||||
|
// CTE TFT LCD/SD Shield for Arduino Due : <display model>,25,26,27,28
|
||||||
|
// Teensy 3.x TFT Test Board : <display model>,23,22, 3, 4
|
||||||
|
// ElecHouse TFT LCD/SD Shield for Arduino Due : <display model>,22,23,31,33
|
||||||
|
//
|
||||||
|
// Remember to change the model parameter to suit your display module!
|
||||||
|
UTFT myGLCD(ITDB32S,38,39,40,41);
|
||||||
|
|
||||||
|
extern unsigned short biohazard[0x1000];
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
myGLCD.InitLCD(LANDSCAPE);
|
||||||
|
myGLCD.fillScr(255, 255, 255);
|
||||||
|
myGLCD.setColor(0, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
for (int i=0; i<360; i+=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawBitmap (10, 10, 64, 64, biohazard, i, 32, 32);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,264 @@
|
||||||
|
// Generated by : ImageConverter 565 v1.0
|
||||||
|
// Generated from: biohazard1_L.png
|
||||||
|
// Time generated: 12.06.2011 00:23:59
|
||||||
|
// Dimensions : 64x64 pixels
|
||||||
|
// Size : 8 192 Bytes
|
||||||
|
|
||||||
|
const unsigned short biohazard[0x1000] ={
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0010 (16)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF7D, 0xC638, 0x9492, 0x6B4D, 0x4228, 0x2945, 0x2124, 0x18C3, 0x1082, // 0x0020 (32)
|
||||||
|
0x1082, 0x10A2, 0x18C3, 0x2124, 0x2965, 0x4A49, 0x6B6D, 0x9CD3, 0xCE79, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0030 (48)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0040 (64)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0050 (80)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, 0xBDD7, 0x6B6D, 0x2965, 0x0020, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, // 0x0060 (96)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0841, 0x31A6, 0x73AE, 0xC618, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0070 (112)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0080 (128)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0090 (144)
|
||||||
|
0xFFFF, 0xFFFF, 0xE73C, 0x8C71, 0x3186, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0020, 0x0020, 0x0020, 0x0020, 0x0000, 0x0000, // 0x00A0 (160)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x0020, 0x0020, 0x0020, 0x0020, 0x0000, 0x0000, 0x0000, 0x0000, 0x0020, 0x4207, 0x9CF3, 0xF79E, 0xFFFF, // 0x00B0 (176)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00C0 (192)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00D0 (208)
|
||||||
|
0xEF7D, 0x8C51, 0x2104, 0x0000, 0x0000, 0x0000, 0x0000, 0x0020, 0x0020, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, // 0x00E0 (224)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0020, 0x0020, 0x0000, 0x0000, 0x0000, 0x0000, 0x2965, 0x9CD3, // 0x00F0 (240)
|
||||||
|
0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0100 (256)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xAD75, // 0x0110 (272)
|
||||||
|
0x2965, 0x0000, 0x0000, 0x0000, 0x0000, 0x0020, 0x0000, 0x0000, 0x0000, 0x0020, 0x2901, 0x5241, 0x7B41, 0x9C02, 0xACA2, 0xBD02, // 0x0120 (288)
|
||||||
|
0xC521, 0xBD02, 0xACA2, 0x9C22, 0x7B41, 0x5241, 0x2901, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, // 0x0130 (304)
|
||||||
|
0x39E7, 0xC618, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0140 (320)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xEF5D, 0x630C, 0x0000, // 0x0150 (336)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0020, 0x41C1, 0x93E1, 0xD5A1, 0xFEA1, 0xFF01, 0xFF20, 0xFF20, 0xFF20, 0xFF00, // 0x0160 (352)
|
||||||
|
0xFF00, 0xFF00, 0xFF20, 0xFF20, 0xFF20, 0xFF01, 0xFEA1, 0xD5A1, 0x93E1, 0x49E1, 0x0020, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, // 0x0170 (368)
|
||||||
|
0x0000, 0x0841, 0x7BEF, 0xF7BE, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0180 (384)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xC638, 0x2965, 0x0000, 0x0000, // 0x0190 (400)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x0000, 0x18A0, 0x7B41, 0xD5A1, 0xFF01, 0xFF20, 0xFEE0, 0xFEC0, 0xFEA0, 0xF680, 0xF680, 0xFEA0, 0xFEA0, // 0x01A0 (416)
|
||||||
|
0xFEA0, 0xFEA0, 0xFEA0, 0xF680, 0xF680, 0xFEA0, 0xFEC0, 0xFF00, 0xFF20, 0xFF01, 0xD5A1, 0x7B41, 0x1880, 0x0000, 0x0000, 0x0000, // 0x01B0 (432)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x4208, 0xDEDB, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x01C0 (448)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xAD55, 0x1082, 0x0000, 0x0000, 0x0000, // 0x01D0 (464)
|
||||||
|
0x0000, 0x0000, 0x0840, 0x7B62, 0xEE41, 0xFF21, 0xFEE0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFF20, 0xFF20, 0xFEA1, 0xFEC0, // 0x01E0 (480)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEA1, 0xFF00, 0xFF20, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEE0, 0xFF21, 0xEE41, 0x7B62, 0x0840, 0x0000, // 0x01F0 (496)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x0000, 0x18E3, 0xC618, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0200 (512)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x94B2, 0x0020, 0x0000, 0x0000, 0x0000, 0x0000, // 0x0210 (528)
|
||||||
|
0x0000, 0x5201, 0xDDE1, 0xFF21, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFF40, 0xF6A1, 0xB4C1, 0x7322, 0xA441, 0xFEE0, // 0x0220 (544)
|
||||||
|
0xFEA0, 0xFEE0, 0xA461, 0x7322, 0xACA1, 0xF681, 0xFF40, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFF21, 0xDDE2, 0x4A01, // 0x0230 (560)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x1082, 0xB596, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0240 (576)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x9492, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0820, // 0x0250 (592)
|
||||||
|
0x9402, 0xFF01, 0xFEE0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEA0, 0xFEE0, 0xFF01, 0x9401, 0x3961, 0x7341, 0xCD81, 0xF680, 0xFEC0, // 0x0260 (608)
|
||||||
|
0xFEA0, 0xFEC0, 0xF681, 0xCD81, 0x7B61, 0x3961, 0x8BE1, 0xFEE1, 0xFEE0, 0xFEA0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEE0, 0xFF01, // 0x0270 (624)
|
||||||
|
0x9402, 0x0820, 0x0000, 0x0000, 0x0000, 0x0000, 0x0841, 0xB596, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0280 (640)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xA534, 0x0020, 0x0000, 0x0000, 0x0000, 0x0000, 0x20C0, 0xCD61, // 0x0290 (656)
|
||||||
|
0xFF40, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEA0, 0xFEC0, 0xFEA0, 0xFF01, 0xE621, 0x39A1, 0x20E1, 0xCD81, 0xFF40, 0xFEE0, 0xFEC0, 0xFEC0, // 0x02A0 (672)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEE0, 0xFF41, 0xCDC1, 0x2901, 0x3961, 0xDE01, 0xFF00, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEA0, 0xFEA0, // 0x02B0 (688)
|
||||||
|
0xFF21, 0xC561, 0x18A1, 0x0000, 0x0000, 0x0000, 0x0000, 0x1082, 0xC618, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x02C0 (704)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xC618, 0x0861, 0x0000, 0x0000, 0x0000, 0x0000, 0x3121, 0xDE01, 0xFF00, // 0x02D0 (720)
|
||||||
|
0xFE80, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFF01, 0xD5A2, 0x18A0, 0x20E0, 0xF682, 0xFF01, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEC0, // 0x02E0 (736)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFF00, 0xF6A1, 0x2920, 0x1080, 0xCDA2, 0xFF01, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x02F0 (752)
|
||||||
|
0xFE80, 0xFF00, 0xDE01, 0x2921, 0x0000, 0x0000, 0x0000, 0x0000, 0x18E3, 0xDEDB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0300 (768)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xE73C, 0x2124, 0x0000, 0x0000, 0x0000, 0x0000, 0x2921, 0xEE41, 0xFF00, 0xFEA0, // 0x0310 (784)
|
||||||
|
0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEE0, 0xDE02, 0x18A1, 0x0840, 0xDDE1, 0xFF00, 0xFEA0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEC0, // 0x0320 (800)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEE0, 0xE621, 0x0860, 0x1880, 0xD5E2, 0xFEE0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x0330 (816)
|
||||||
|
0xFEA0, 0xFEA0, 0xFF00, 0xE641, 0x2921, 0x0000, 0x0000, 0x0000, 0x0000, 0x4208, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0340 (832)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x5ACB, 0x0000, 0x0000, 0x0000, 0x0000, 0x18C0, 0xDE21, 0xFF00, 0xFEA0, 0xFEC0, // 0x0350 (848)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC1, 0x39A1, 0x0000, 0x8382, 0xFF21, 0xFE80, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x0360 (864)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFE80, 0xFF20, 0x8BC1, 0x0000, 0x3161, 0xF6A1, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x0370 (880)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEA0, 0xFF00, 0xDE01, 0x18A0, 0x0000, 0x0000, 0x0000, 0x0000, 0x7BCF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0380 (896)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xA534, 0x0000, 0x0000, 0x0000, 0x0000, 0x0820, 0xCD61, 0xFF00, 0xFEA0, 0xFEC0, 0xFEC0, // 0x0390 (912)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFF21, 0x93E1, 0x0000, 0x1060, 0xDE01, 0xFEE0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x03A0 (928)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEE0, 0xE621, 0x1080, 0x0000, 0x8BA1, 0xFF20, 0xFEA0, 0xFEC0, 0xFEC0, // 0x03B0 (944)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFF00, 0xCD61, 0x0820, 0x0000, 0x0000, 0x0000, 0x0021, 0xBDF7, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03C0 (960)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF5D, 0x2104, 0x0000, 0x0000, 0x0000, 0x0000, 0x9402, 0xFF41, 0xFE80, 0xFEA0, 0xFEC0, 0xFEC0, // 0x03D0 (976)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEA0, 0xFEC0, 0xF681, 0x20E0, 0x0000, 0x41A1, 0xFEE1, 0xFEA0, 0xFEA1, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x03E0 (992)
|
||||||
|
0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFF01, 0x49E1, 0x0000, 0x18A1, 0xEE41, 0xFEC0, 0xFEA0, 0xFEC0, // 0x03F0 (1008)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFE80, 0xFF41, 0x9402, 0x0000, 0x0000, 0x0000, 0x0000, 0x39C7, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0400 (1024)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x7BCF, 0x0000, 0x0000, 0x0000, 0x0000, 0x4A01, 0xFF01, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x0410 (1040)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEA0, 0xFF20, 0xA461, 0x0000, 0x0000, 0x6AC1, 0xFF21, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEC0, // 0x0420 (1056)
|
||||||
|
0xFEE0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFE80, 0xFF20, 0x7300, 0x0000, 0x0000, 0x9C21, 0xFF20, 0xFEA0, 0xFEC0, // 0x0430 (1072)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFF01, 0x49E1, 0x0000, 0x0000, 0x0000, 0x0000, 0x9CD3, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0440 (1088)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xDEFB, 0x10A2, 0x0000, 0x0000, 0x0000, 0x0840, 0xDDE1, 0xFEE0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x0450 (1104)
|
||||||
|
0xFEA0, 0xFEA0, 0xFEA0, 0xFF20, 0x6261, 0x0000, 0x0000, 0x7300, 0xFF21, 0xF6A0, 0xFEA0, 0xFEE0, 0xFF20, 0xFF00, 0xFEA1, 0xEE42, // 0x0460 (1120)
|
||||||
|
0xE602, 0xEE42, 0xFEA1, 0xFF00, 0xFF20, 0xFEE0, 0xFEA0, 0xF681, 0xFF40, 0x8360, 0x0000, 0x0000, 0x5241, 0xFF01, 0xFEA0, 0xFEA0, // 0x0470 (1136)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFF00, 0xDDC1, 0x0840, 0x0000, 0x0000, 0x0000, 0x2945, 0xEF7D, 0xFFFF, 0xFFFF, // 0x0480 (1152)
|
||||||
|
0xFFFF, 0xFFDF, 0xFFFF, 0x7BEF, 0x0000, 0x0000, 0x0000, 0x0000, 0x7B42, 0xFF21, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x0490 (1168)
|
||||||
|
0xFEC0, 0xFEA0, 0xFEC0, 0xFEA0, 0x2900, 0x0000, 0x0000, 0x6AE0, 0xFF21, 0xFEC0, 0xFF01, 0xDE01, 0x9C01, 0x5241, 0x2921, 0x18A1, // 0x04A0 (1184)
|
||||||
|
0x1061, 0x1881, 0x2921, 0x5241, 0x9C02, 0xDDE1, 0xFF21, 0xFEC0, 0xFF20, 0x7321, 0x0000, 0x0000, 0x20E0, 0xF681, 0xFEC0, 0xFEA0, // 0x04B0 (1200)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFF21, 0x7B41, 0x0000, 0x0000, 0x0000, 0x0000, 0x9CD3, 0xFFFF, 0xFFDF, // 0x04C0 (1216)
|
||||||
|
0xFFDF, 0xFFFF, 0xEF7D, 0x2104, 0x0000, 0x0000, 0x0000, 0x1080, 0xEE41, 0xFEE0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x04D0 (1232)
|
||||||
|
0xFEC0, 0xFEA0, 0xFEC0, 0xEE21, 0x1060, 0x0000, 0x0000, 0x41C1, 0xFF21, 0xDDE1, 0x6AC1, 0x0860, 0x0000, 0x0000, 0x0000, 0x0000, // 0x04E0 (1248)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0860, 0x62C1, 0xDDC1, 0xFF41, 0x49E1, 0x0000, 0x0000, 0x0840, 0xE601, 0xFEE0, 0xFEA0, // 0x04F0 (1264)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEC0, 0xEE41, 0x1080, 0x0000, 0x0000, 0x0000, 0x39C7, 0xF7BE, 0xFFFF, // 0x0500 (1280)
|
||||||
|
0xFFDF, 0xFFFF, 0xA534, 0x0000, 0x0000, 0x0000, 0x0000, 0x7B21, 0xFF21, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x0510 (1296)
|
||||||
|
0xFEA0, 0xFEA0, 0xFEE0, 0xE602, 0x0841, 0x0000, 0x0000, 0x1080, 0xACC2, 0x1060, 0x0000, 0x0000, 0x0000, 0x0020, 0x2920, 0x4A01, // 0x0520 (1312)
|
||||||
|
0x5241, 0x4A01, 0x3140, 0x0821, 0x0000, 0x0000, 0x0000, 0x0860, 0xACA2, 0x18A0, 0x0000, 0x0000, 0x0820, 0xDDE2, 0xFEE0, 0xFEA0, // 0x0530 (1328)
|
||||||
|
0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFE80, 0xFF21, 0x7321, 0x0000, 0x0000, 0x0000, 0x0020, 0xC618, 0xFFFF, // 0x0540 (1344)
|
||||||
|
0xFFFF, 0xFFFF, 0x52AA, 0x0000, 0x0020, 0x0000, 0x0820, 0xDDA1, 0xFEE0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x0550 (1360)
|
||||||
|
0xFEC0, 0xFEA0, 0xFEE0, 0xE621, 0x1060, 0x0000, 0x0000, 0x0000, 0x6AE2, 0x20C1, 0x0000, 0x20E1, 0x8BA2, 0xD5A1, 0xFEA1, 0xFF00, // 0x0560 (1376)
|
||||||
|
0xFF01, 0xFF00, 0xFEC1, 0xD5C1, 0x8BC2, 0x2901, 0x0000, 0x18A1, 0x7302, 0x0000, 0x0000, 0x0000, 0x0840, 0xDE01, 0xFEE0, 0xFEA0, // 0x0570 (1392)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEE0, 0xD5A1, 0x0020, 0x0000, 0x0000, 0x0000, 0x738E, 0xFFFF, // 0x0580 (1408)
|
||||||
|
0xFFFF, 0xE71C, 0x18C3, 0x0000, 0x0020, 0x0000, 0x49C1, 0xFF01, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x0590 (1424)
|
||||||
|
0xFEA0, 0xFEA0, 0xFEC0, 0xF661, 0x18A0, 0x0000, 0x0000, 0x0000, 0x2101, 0x8363, 0x7321, 0xEE81, 0xFF21, 0xFEE0, 0xFEC0, 0xFEA0, // 0x05A0 (1440)
|
||||||
|
0xFEA0, 0xFEA0, 0xFEC0, 0xFEE0, 0xFF20, 0xF681, 0x7B41, 0x8362, 0x2921, 0x0000, 0x0000, 0x0000, 0x1080, 0xEE41, 0xFEC0, 0xFEA0, // 0x05B0 (1456)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFF01, 0x41C1, 0x0000, 0x0020, 0x0000, 0x3186, 0xF79E, // 0x05C0 (1472)
|
||||||
|
0xFFFF, 0xAD75, 0x0000, 0x0000, 0x0020, 0x0000, 0x93E1, 0xFF20, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEC0, // 0x05D0 (1488)
|
||||||
|
0xFEC0, 0xFEA0, 0xFEA0, 0xFF41, 0x5221, 0x0000, 0x0000, 0x0000, 0x0000, 0x41C1, 0xFF01, 0xFF00, 0xF660, 0xFEA0, 0xFEA0, 0xFEC0, // 0x05E0 (1504)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, 0xF660, 0xFF00, 0xFF22, 0x49E1, 0x0000, 0x0000, 0x0000, 0x0000, 0x49E1, 0xFF40, 0xFEA0, 0xFEA0, // 0x05F0 (1520)
|
||||||
|
0xFEA1, 0xFEC0, 0xFEA1, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFF20, 0x93E1, 0x0000, 0x0020, 0x0000, 0x0020, 0xC638, // 0x0600 (1536)
|
||||||
|
0xFFFF, 0x73AE, 0x0000, 0x0000, 0x0000, 0x0020, 0xD5A1, 0xFF00, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEA1, 0xFEA0, // 0x0610 (1552)
|
||||||
|
0xFEA1, 0xFF20, 0xFEC1, 0xD5C1, 0x5220, 0x0000, 0x0000, 0x0000, 0x0020, 0x0000, 0x3981, 0xE622, 0xFF20, 0xFEC0, 0xFEA0, 0xFEA0, // 0x0620 (1568)
|
||||||
|
0xFEC0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFF21, 0xE621, 0x41C1, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x49E0, 0xCDA2, 0xFEA1, 0xFF20, // 0x0630 (1584)
|
||||||
|
0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFF00, 0xD5A1, 0x0020, 0x0000, 0x0000, 0x0000, 0x9492, // 0x0640 (1600)
|
||||||
|
0xFFFF, 0x4A49, 0x0000, 0x0020, 0x0000, 0x2901, 0xFEA1, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEE0, // 0x0650 (1616)
|
||||||
|
0xFEE1, 0xA461, 0x3981, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x1881, 0x93E1, 0xE622, 0xFF01, 0xFF00, // 0x0660 (1632)
|
||||||
|
0xFEA0, 0xFF00, 0xFF21, 0xEE41, 0x9401, 0x18A1, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x3141, 0x9C21, // 0x0670 (1648)
|
||||||
|
0xFEC1, 0xFEE0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEC0, 0xFEA1, 0x2901, 0x0000, 0x0020, 0x0000, 0x632C, // 0x0680 (1664)
|
||||||
|
0xE71C, 0x2124, 0x0000, 0x0020, 0x0000, 0x5241, 0xFF01, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFF00, 0xD5C1, // 0x0690 (1680)
|
||||||
|
0x41C1, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x1081, 0x4A01, 0xAC81, // 0x06A0 (1696)
|
||||||
|
0xFF21, 0xB4C1, 0x5221, 0x1081, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, // 0x06B0 (1712)
|
||||||
|
0x3981, 0xCD81, 0xFF21, 0xFEA0, 0xFEC0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFF01, 0x5221, 0x0000, 0x0020, 0x0000, 0x4228, // 0x06C0 (1728)
|
||||||
|
0xBDF7, 0x18C3, 0x0000, 0x0020, 0x0000, 0x7B41, 0xFF20, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEC0, 0xFEA0, 0xFF20, 0xBD02, 0x1060, // 0x06D0 (1744)
|
||||||
|
0x0000, 0x0020, 0x0020, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x5201, // 0x06E0 (1760)
|
||||||
|
0xFFC0, 0x5A41, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0020, 0x0020, // 0x06F0 (1776)
|
||||||
|
0x0000, 0x0840, 0xACA1, 0xFF21, 0xFEA0, 0xFEC0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFF20, 0x7B41, 0x0000, 0x0020, 0x0000, 0x2945, // 0x0700 (1792)
|
||||||
|
0x94B2, 0x0861, 0x0000, 0x0000, 0x0000, 0x9C02, 0xFF20, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFF00, 0xBD22, 0x0820, 0x0000, // 0x0710 (1808)
|
||||||
|
0x0820, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x1881, 0xAC81, // 0x0720 (1824)
|
||||||
|
0xFF20, 0xB4A1, 0x18A1, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, // 0x0730 (1840)
|
||||||
|
0x0020, 0x0000, 0x0000, 0xB4C2, 0xFF00, 0xFE80, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFF20, 0x9C02, 0x0000, 0x0020, 0x0000, 0x2104, // 0x0740 (1856)
|
||||||
|
0x73AE, 0x0841, 0x0000, 0x0000, 0x0000, 0xACA2, 0xFF20, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEE0, 0xE622, 0x18A1, 0x0000, 0x0000, // 0x0750 (1872)
|
||||||
|
0x0000, 0x1080, 0x5221, 0x6B03, 0x6AE2, 0x6AE3, 0x4A01, 0x1080, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x1061, 0xCD82, 0xFF20, // 0x0760 (1888)
|
||||||
|
0xFE80, 0xFF20, 0xD5C2, 0x1881, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x1080, 0x5241, 0x6AE3, 0x6AE2, 0x6AE3, 0x5A62, 0x18C0, // 0x0770 (1904)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x1060, 0xDDE2, 0xFEE0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEA0, 0xFF20, 0xACA2, 0x0000, 0x0000, 0x0000, 0x10A2, // 0x0780 (1920)
|
||||||
|
0x52AA, 0x0000, 0x0000, 0x0000, 0x0000, 0xBD02, 0xFF00, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFF01, 0x5A61, 0x0000, 0x0000, 0x18A0, // 0x0790 (1936)
|
||||||
|
0x9401, 0xEE61, 0xFEE2, 0x49E2, 0x18A1, 0x62A1, 0xFF41, 0xE621, 0x8BC2, 0x1880, 0x0000, 0x0820, 0x0000, 0x7B21, 0xFF40, 0xFE80, // 0x07A0 (1952)
|
||||||
|
0xFEC0, 0xFE80, 0xFF40, 0x8381, 0x0000, 0x0820, 0x0000, 0x1080, 0x8BE2, 0xEE41, 0xFF41, 0x62A2, 0x10A1, 0x3982, 0xFEC2, 0xF6A1, // 0x07B0 (1968)
|
||||||
|
0xA462, 0x2101, 0x0000, 0x0000, 0x49E1, 0xFF01, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFF00, 0xBD02, 0x0000, 0x0000, 0x0000, 0x1082, // 0x07C0 (1984)
|
||||||
|
0x528A, 0x0000, 0x0000, 0x0000, 0x0000, 0xC521, 0xFF00, 0xFEA0, 0xFEC0, 0xFEA0, 0xFF00, 0xCD41, 0x0000, 0x0000, 0x49C1, 0xE642, // 0x07D0 (2000)
|
||||||
|
0xFF21, 0xFEE0, 0xEE42, 0x1081, 0x0000, 0x41A0, 0xFEE0, 0xFEC0, 0xFF40, 0xE621, 0x41A1, 0x0000, 0x0000, 0x93E1, 0xFF20, 0xFEA0, // 0x07E0 (2016)
|
||||||
|
0xFEA0, 0xFEA0, 0xFF20, 0x9C22, 0x0000, 0x0000, 0x3981, 0xDE01, 0xFF21, 0xFEC0, 0xFEE1, 0x49E1, 0x0000, 0x0840, 0xE602, 0xFEC0, // 0x07F0 (2032)
|
||||||
|
0xFF20, 0xEE81, 0x5A61, 0x0000, 0x0000, 0xBCE1, 0xFF00, 0xFEA0, 0xFEC0, 0xFEA0, 0xFF00, 0xC521, 0x0000, 0x0000, 0x0000, 0x1082, // 0x0800 (2048)
|
||||||
|
0x52AA, 0x0000, 0x0000, 0x0000, 0x0000, 0xBD02, 0xFF00, 0xFEA0, 0xFEA0, 0xFEA0, 0xFF20, 0x6AC1, 0x0000, 0x49E1, 0xFEE2, 0xFEE0, // 0x0810 (2064)
|
||||||
|
0xFE80, 0xFEC0, 0xF682, 0x20E1, 0x0000, 0x39A0, 0xFEE0, 0xFEA0, 0xFE80, 0xFEE0, 0xF6A2, 0x41A1, 0x3961, 0xDDC1, 0xFF00, 0xFE80, // 0x0820 (2080)
|
||||||
|
0xFEA0, 0xFEA0, 0xFF00, 0xE601, 0x41C1, 0x3981, 0xF682, 0xFF00, 0xFE80, 0xFEA0, 0xFF00, 0x41C1, 0x0000, 0x20C1, 0xF661, 0xFEC0, // 0x0830 (2096)
|
||||||
|
0xF6A0, 0xFEC0, 0xFF01, 0x6261, 0x0000, 0x5A41, 0xFF01, 0xFEA0, 0xFEC0, 0xFEA0, 0xFF00, 0xBD02, 0x0000, 0x0000, 0x0000, 0x1082, // 0x0840 (2112)
|
||||||
|
0x738E, 0x0841, 0x0000, 0x0000, 0x0000, 0xACA2, 0xFF20, 0xFEA0, 0xFEA0, 0xFEC0, 0xF681, 0x18A0, 0x1080, 0xEE41, 0xFEE0, 0xFEA0, // 0x0850 (2128)
|
||||||
|
0xFEC0, 0xFEA0, 0xFEE1, 0x3980, 0x0000, 0x20C0, 0xF662, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEE0, 0xF681, 0xFEE1, 0xFF01, 0xDDC1, 0xFF21, // 0x0860 (2144)
|
||||||
|
0xFF20, 0xFF21, 0xDDC1, 0xFEC1, 0xFF01, 0xF661, 0xFEE0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEA1, 0x2900, 0x0000, 0x3140, 0xFEA1, 0xFEA0, // 0x0870 (2160)
|
||||||
|
0xFEA0, 0xFEA0, 0xFEC0, 0xF6A1, 0x2101, 0x0840, 0xEE41, 0xFEE0, 0xFEA0, 0xFEA0, 0xFF20, 0xAC82, 0x0000, 0x0000, 0x0000, 0x10A2, // 0x0880 (2176)
|
||||||
|
0x9492, 0x0861, 0x0000, 0x0000, 0x0000, 0x9C02, 0xFF20, 0xFEA0, 0xFEA0, 0xFF00, 0xD582, 0x0000, 0x93C1, 0xFF40, 0xFE80, 0xFEC0, // 0x0890 (2192)
|
||||||
|
0xFEC0, 0xFEA0, 0xFF21, 0x6AC1, 0x0000, 0x0000, 0xCD41, 0xFF00, 0xFEA0, 0xFEC0, 0xFEA0, 0xFEE0, 0xDDE1, 0x41A1, 0x0860, 0x6AC1, // 0x08A0 (2208)
|
||||||
|
0x93E1, 0x6AE1, 0x0841, 0x3161, 0xD5C1, 0xFEE0, 0xFEA0, 0xFEC0, 0xFEA0, 0xFF00, 0xCD61, 0x0000, 0x0000, 0x5A81, 0xFF21, 0xFEA0, // 0x08B0 (2224)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEA0, 0xFF20, 0xAC81, 0x0000, 0xC521, 0xFF00, 0xFEA0, 0xFEA0, 0xFF20, 0x9C02, 0x0000, 0x0020, 0x0000, 0x2104, // 0x08C0 (2240)
|
||||||
|
0xB5B6, 0x10A2, 0x0000, 0x0020, 0x0000, 0x7B41, 0xFF20, 0xFEA0, 0xFEA0, 0xFF20, 0xAC80, 0x0820, 0xEE41, 0xFEC0, 0xFEA0, 0xFEC0, // 0x08D0 (2256)
|
||||||
|
0xFEC0, 0xFEA0, 0xFF00, 0xAC81, 0x0000, 0x0000, 0x7301, 0xFF20, 0xFEA0, 0xFEC0, 0xFEA0, 0xFEE0, 0xD5C1, 0x0000, 0x0000, 0x0000, // 0x08E0 (2272)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x0000, 0xD561, 0xFEE0, 0xFEA0, 0xFEC0, 0xFEA0, 0xFF41, 0x7B42, 0x0000, 0x0000, 0xA442, 0xFF21, 0xFEA0, // 0x08F0 (2288)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA1, 0x1080, 0x9C00, 0xFF40, 0xFEA0, 0xFEA0, 0xFF20, 0x7B41, 0x0000, 0x0020, 0x0000, 0x2124, // 0x0900 (2304)
|
||||||
|
0xDEFB, 0x2104, 0x0000, 0x0020, 0x0000, 0x5221, 0xFF01, 0xFEA0, 0xFEA0, 0xFF40, 0x93C0, 0x3961, 0xFF21, 0xFEA0, 0xFEC0, 0xFEC0, // 0x0910 (2320)
|
||||||
|
0xFEC0, 0xFEA0, 0xFEC0, 0xEE61, 0x1881, 0x0000, 0x1080, 0xEE21, 0xFEE0, 0xFEA0, 0xFEC0, 0xFEA0, 0xFF01, 0x41C1, 0x0000, 0x0020, // 0x0920 (2336)
|
||||||
|
0x0000, 0x0020, 0x0000, 0x3961, 0xFEE1, 0xFEA0, 0xFEC0, 0xFEA0, 0xFEC0, 0xEE61, 0x18A1, 0x0000, 0x1060, 0xE621, 0xFEC0, 0xFEA0, // 0x0930 (2352)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFF21, 0x4A01, 0x8361, 0xFF40, 0xFEA0, 0xFEA0, 0xFF01, 0x5221, 0x0000, 0x0020, 0x0000, 0x4208, // 0x0940 (2368)
|
||||||
|
0xFFDF, 0x4208, 0x0000, 0x0000, 0x0000, 0x2901, 0xFEA1, 0xFEC0, 0xFEA0, 0xFF40, 0x93C0, 0x5A60, 0xFF41, 0xFEA0, 0xFEC0, 0xFEC0, // 0x0950 (2384)
|
||||||
|
0xFEA0, 0xFEC0, 0xFEA0, 0xFF21, 0x7B41, 0x0000, 0x0000, 0x6281, 0xFF21, 0xFEA0, 0xFEA0, 0xFEA0, 0xFF21, 0x62A1, 0x0000, 0x0000, // 0x0960 (2400)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x5A41, 0xFF01, 0xFEA0, 0xFEA0, 0xF680, 0xFF41, 0x6AC1, 0x0000, 0x0000, 0x7301, 0xFF21, 0xFEA0, 0xFEA0, // 0x0970 (2416)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFF40, 0x6AE1, 0x8361, 0xFF40, 0xFEA0, 0xFEC0, 0xFEA1, 0x2901, 0x0000, 0x0020, 0x0000, 0x630C, // 0x0980 (2432)
|
||||||
|
0xFFFF, 0x6B6D, 0x0000, 0x0020, 0x0000, 0x0020, 0xD5A1, 0xFF00, 0xFEA0, 0xFF20, 0xA461, 0x6AC0, 0xFF40, 0xFEA0, 0xFEC0, 0xFEC0, // 0x0990 (2448)
|
||||||
|
0xFEA0, 0xFEA0, 0xFEC0, 0xFEC0, 0xEE61, 0x18C0, 0x0000, 0x0000, 0x93E2, 0xFF41, 0xFEA0, 0xFE80, 0xFF20, 0x6AE1, 0x0000, 0x0000, // 0x09A0 (2464)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x62A1, 0xFF21, 0xFE80, 0xFEA0, 0xFF40, 0x9C22, 0x0000, 0x0000, 0x1881, 0xE641, 0xFEC0, 0xFEC0, 0xFEC0, // 0x09B0 (2480)
|
||||||
|
0xFEA0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFF40, 0x7B61, 0x9C00, 0xFF40, 0xFE80, 0xFF00, 0xD581, 0x0000, 0x0000, 0x0000, 0x0000, 0x8C51, // 0x09C0 (2496)
|
||||||
|
0xFFFF, 0xA534, 0x0000, 0x0000, 0x0000, 0x0000, 0x93E1, 0xFF20, 0xFE80, 0xFF00, 0xC541, 0x72E1, 0xFF20, 0xFEA0, 0xFEC0, 0xFEC0, // 0x09D0 (2512)
|
||||||
|
0xFEC0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFF00, 0xB4C1, 0x0000, 0x0020, 0x0000, 0x93E1, 0xFF21, 0xFEC0, 0xFF01, 0x5A81, 0x0000, 0x0000, // 0x09E0 (2528)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x5222, 0xFF01, 0xFEC0, 0xFF21, 0x9C01, 0x0000, 0x0020, 0x0000, 0xAC81, 0xFF01, 0xFEA0, 0xFEA0, 0xFEC0, // 0x09F0 (2544)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFF20, 0x7B40, 0xBD01, 0xFF20, 0xF680, 0xFF20, 0x93C1, 0x0000, 0x0020, 0x0000, 0x0000, 0xBDF7, // 0x0A00 (2560)
|
||||||
|
0xFFFF, 0xDEDB, 0x1082, 0x0000, 0x0000, 0x0000, 0x41C1, 0xFF01, 0xFEA0, 0xFEC0, 0xF660, 0x6AC2, 0xF6A1, 0xFEC0, 0xFEC0, 0xFEC0, // 0x0A10 (2576)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFF21, 0x8BA1, 0x0000, 0x0000, 0x0000, 0x6281, 0xDE21, 0xFF01, 0x3161, 0x0000, 0x0000, // 0x0A20 (2592)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x2921, 0xFEE1, 0xE641, 0x62A1, 0x0000, 0x0000, 0x0000, 0x8381, 0xFF21, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x0A30 (2608)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEA0, 0xFEC0, 0xFEC1, 0x6AC2, 0xE621, 0xFEE0, 0xFEA0, 0xFF01, 0x41C1, 0x0000, 0x0020, 0x0000, 0x2124, 0xEF5D, // 0x0A40 (2624)
|
||||||
|
0xFFFF, 0xFFFF, 0x4A49, 0x0000, 0x0000, 0x0000, 0x0020, 0xD5A1, 0xFEE0, 0xFEA0, 0xFEC0, 0xCD41, 0xF660, 0xFEC0, 0xFEC0, 0xFEC0, // 0x0A50 (2640)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFF21, 0x8BC1, 0x0000, 0x0000, 0x0000, 0x1060, 0xA442, 0x0860, 0x0000, 0x0000, // 0x0A60 (2656)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x0820, 0xA442, 0x18A0, 0x0000, 0x0000, 0x0000, 0x8381, 0xFF21, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x0A70 (2672)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFE80, 0xCD62, 0xFEC0, 0xFEA1, 0xFEE0, 0xD5A1, 0x0020, 0x0000, 0x0000, 0x0000, 0x630C, 0xFFFF, // 0x0A80 (2688)
|
||||||
|
0xFFDF, 0xFFFF, 0x94B2, 0x0000, 0x0000, 0x0000, 0x0000, 0x7321, 0xFF21, 0xFEA0, 0xFEA0, 0xFEE0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEC0, // 0x0A90 (2704)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFF21, 0xB4C1, 0x20E1, 0x0000, 0x3161, 0x62A2, 0x0000, 0x0000, 0x0000, // 0x0AA0 (2720)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x0000, 0x5A82, 0x39A1, 0x0000, 0x20C1, 0xAC82, 0xFF21, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x0AB0 (2736)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEC0, 0xFEE0, 0xFEA0, 0xFEA0, 0xFF21, 0x7321, 0x0000, 0x0000, 0x0000, 0x0000, 0xB596, 0xFFFF, // 0x0AC0 (2752)
|
||||||
|
0xFFDF, 0xFFFF, 0xE73C, 0x18C3, 0x0000, 0x0000, 0x0000, 0x1080, 0xEE41, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEA1, 0xFF00, 0xFEE0, 0xFEA0, // 0x0AD0 (2768)
|
||||||
|
0xFEC0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFF00, 0xEE41, 0x83C1, 0x8BA3, 0x1081, 0x0000, 0x0000, 0x0000, // 0x0AE0 (2784)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x0000, 0x1060, 0x8383, 0x83A1, 0xEE41, 0xFF00, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, // 0x0AF0 (2800)
|
||||||
|
0xFEC0, 0xFEA0, 0xFEC0, 0xFF00, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEC0, 0xEE21, 0x1080, 0x0000, 0x0000, 0x0000, 0x2945, 0xEF7D, 0xFFFF, // 0x0B00 (2816)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0x6B4D, 0x0000, 0x0000, 0x0000, 0x0000, 0x7B41, 0xFF21, 0xFEA0, 0xFEA0, 0xFF00, 0xB482, 0xD5C1, 0xFF20, // 0x0B10 (2832)
|
||||||
|
0xFE80, 0xFEA0, 0xFEA0, 0xFEA1, 0xFEA0, 0xFEC0, 0xFEA1, 0xFEA0, 0xF680, 0xFF20, 0xF6A2, 0x3121, 0x0000, 0x0000, 0x0000, 0x0000, // 0x0B20 (2848)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x20E1, 0xEE62, 0xFF40, 0xF680, 0xFEA0, 0xFEA1, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, // 0x0B30 (2864)
|
||||||
|
0xF681, 0xFF20, 0xE601, 0xAC62, 0xFF00, 0xFEA0, 0xFE80, 0xFF21, 0x7B41, 0x0000, 0x0000, 0x0000, 0x0000, 0x8410, 0xFFFF, 0xFFFF, // 0x0B40 (2880)
|
||||||
|
0xFFFF, 0xFFDF, 0xFFFF, 0xD69A, 0x0841, 0x0000, 0x0000, 0x0000, 0x0840, 0xDDC1, 0xFEE0, 0xFEA0, 0xFEE1, 0xD5A1, 0x5221, 0xBD21, // 0x0B50 (2896)
|
||||||
|
0xFF41, 0xFF00, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEA1, 0xFEC0, 0xFF00, 0xFF21, 0xCD61, 0x20E1, 0x0000, 0x0000, 0x0000, 0x0000, 0x0020, // 0x0B60 (2912)
|
||||||
|
0x7322, 0x0840, 0x0000, 0x0000, 0x0000, 0x0000, 0x18A1, 0xBD22, 0xFF21, 0xFF00, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEE0, // 0x0B70 (2928)
|
||||||
|
0xFF40, 0xC561, 0x5221, 0xCD81, 0xFEE0, 0xFE81, 0xFEE0, 0xDDC1, 0x0840, 0x0000, 0x0000, 0x0000, 0x18E3, 0xE71C, 0xFFFF, 0xFFFF, // 0x0B80 (2944)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x632C, 0x0000, 0x0000, 0x0000, 0x0000, 0x49E1, 0xFF01, 0xFEA0, 0xFEA0, 0xFF00, 0xDE01, 0x4181, // 0x0B90 (2960)
|
||||||
|
0x5A81, 0xD581, 0xFEE1, 0xFF20, 0xFF20, 0xFF01, 0xFEC1, 0xD582, 0x6AE1, 0x0020, 0x0000, 0x0020, 0x0000, 0x0000, 0x1060, 0xACA2, // 0x0BA0 (2976)
|
||||||
|
0xFF61, 0xBD21, 0x18A1, 0x0000, 0x0000, 0x0020, 0x0000, 0x0000, 0x62A2, 0xCD62, 0xFEA1, 0xFF01, 0xFF20, 0xFF20, 0xFEE1, 0xD5C1, // 0x0BB0 (2992)
|
||||||
|
0x62C1, 0x3981, 0xD5C1, 0xFF21, 0xFEA0, 0xFEA0, 0xFF01, 0x49E1, 0x0000, 0x0000, 0x0000, 0x0000, 0x7BEF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0BC0 (3008)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDEDB, 0x1082, 0x0000, 0x0000, 0x0000, 0x0000, 0x93E2, 0xFF40, 0xFE80, 0xFE80, 0xFEE0, 0xFEC1, // 0x0BD0 (3024)
|
||||||
|
0x6B01, 0x1061, 0x18C1, 0x4A00, 0x5AA0, 0x5240, 0x3141, 0x0020, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x4A01, 0xDDC1, 0xFF20, // 0x0BE0 (3040)
|
||||||
|
0xFE80, 0xFF00, 0xE602, 0x5A41, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x2921, 0x5220, 0x5AA0, 0x4A00, 0x20E1, 0x1060, // 0x0BF0 (3056)
|
||||||
|
0x6AE1, 0xF6A1, 0xFEE0, 0xFEA1, 0xFEA0, 0xFF41, 0x93E1, 0x0000, 0x0000, 0x0000, 0x0000, 0x2124, 0xE71C, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0C00 (3072)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x8C71, 0x0000, 0x0000, 0x0000, 0x0000, 0x0820, 0xCD61, 0xFF00, 0xFEA0, 0xFEA0, 0xFEC0, // 0x0C10 (3088)
|
||||||
|
0xFF41, 0xDDE1, 0x6B01, 0x18C1, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x18A0, 0x5A61, 0xBCE2, 0xFF01, 0xFEE0, 0xFEA0, // 0x0C20 (3104)
|
||||||
|
0xFEC0, 0xFEA0, 0xFEE0, 0xFF01, 0xC541, 0x6281, 0x20C1, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x18C1, 0x6AE1, 0xDDC1, // 0x0C30 (3120)
|
||||||
|
0xFF41, 0xFEC0, 0xFEA0, 0xFEA0, 0xFF01, 0xC541, 0x0020, 0x0000, 0x0000, 0x0000, 0x0000, 0xA514, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0C40 (3136)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, 0x4208, 0x0000, 0x0000, 0x0000, 0x0000, 0x18A1, 0xDE01, 0xFF00, 0xFE80, 0xFEC0, // 0x0C50 (3152)
|
||||||
|
0xFEA0, 0xFEE0, 0xFF20, 0xFEC1, 0xD5A2, 0xAC82, 0x9401, 0x93E1, 0x9C42, 0xC522, 0xEE41, 0xFF01, 0xFF00, 0xFEA0, 0xFEA0, 0xFEC0, // 0x0C60 (3168)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFF00, 0xFF21, 0xF661, 0xC542, 0xA462, 0x93E1, 0x9C01, 0xB4A2, 0xD5A1, 0xFEC1, 0xFF20, 0xFEE0, // 0x0C70 (3184)
|
||||||
|
0xFEA0, 0xFEC0, 0xFE80, 0xFF00, 0xDE01, 0x18A1, 0x0000, 0x0000, 0x0000, 0x0000, 0x52AA, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0C80 (3200)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xD6BA, 0x10A2, 0x0000, 0x0000, 0x0000, 0x0000, 0x2921, 0xE641, 0xFF00, 0xFE80, // 0x0C90 (3216)
|
||||||
|
0xFEC0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFF00, 0xFF20, 0xFF20, 0xFF20, 0xFF20, 0xFF00, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x0CA0 (3232)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFF00, 0xFF20, 0xFF20, 0xFF20, 0xFF20, 0xFF00, 0xFEC0, 0xFEA0, 0xFEA0, // 0x0CB0 (3248)
|
||||||
|
0xFEA0, 0xFE80, 0xFF00, 0xE641, 0x2901, 0x0000, 0x0000, 0x0000, 0x0000, 0x2124, 0xE71C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0CC0 (3264)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xAD55, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x2901, 0xDE01, 0xFF00, // 0x0CD0 (3280)
|
||||||
|
0xFE80, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x0CE0 (3296)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEA0, // 0x0CF0 (3312)
|
||||||
|
0xFE80, 0xFF00, 0xDE01, 0x2900, 0x0000, 0x0000, 0x0000, 0x0000, 0x0861, 0xBDD7, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0D00 (3328)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x8430, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x18A1, 0xC561, // 0x0D10 (3344)
|
||||||
|
0xFF21, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x0D20 (3360)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, // 0x0D30 (3376)
|
||||||
|
0xFF41, 0xC561, 0x18A1, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x9CD3, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0D40 (3392)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x73AE, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0820, // 0x0D50 (3408)
|
||||||
|
0x9402, 0xFF01, 0xFEE0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x0D60 (3424)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEE0, 0xFF01, // 0x0D70 (3440)
|
||||||
|
0x9402, 0x0820, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x8C51, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0D80 (3456)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x73AE, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, // 0x0D90 (3472)
|
||||||
|
0x0000, 0x4A01, 0xDDC1, 0xFF41, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x0DA0 (3488)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFF21, 0xD5C1, 0x4A01, // 0x0DB0 (3504)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x8C51, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0DC0 (3520)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x8430, 0x0000, 0x0000, 0x0000, 0x0000, // 0x0DD0 (3536)
|
||||||
|
0x0000, 0x0000, 0x0840, 0x7B61, 0xE641, 0xFF21, 0xFEE0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x0DE0 (3552)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEE0, 0xFF21, 0xE621, 0x7B42, 0x0840, 0x0000, // 0x0DF0 (3568)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x0000, 0x0841, 0x9492, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0E00 (3584)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xAD55, 0x10A2, 0x0000, 0x0000, // 0x0E10 (3600)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x0000, 0x1880, 0x7B21, 0xD5A1, 0xFF01, 0xFF20, 0xFF00, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, // 0x0E20 (3616)
|
||||||
|
0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFF00, 0xFF20, 0xFF01, 0xD5A1, 0x7321, 0x1880, 0x0000, 0x0000, 0x0000, // 0x0E30 (3632)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x18E3, 0xAD75, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0E40 (3648)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xD69A, 0x4228, 0x0000, // 0x0E50 (3664)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0020, 0x41C1, 0x93E1, 0xD5A1, 0xFEA1, 0xFF01, 0xFF20, 0xFF20, 0xFF20, 0xFF00, // 0x0E60 (3680)
|
||||||
|
0xFF00, 0xFF00, 0xFF20, 0xFF20, 0xFF20, 0xFF01, 0xFEA1, 0xD5A1, 0x93E1, 0x41C1, 0x0020, 0x0000, 0x0000, 0x0020, 0x0000, 0x0000, // 0x0E70 (3696)
|
||||||
|
0x0000, 0x0000, 0x528A, 0xD6BA, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0E80 (3712)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFDF, 0x8C71, // 0x0E90 (3728)
|
||||||
|
0x10A2, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x2901, 0x5221, 0x7B41, 0x9402, 0xAC82, 0xBCE2, // 0x0EA0 (3744)
|
||||||
|
0xC521, 0xBCE2, 0xAC82, 0x9401, 0x7B41, 0x5221, 0x2901, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, // 0x0EB0 (3760)
|
||||||
|
0x18E3, 0x94B2, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0EC0 (3776)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0ED0 (3792)
|
||||||
|
0xD6BA, 0x632C, 0x0841, 0x0000, 0x0000, 0x0000, 0x0000, 0x0020, 0x0020, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, // 0x0EE0 (3808)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0020, 0x0020, 0x0000, 0x0000, 0x0000, 0x0000, 0x10A2, 0x738E, // 0x0EF0 (3824)
|
||||||
|
0xDEFB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0F00 (3840)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0F10 (3856)
|
||||||
|
0xFFFF, 0xFFFF, 0xCE79, 0x6B4D, 0x18C3, 0x0000, 0x0000, 0x0000, 0x0000, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0000, 0x0000, // 0x0F20 (3872)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x0020, 0x0020, 0x0020, 0x0020, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x2104, 0x738E, 0xD69A, 0xFFFF, // 0x0F30 (3888)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0F40 (3904)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0F50 (3920)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xE71C, 0x94B2, 0x4A49, 0x1082, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, // 0x0F60 (3936)
|
||||||
|
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x18C3, 0x4A69, 0x9CD3, 0xE73C, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0F70 (3952)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0F80 (3968)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0F90 (3984)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDEDB, 0xA534, 0x6B6D, 0x4208, 0x2104, 0x18C3, 0x0861, 0x0841, 0x0000, // 0x0FA0 (4000)
|
||||||
|
0x0000, 0x0000, 0x0841, 0x0861, 0x18C3, 0x2124, 0x4228, 0x6B6D, 0xA534, 0xDEDB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0FB0 (4016)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0FC0 (4032)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0FD0 (4048)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDEDB, 0xB5B6, 0x9492, 0x6B6D, 0x4A49, // 0x0FE0 (4064)
|
||||||
|
0x4228, 0x4A49, 0x6B6D, 0x8C51, 0xAD75, 0xDEDB, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0FF0 (4080)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x1000 (4096)
|
||||||
|
};
|
|
@ -0,0 +1,53 @@
|
||||||
|
// UTFT_Textrotation_Demo
|
||||||
|
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
|
||||||
|
// web: http://www.RinkyDinkElectronics.com/
|
||||||
|
//
|
||||||
|
// This program is a demo of the textrotation-functions.
|
||||||
|
//
|
||||||
|
// This demo was made for modules with a screen resolution
|
||||||
|
// of 320x240 pixels.
|
||||||
|
//
|
||||||
|
// This program requires the UTFT library.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include <UTFT.h>
|
||||||
|
|
||||||
|
// Declare which fonts we will be using
|
||||||
|
extern uint8_t BigFont[];
|
||||||
|
extern uint8_t SevenSegNumFont[];
|
||||||
|
|
||||||
|
// Set the pins to the correct ones for your development shield
|
||||||
|
// ------------------------------------------------------------
|
||||||
|
// Standard Arduino Mega/Due shield : <display model>,38,39,40,41
|
||||||
|
// CTE TFT LCD/SD Shield for Arduino Due : <display model>,25,26,27,28
|
||||||
|
// Teensy 3.x TFT Test Board : <display model>,23,22, 3, 4
|
||||||
|
// ElecHouse TFT LCD/SD Shield for Arduino Due : <display model>,22,23,31,33
|
||||||
|
//
|
||||||
|
// Remember to change the model parameter to suit your display module!
|
||||||
|
UTFT myGLCD(ITDB32S,38,39,40,41);
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
myGLCD.InitLCD();
|
||||||
|
myGLCD.clrScr();
|
||||||
|
myGLCD.setFont(BigFont);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
myGLCD.print("Text rotation", 0, 0);
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.print("0 degrees", 0, 16, 0);
|
||||||
|
myGLCD.print("90 degrees", 319, 0, 90);
|
||||||
|
myGLCD.print("180 degrees", 319, 239, 180);
|
||||||
|
myGLCD.print("270 degrees", 0, 239, 270);
|
||||||
|
|
||||||
|
myGLCD.setFont(SevenSegNumFont);
|
||||||
|
myGLCD.setColor(0, 255, 0);
|
||||||
|
myGLCD.print("45", 90, 100, 45);
|
||||||
|
myGLCD.print("90", 200, 50, 90);
|
||||||
|
myGLCD.print("180", 300, 200, 180);
|
||||||
|
|
||||||
|
while (true) {};
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,60 @@
|
||||||
|
// UTFT_ViewFont
|
||||||
|
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
|
||||||
|
// web: http://www.RinkyDinkElectronics.com/
|
||||||
|
//
|
||||||
|
// This program is a demo of the included fonts.
|
||||||
|
//
|
||||||
|
// This demo was made for modules with a screen resolution
|
||||||
|
// of 320x240 pixels.
|
||||||
|
//
|
||||||
|
// This program requires the UTFT library.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include <UTFT.h>
|
||||||
|
|
||||||
|
// Declare which fonts we will be using
|
||||||
|
extern uint8_t SmallFont[];
|
||||||
|
extern uint8_t BigFont[];
|
||||||
|
extern uint8_t SevenSegNumFont[];
|
||||||
|
|
||||||
|
// Set the pins to the correct ones for your development shield
|
||||||
|
// ------------------------------------------------------------
|
||||||
|
// Standard Arduino Mega/Due shield : <display model>,38,39,40,41
|
||||||
|
// CTE TFT LCD/SD Shield for Arduino Due : <display model>,25,26,27,28
|
||||||
|
// Teensy 3.x TFT Test Board : <display model>,23,22, 3, 4
|
||||||
|
// ElecHouse TFT LCD/SD Shield for Arduino Due : <display model>,22,23,31,33
|
||||||
|
//
|
||||||
|
// Remember to change the model parameter to suit your display module!
|
||||||
|
UTFT myGLCD(ITDB32S,38,39,40,41);
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
myGLCD.InitLCD();
|
||||||
|
|
||||||
|
myGLCD.clrScr();
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
myGLCD.setColor(0, 255, 0);
|
||||||
|
myGLCD.setBackColor(0, 0, 0);
|
||||||
|
|
||||||
|
myGLCD.setFont(BigFont);
|
||||||
|
myGLCD.print(" !\"#$%&'()*+,-./", CENTER, 0);
|
||||||
|
myGLCD.print("0123456789:;<=>?", CENTER, 16);
|
||||||
|
myGLCD.print("@ABCDEFGHIJKLMNO", CENTER, 32);
|
||||||
|
myGLCD.print("PQRSTUVWXYZ[\\]^_", CENTER, 48);
|
||||||
|
myGLCD.print("`abcdefghijklmno", CENTER, 64);
|
||||||
|
myGLCD.print("pqrstuvwxyz{|}~ ", CENTER, 80);
|
||||||
|
|
||||||
|
myGLCD.setFont(SmallFont);
|
||||||
|
myGLCD.print(" !\"#$%&'()*+,-./0123456789:;<=>?", CENTER, 120);
|
||||||
|
myGLCD.print("@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_", CENTER, 132);
|
||||||
|
myGLCD.print("`abcdefghijklmnopqrstuvwxyz{|}~ ", CENTER, 144);
|
||||||
|
|
||||||
|
myGLCD.setFont(SevenSegNumFont);
|
||||||
|
myGLCD.print("0123456789", CENTER, 190);
|
||||||
|
|
||||||
|
while(1) {};
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,72 @@
|
||||||
|
// UTFT_Bitmap
|
||||||
|
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
|
||||||
|
// web: http://www.RinkyDinkElectronics.com/
|
||||||
|
//
|
||||||
|
// This program is a demo of the drawBitmap()-function.
|
||||||
|
//
|
||||||
|
// This demo was made to work on the 320x240 modules.
|
||||||
|
// Any other size displays may cause strange behaviour.
|
||||||
|
//
|
||||||
|
// This program requires the UTFT library.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include <UTFT.h>
|
||||||
|
#include <avr/pgmspace.h>
|
||||||
|
|
||||||
|
// Declare which fonts we will be using
|
||||||
|
extern uint8_t SmallFont[];
|
||||||
|
|
||||||
|
// Set the pins to the correct ones for your development shield
|
||||||
|
// ------------------------------------------------------------
|
||||||
|
// Arduino Uno / 2009:
|
||||||
|
// -------------------
|
||||||
|
// Standard Arduino Uno/2009 shield : <display model>,A5,A4,A3,A2
|
||||||
|
// DisplayModule Arduino Uno TFT shield : <display model>,A5,A4,A3,A2
|
||||||
|
//
|
||||||
|
// Arduino Mega:
|
||||||
|
// -------------------
|
||||||
|
// Standard Arduino Mega/Due shield : <display model>,38,39,40,41
|
||||||
|
// CTE TFT LCD/SD Shield for Arduino Mega : <display model>,38,39,40,41
|
||||||
|
//
|
||||||
|
// Remember to change the model parameter to suit your display module!
|
||||||
|
UTFT myGLCD(ITDB32S,A5,A4,A3,A2);
|
||||||
|
|
||||||
|
extern unsigned int info[0x400];
|
||||||
|
extern unsigned int icon[0x400];
|
||||||
|
extern unsigned int tux[0x400];
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
myGLCD.InitLCD();
|
||||||
|
myGLCD.setFont(SmallFont);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
myGLCD.fillScr(255, 255, 255);
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.print(" *** A 10 by 7 grid of a 32x32 icon *** ", CENTER, 228);
|
||||||
|
for (int x=0; x<10; x++)
|
||||||
|
for (int y=0; y<7; y++)
|
||||||
|
myGLCD.drawBitmap (x*32, y*32, 32, 32, info);
|
||||||
|
|
||||||
|
delay(5000);
|
||||||
|
|
||||||
|
myGLCD.fillScr(255, 255, 255);
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.print(" Two different icons in scale 1 to 4 ", CENTER, 228);
|
||||||
|
int x=0;
|
||||||
|
for (int s=0; s<4; s++)
|
||||||
|
{
|
||||||
|
x+=(s*32);
|
||||||
|
myGLCD.drawBitmap (x, 0, 32, 32, tux, s+1);
|
||||||
|
}
|
||||||
|
x=0;
|
||||||
|
for (int s=4; s>0; s--)
|
||||||
|
{
|
||||||
|
myGLCD.drawBitmap (x, 224-(s*32), 32, 32, icon, s);
|
||||||
|
x+=(s*32);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(5000);
|
||||||
|
}
|
|
@ -0,0 +1,73 @@
|
||||||
|
// Generated by : ImageConverter 565 v1.0
|
||||||
|
// Generated from: taskmgr.png
|
||||||
|
// Time generated: 11.10.2010 22:51:23
|
||||||
|
// Size : 2 048 Bytes
|
||||||
|
|
||||||
|
#include <avr/pgmspace.h>
|
||||||
|
|
||||||
|
const unsigned short icon[0x400] PROGMEM ={
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF7D, 0xCE79, 0xBDD7, 0xAD75, // 0x0010 (16)
|
||||||
|
0xAD55, 0xAD75, 0xBDF7, 0xD6BA, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0020 (32)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xC638, 0x9492, 0x8C51, 0x9492, 0xA514, 0xA534, // 0x0030 (48)
|
||||||
|
0xA534, 0xA534, 0x9CF3, 0x8C71, 0x8430, 0x9CD3, 0xD69A, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0040 (64)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xCE59, 0x8410, 0x9492, 0xB5B6, 0xC618, 0xBDD7, 0xAD75, 0xA514, // 0x0050 (80)
|
||||||
|
0xA514, 0xA4F4, 0xAD55, 0xB5B6, 0xBDD7, 0xAD55, 0x8430, 0x8C71, 0xDEFB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0060 (96)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0x9CD3, 0x8430, 0xBDF7, 0xC618, 0xAD75, 0x94F2, 0x8CF1, 0x84B0, 0x8CD1, // 0x0070 (112)
|
||||||
|
0x9612, 0x8CB1, 0x7C6F, 0x7C8F, 0x8490, 0xA533, 0xBDF7, 0xB596, 0x7BEF, 0xB596, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0080 (128)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, 0x8430, 0x9CF3, 0xCE39, 0xA514, 0x94B2, 0x9E93, 0x94F2, 0x8CD1, 0x8CB1, 0x9D12, // 0x0090 (144)
|
||||||
|
0x9F74, 0x9D52, 0x8450, 0x7C8F, 0x73AE, 0x740E, 0x73CE, 0x9CD3, 0xC638, 0x8C51, 0x9CD3, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00A0 (160)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0x8430, 0xA534, 0xBDF7, 0x8CB1, 0x8C31, 0x9DB3, 0xA735, 0x9D13, 0x8CB1, 0x8C71, 0x9D13, // 0x00B0 (176)
|
||||||
|
0xB756, 0xA5D4, 0x8C71, 0x8490, 0x8390, 0x7C70, 0x73EE, 0x6B4D, 0x8450, 0xBDF7, 0x8C71, 0x9CF3, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00C0 (192)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x94B2, 0x9CF3, 0xBDD7, 0x8490, 0x8CF1, 0x9D72, 0xA694, 0xAE94, 0x9DD3, 0xA593, 0xA553, 0x9592, // 0x00D0 (208)
|
||||||
|
0x9672, 0x75CE, 0x5BAA, 0x64EB, 0x5D8C, 0x5BCA, 0x4B69, 0x634C, 0x748D, 0x7C4F, 0xBE18, 0x8430, 0xB5B6, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00E0 (224)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xC618, 0x8410, 0xBDF7, 0x8410, 0x83F0, 0x94F2, 0x9613, 0x9D13, 0xAE55, 0x9D12, 0x750E, 0x55CB, 0x4BC8, // 0x00F0 (240)
|
||||||
|
0x4447, 0x3BC6, 0x4B67, 0x44E8, 0x3CE8, 0x3325, 0x20E2, 0x2B45, 0x43E7, 0x3946, 0x732D, 0xC5F8, 0x7BCF, 0xE71C, 0xFFFF, 0xFFFF, // 0x0100 (256)
|
||||||
|
0xFFFF, 0xFFFF, 0xF7BE, 0x7BEF, 0xBDB6, 0x9533, 0x8D71, 0x9552, 0x9E73, 0x9DD3, 0x94B2, 0x6D6D, 0x4BA8, 0x44A8, 0x55EA, 0x5D2A, // 0x0110 (272)
|
||||||
|
0x43E7, 0x4327, 0x46CA, 0x4B87, 0x42C6, 0x4E0A, 0x4D09, 0x4468, 0x4548, 0x3386, 0x2B25, 0x7C6F, 0xAD35, 0x9492, 0xFFFF, 0xFFFF, // 0x0120 (288)
|
||||||
|
0xFFDF, 0xFFFF, 0xBDD7, 0x8C71, 0xAD75, 0x8CF0, 0x8D71, 0x8D51, 0x9DF3, 0x740E, 0x21C4, 0x33E5, 0x558A, 0x554A, 0x650A, 0x566B, // 0x0130 (304)
|
||||||
|
0x43E7, 0x21C3, 0x3345, 0x2283, 0x1962, 0x3C87, 0x3386, 0x2163, 0x3345, 0x3346, 0x33A6, 0x32C6, 0x9CB3, 0x7BEF, 0xDEDB, 0xFFFF, // 0x0140 (320)
|
||||||
|
0xFFFF, 0xFFFF, 0x8430, 0xAD75, 0x8C31, 0x7C0F, 0x7BCF, 0x83F0, 0x636B, 0x0000, 0x0000, 0x4387, 0x462A, 0x4B27, 0x4B88, 0x4E8B, // 0x0150 (336)
|
||||||
|
0x42E6, 0x0000, 0x0020, 0x0100, 0x0000, 0x1121, 0x0040, 0x0000, 0x0941, 0x0000, 0x0020, 0x00E0, 0x5AAB, 0x94B2, 0x9CD3, 0xFFFF, // 0x0160 (352)
|
||||||
|
0xFFFF, 0xE71C, 0x8410, 0xB596, 0x7BEF, 0x7C6F, 0x84B0, 0x5B6B, 0x09E1, 0x0901, 0x1161, 0x3C06, 0x3D89, 0x32C5, 0x43E7, 0x470B, // 0x0170 (368)
|
||||||
|
0x4BC7, 0x0961, 0x11E2, 0x1282, 0x0961, 0x1262, 0x09E2, 0x0961, 0x12A2, 0x0961, 0x09C2, 0x0A01, 0x29E5, 0xA514, 0x7BEF, 0xFFDF, // 0x0180 (384)
|
||||||
|
0xFFFF, 0xBDD7, 0x9472, 0xA514, 0x6B4D, 0x7C6F, 0x634C, 0x0040, 0x0981, 0x0060, 0x00E0, 0x11E2, 0x10A1, 0x09C1, 0x19E3, 0x2B25, // 0x0190 (400)
|
||||||
|
0x22A3, 0x0060, 0x0120, 0x09E1, 0x0060, 0x09E1, 0x0120, 0x0060, 0x0A21, 0x0060, 0x0100, 0x01A0, 0x0040, 0x9CD3, 0x7BEF, 0xDEDB, // 0x01A0 (416)
|
||||||
|
0xFFFF, 0xA514, 0x9CF3, 0xB596, 0x73AE, 0x7C0F, 0x2945, 0x10A2, 0x2184, 0x18C3, 0x1923, 0x2184, 0x18C3, 0x21A4, 0x2964, 0x2905, // 0x01B0 (432)
|
||||||
|
0x2A25, 0x2104, 0x2965, 0x2A05, 0x2104, 0x2A05, 0x2985, 0x2104, 0x2A25, 0x2104, 0x2164, 0x29C4, 0x3166, 0xB5B6, 0x8410, 0xC618, // 0x01C0 (448)
|
||||||
|
0xFFFF, 0x9492, 0xA514, 0xDEDB, 0xC618, 0xA514, 0x8C51, 0x94B2, 0x9CB3, 0x9CF3, 0xA514, 0xA534, 0xAD75, 0xAD75, 0xB596, 0xB5D6, // 0x01D0 (464)
|
||||||
|
0xBDB7, 0xBDF7, 0xBDF7, 0xBDF7, 0xC618, 0xC5F8, 0xC5F8, 0xBDF7, 0xBDD7, 0xBDD7, 0xB5B6, 0xB596, 0xC638, 0xDEFB, 0x8430, 0xB596, // 0x01E0 (480)
|
||||||
|
0xFFFF, 0x8C51, 0x9CF3, 0xE73C, 0xDEFB, 0xD69A, 0xD6BA, 0xD6BA, 0xDEDB, 0xDEDB, 0xDEFB, 0xDF1B, 0xE71C, 0xE73C, 0xE73C, 0xE73C, // 0x01F0 (496)
|
||||||
|
0xEF5D, 0xEF5D, 0xEF5D, 0xEF7D, 0xEF7D, 0xEF7D, 0xEF7D, 0xEF5D, 0xEF5D, 0xEF5D, 0xE73C, 0xE73C, 0xDEFB, 0xE71C, 0x8C51, 0xAD75, // 0x0200 (512)
|
||||||
|
0xFFFF, 0x8C71, 0x9CD3, 0xDEFB, 0xAD75, 0x9492, 0x9CD3, 0xA4F3, 0xA514, 0xAD55, 0xAD75, 0xB596, 0xBDB6, 0xBDD7, 0xC5F7, 0xC618, // 0x0210 (528)
|
||||||
|
0xC638, 0xCE59, 0xCE59, 0xCE79, 0xD679, 0xD679, 0xCE79, 0xCE59, 0xCE59, 0xC638, 0xC618, 0xBDF7, 0xCE79, 0xE71C, 0x8C51, 0xB596, // 0x0220 (544)
|
||||||
|
0xFFFF, 0x9CD3, 0x9492, 0xAD55, 0x2965, 0x2104, 0x2124, 0x2145, 0x1945, 0x2165, 0x2165, 0x2186, 0x2186, 0x29A6, 0x29A6, 0x31C7, // 0x0230 (560)
|
||||||
|
0x39C7, 0x31E7, 0x31E7, 0x31E7, 0x3208, 0x3208, 0x31E7, 0x31E7, 0x29E7, 0x31C7, 0x39C7, 0x31A6, 0x4A49, 0xBDF7, 0x8C51, 0xBDF7, // 0x0240 (576)
|
||||||
|
0xFFFF, 0xB5B6, 0x8430, 0x7BEF, 0x0000, 0x0000, 0x0000, 0x2000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3000, 0x3800, 0x2000, // 0x0250 (592)
|
||||||
|
0x0000, 0x3000, 0x3800, 0x3000, 0x3800, 0x3800, 0x3800, 0x3000, 0x3800, 0x0800, 0x0000, 0x0000, 0x0000, 0xA514, 0x8430, 0xD6BA, // 0x0260 (608)
|
||||||
|
0xFFFF, 0xDEDB, 0x7BCF, 0x8430, 0x0020, 0x0000, 0x0000, 0x8000, 0xC800, 0xC000, 0xC800, 0xC820, 0xC820, 0xC820, 0xD020, 0x9800, // 0x0270 (624)
|
||||||
|
0x0000, 0xB820, 0xD020, 0xD020, 0xD020, 0xD020, 0xD020, 0xC820, 0xD020, 0x4800, 0x0000, 0x0000, 0x2144, 0xAD75, 0x8410, 0xF7BE, // 0x0280 (640)
|
||||||
|
0xFFFF, 0xFFFF, 0x7BEF, 0x8C71, 0x2945, 0x0000, 0x0000, 0x6800, 0xA800, 0xA800, 0xA800, 0xA800, 0xA800, 0xA800, 0xB000, 0x8000, // 0x0290 (656)
|
||||||
|
0x0000, 0x9800, 0xB000, 0xB000, 0xB000, 0xB000, 0xB000, 0xB000, 0xB000, 0x4000, 0x0000, 0x0000, 0x632C, 0xA534, 0x94B2, 0xFFFF, // 0x02A0 (672)
|
||||||
|
0xFFDF, 0xFFFF, 0xAD75, 0x73AE, 0x632C, 0x0000, 0x0000, 0x6920, 0xA9E0, 0xA1C0, 0xA9E0, 0xA9E0, 0xA9E0, 0xA9E0, 0xA9E0, 0x7960, // 0x02B0 (688)
|
||||||
|
0x0000, 0x99C0, 0xB200, 0xA9E0, 0xB200, 0xB200, 0xB1E0, 0xA9E0, 0xB200, 0x40C0, 0x0000, 0x1082, 0xAD75, 0x8410, 0xD69A, 0xFFFF, // 0x02C0 (704)
|
||||||
|
0xFFFF, 0xFFFF, 0xF79E, 0x630C, 0x8C51, 0x2965, 0x0000, 0x7400, 0xB620, 0xAE00, 0xB620, 0xB640, 0xB640, 0xB620, 0xB660, 0x84A0, // 0x02D0 (720)
|
||||||
|
0x0000, 0xA5A0, 0xBE60, 0xB660, 0xBE60, 0xBE60, 0xB660, 0xB640, 0xBE80, 0x4260, 0x0000, 0x6B6D, 0xAD75, 0x8430, 0xFFFF, 0xFFFF, // 0x02E0 (736)
|
||||||
|
0xFFFF, 0xFFDF, 0xFFFF, 0xB5B6, 0x632C, 0x8410, 0x0021, 0x7360, 0xBD40, 0xB520, 0xBD40, 0xBD60, 0xBD60, 0xBD40, 0xC580, 0x8C00, // 0x02F0 (752)
|
||||||
|
0x0000, 0xACE0, 0xC580, 0xC580, 0xC580, 0xC580, 0xC580, 0xBD60, 0xC5A0, 0x39C0, 0x2126, 0xBDF7, 0x73AE, 0xD6BA, 0xFFFF, 0xFFFF, // 0x0300 (768)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x7BEF, 0x7BEF, 0x630D, 0x4AE1, 0x6D21, 0x6D01, 0x6D21, 0x6D41, 0x6D41, 0x6D41, 0x6D61, 0x53E1, // 0x0310 (784)
|
||||||
|
0x0000, 0x64C1, 0x7562, 0x6D62, 0x6D62, 0x6D62, 0x6D62, 0x6D42, 0x6D41, 0x4263, 0xA515, 0x8C51, 0xA534, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0320 (800)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF79E, 0x6B4D, 0x8410, 0x636E, 0x04A6, 0x05E5, 0x05C5, 0x0585, 0x0585, 0x0586, 0x05A6, 0x0424, // 0x0330 (816)
|
||||||
|
0x0000, 0x0505, 0x05C6, 0x05A6, 0x05A6, 0x05C7, 0x0606, 0x0606, 0x1CE9, 0xA535, 0x9492, 0x8C71, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0340 (832)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF7D, 0x6B4D, 0x83EF, 0x9411, 0x3A47, 0x0403, 0x0584, 0x05A4, 0x0585, 0x0585, 0x0404, // 0x0350 (848)
|
||||||
|
0x0000, 0x04E5, 0x05A5, 0x05A5, 0x05C5, 0x0584, 0x1405, 0x634B, 0xBD76, 0x8C51, 0x8C51, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0360 (864)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, 0x8410, 0x6B6D, 0x9CB3, 0x7C6F, 0x3CA9, 0x0BE4, 0x0443, 0x0504, 0x03C2, // 0x0370 (880)
|
||||||
|
0x0000, 0x0483, 0x0504, 0x0444, 0x1426, 0x552D, 0xA554, 0xB576, 0x73CE, 0x9CF3, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0380 (896)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xB5B6, 0x6B4D, 0x7BAF, 0x9432, 0x8BD1, 0x6BCE, 0x4C6B, 0x3C09, // 0x0390 (912)
|
||||||
|
0x3186, 0x3C8A, 0x5C8C, 0x8430, 0xA493, 0xACD4, 0x8410, 0x7BEF, 0xCE79, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03A0 (928)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, 0xAD75, 0x7BEF, 0x73AE, 0x83F0, 0x8C11, 0x9431, // 0x03B0 (944)
|
||||||
|
0x9492, 0x9452, 0x9432, 0x8430, 0x7BEF, 0x8450, 0xBDF7, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03C0 (960)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDEFB, 0xBDD7, 0xA534, 0x94D3, // 0x03D0 (976)
|
||||||
|
0x94B2, 0x9CF3, 0xA554, 0xC618, 0xE73C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03E0 (992)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03F0 (1008)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0400 (1024)
|
||||||
|
};
|
|
@ -0,0 +1,73 @@
|
||||||
|
// Generated by : ImageConverter 565 v1.0
|
||||||
|
// Generated from: info.png
|
||||||
|
// Time generated: 11.10.2010 22:27:55
|
||||||
|
// Size : 2 048 Bytes
|
||||||
|
|
||||||
|
#include <avr/pgmspace.h>
|
||||||
|
|
||||||
|
const unsigned short info[0x400] PROGMEM ={
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0010 (16)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0020 (32)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF9F, 0xC69D, 0x95BB, 0x7D1A, 0x6CB9, // 0x0030 (48)
|
||||||
|
0x6499, 0x74F9, 0x8D7A, 0xB63C, 0xE73E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0040 (64)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xAE1C, 0x4C18, 0x2B56, 0x3397, 0x4C38, 0x64B9, 0x751A, // 0x0050 (80)
|
||||||
|
0x7D3A, 0x6CD9, 0x5458, 0x3BD7, 0x2B56, 0x3BB7, 0x855A, 0xE77E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0060 (96)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xA5FB, 0x2B56, 0x2B77, 0x751A, 0xB67C, 0xD73E, 0xE75E, 0xE77E, 0xE77E, // 0x0070 (112)
|
||||||
|
0xE77E, 0xE77E, 0xE75E, 0xDF3E, 0xC6DD, 0x8D9B, 0x43D7, 0x1B16, 0x74D9, 0xF7BF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0080 (128)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF9F, 0x4C18, 0x1AF6, 0x855A, 0xCEFE, 0xD71E, 0xCEFD, 0xC6DD, 0xC6BD, 0xC6BD, 0xBEBD, // 0x0090 (144)
|
||||||
|
0xC6BD, 0xBEBD, 0xC6BD, 0xC6DD, 0xC6DD, 0xD71E, 0xD71E, 0xA61C, 0x33B7, 0x2316, 0xBE7C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00A0 (160)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDF3E, 0x2336, 0x3BD7, 0xBE9D, 0xC6DD, 0xBE9D, 0xBE9D, 0xBE9D, 0xBEBD, 0xBE9D, 0xCEFD, 0xEF9F, // 0x00B0 (176)
|
||||||
|
0xEF9F, 0xD73E, 0xBE9D, 0xBEBD, 0xBE9D, 0xBE9D, 0xB69D, 0xC6BD, 0xCEDD, 0x6CFA, 0x0295, 0x9DBB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00C0 (192)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xE75E, 0x1AF6, 0x4C58, 0xBEBD, 0xB67D, 0xAE5C, 0xB67D, 0xB67D, 0xB69D, 0xB67D, 0xBEBD, 0xF7DF, 0xFFFF, // 0x00D0 (208)
|
||||||
|
0xFFFF, 0xFFFF, 0xCF1E, 0xB67D, 0xB67D, 0xB67D, 0xB67D, 0xAE5C, 0xAE5C, 0xC6BD, 0x857B, 0x0295, 0xA5DB, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00E0 (224)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFDF, 0x3BB7, 0x33D8, 0xB67D, 0xA63C, 0xA63C, 0xAE5C, 0xAE5D, 0xAE5D, 0xAE7D, 0xA65D, 0xC6DD, 0xFFFF, 0xFFFF, // 0x00F0 (240)
|
||||||
|
0xFFDF, 0xFFFF, 0xDF5E, 0xA65D, 0xAE7D, 0xAE5D, 0xAE5D, 0xAE5C, 0xA63C, 0xA61C, 0xB67D, 0x753A, 0x0295, 0xCEBC, 0xFFFF, 0xFFFF, // 0x0100 (256)
|
||||||
|
0xF7DF, 0xFFFF, 0x957A, 0x12F6, 0x9E1C, 0x9E1C, 0x9E1C, 0x9E1C, 0xA63C, 0xA63C, 0xA63D, 0xA63D, 0xA65D, 0x9DFC, 0xDF3E, 0xFFFF, // 0x0110 (272)
|
||||||
|
0xFFFF, 0xFFDF, 0xA61C, 0xA65D, 0xA65D, 0xA63D, 0xA63C, 0xA63C, 0x9E1C, 0x9E1C, 0x9DFC, 0xAE3C, 0x3C18, 0x3396, 0xFFDF, 0xFFFF, // 0x0120 (288)
|
||||||
|
0xFFFF, 0xF79F, 0x2336, 0x64DA, 0x9DFC, 0x95DC, 0x95FC, 0x95FC, 0x9E1C, 0x9E1C, 0x9E3D, 0x9E3D, 0x9E3D, 0x9E3D, 0x7D3B, 0xA63C, // 0x0130 (304)
|
||||||
|
0xB6BD, 0x8DBB, 0x8DFC, 0xA65D, 0x9E3D, 0x9E3D, 0x9E1C, 0x9E1C, 0x95FC, 0x95FC, 0x95DC, 0x95DC, 0x8DBB, 0x0AF6, 0xA5DA, 0xFFFF, // 0x0140 (320)
|
||||||
|
0xFFFF, 0xA5FB, 0x1337, 0x8DBB, 0x8DBB, 0x8DBC, 0x8DDC, 0x95FC, 0x95FC, 0x961C, 0x961D, 0x963D, 0x9E3D, 0x963D, 0xA67D, 0xB6BD, // 0x0150 (336)
|
||||||
|
0xB6BD, 0xAE7D, 0x9E3D, 0x9E3D, 0x961D, 0x961D, 0x961C, 0x95FC, 0x95FC, 0x8DDC, 0x8DDC, 0x859B, 0x95DC, 0x3C18, 0x4BD7, 0xFFFF, // 0x0160 (352)
|
||||||
|
0xFFFF, 0x6499, 0x33F8, 0x8DBB, 0x859B, 0x85BC, 0x85BC, 0x8DDC, 0x8DFC, 0x8DFD, 0x8E1D, 0x961D, 0x961D, 0x9E3D, 0xF7BF, 0xFFFF, // 0x0170 (368)
|
||||||
|
0xFFFF, 0xFFFF, 0xA67D, 0x8E1D, 0x961D, 0x8E1D, 0x8DFD, 0x8DFC, 0x8DDC, 0x85BC, 0x85BC, 0x859B, 0x859B, 0x5CDA, 0x2336, 0xE71C, // 0x0180 (384)
|
||||||
|
0xFFFF, 0x43F8, 0x4C79, 0x859B, 0x7D7B, 0x7D9C, 0x85BC, 0x85DC, 0x85DC, 0x8DFD, 0x8DFD, 0x8E1D, 0x8E1D, 0xA67E, 0xFFFF, 0xFFFF, // 0x0190 (400)
|
||||||
|
0xFFFF, 0xFFFF, 0xBEDE, 0x85FD, 0x8E1D, 0x8DFD, 0x8DFD, 0x85DC, 0x85DC, 0x85BC, 0x7D9C, 0x7D7B, 0x7D7B, 0x753B, 0x1B36, 0xBE5A, // 0x01A0 (416)
|
||||||
|
0xFFBE, 0x3BF8, 0x3419, 0x6D1B, 0x757B, 0x7D9C, 0x7D9C, 0x7DBC, 0x7DDD, 0x85FD, 0x85FD, 0x861D, 0x861D, 0x9E7E, 0xFFFF, 0xFFFF, // 0x01B0 (432)
|
||||||
|
0xFFFF, 0xFFFF, 0xB6DE, 0x85FD, 0x8E1D, 0x85FD, 0x85FD, 0x7DDD, 0x7DBC, 0x7D9C, 0x7D9C, 0x757B, 0x6D3B, 0x4C9A, 0x1337, 0xADD9, // 0x01C0 (448)
|
||||||
|
0xFFBE, 0x4418, 0x23B9, 0x3439, 0x4CBA, 0x653B, 0x759C, 0x7DBD, 0x7DDD, 0x7DFD, 0x861D, 0x861E, 0x861E, 0x9E7E, 0xFFFF, 0xFFFF, // 0x01D0 (464)
|
||||||
|
0xFFFF, 0xFFFF, 0xB6DE, 0x7E1E, 0x861E, 0x85FD, 0x7DFD, 0x7DDD, 0x7DBD, 0x759C, 0x653B, 0x4CDB, 0x3439, 0x2BF9, 0x1337, 0xA5B9, // 0x01E0 (480)
|
||||||
|
0xFF9E, 0x4C39, 0x2BF9, 0x345A, 0x3C7A, 0x3C9B, 0x4CFC, 0x5D5C, 0x659D, 0x75DD, 0x7DFE, 0x861E, 0x7E3E, 0x969F, 0xFFFF, 0xFFFF, // 0x01F0 (496)
|
||||||
|
0xFFFF, 0xFFFF, 0xB6FF, 0x7E1E, 0x863E, 0x7DFE, 0x75DD, 0x6D9D, 0x5D5C, 0x4CFC, 0x3C9B, 0x347A, 0x345A, 0x343A, 0x1B78, 0xA5B9, // 0x0200 (512)
|
||||||
|
0xF79E, 0x4418, 0x2C3A, 0x3C7A, 0x449B, 0x44DB, 0x4CFC, 0x4D3C, 0x555D, 0x5D7D, 0x65BE, 0x6DFE, 0x6DFF, 0x867F, 0xFFFF, 0xFFFF, // 0x0210 (528)
|
||||||
|
0xFFFF, 0xFFFF, 0xA6DF, 0x65FF, 0x6DFE, 0x65BE, 0x5D9E, 0x555D, 0x4D3C, 0x4CFC, 0x44DB, 0x44BB, 0x3C7A, 0x345A, 0x1B78, 0xA599, // 0x0220 (544)
|
||||||
|
0xFFDE, 0x43D8, 0x345A, 0x3C9A, 0x44DB, 0x4CFC, 0x4D3C, 0x555D, 0x5D9D, 0x5DBE, 0x65DE, 0x6DFF, 0x661F, 0x867F, 0xFFFF, 0xFFFF, // 0x0230 (560)
|
||||||
|
0xFFFF, 0xFFFF, 0xA6DF, 0x65FF, 0x6DFF, 0x65DE, 0x5DBE, 0x5D9D, 0x555D, 0x4D3C, 0x4CFC, 0x44DB, 0x3C7A, 0x3C9B, 0x1B57, 0xADB9, // 0x0240 (576)
|
||||||
|
0xFFFF, 0x4BD7, 0x2C1A, 0x44DB, 0x44DB, 0x4D1C, 0x555D, 0x5D7D, 0x5DBE, 0x65DE, 0x6E1F, 0x6E3F, 0x765F, 0x96BF, 0xFFFF, 0xFFFF, // 0x0250 (592)
|
||||||
|
0xFFFF, 0xFFFF, 0xAEFF, 0x6E3F, 0x763F, 0x6E1F, 0x65DE, 0x5DBE, 0x5D7D, 0x555D, 0x4D1C, 0x44DC, 0x3C9B, 0x44DC, 0x1AD5, 0xC639, // 0x0260 (608)
|
||||||
|
0xFFFF, 0x84D8, 0x1317, 0x5D7D, 0x44DB, 0x553C, 0x557D, 0x5D9E, 0x65DE, 0x65FF, 0x6E3F, 0x7E5F, 0x7E7F, 0x9EDF, 0xFFFF, 0xFFFF, // 0x0270 (624)
|
||||||
|
0xFFFF, 0xFFFF, 0xB73F, 0x7E7F, 0x7E5F, 0x6E3F, 0x65FF, 0x65DE, 0x5D9E, 0x557D, 0x553C, 0x44DC, 0x4D1C, 0x345B, 0x22B4, 0xE71B, // 0x0280 (640)
|
||||||
|
0xFFFF, 0xD6BC, 0x0234, 0x4CFC, 0x5D7D, 0x4D3C, 0x5D9D, 0x5DBE, 0x65FF, 0x6E3F, 0x765F, 0x867F, 0x8EBF, 0xA6DF, 0xFFFF, 0xFFFF, // 0x0290 (656)
|
||||||
|
0xFFFF, 0xFFFF, 0xB71F, 0x8EBF, 0x869F, 0x765F, 0x6E3F, 0x65FF, 0x5DBE, 0x5D7D, 0x553D, 0x4D1C, 0x65BE, 0x0AB7, 0x6C15, 0xFFBE, // 0x02A0 (672)
|
||||||
|
0xFFFF, 0xFFFF, 0x53B6, 0x0296, 0x75FE, 0x5D9D, 0x557D, 0x65DE, 0x6E1F, 0x763F, 0x7E7F, 0x8EBF, 0x9EFF, 0x96BE, 0xAE3C, 0xE77E, // 0x02B0 (688)
|
||||||
|
0xEF9E, 0xC69D, 0x967E, 0x9EFF, 0x8EBF, 0x7E7F, 0x763F, 0x6E1F, 0x65DE, 0x5D9E, 0x555D, 0x761E, 0x341A, 0x1294, 0xBE18, 0xFFFF, // 0x02C0 (704)
|
||||||
|
0xFFFF, 0xFFFF, 0xCE9B, 0x0A13, 0x2378, 0x7E5F, 0x6E1E, 0x5DBE, 0x6E1F, 0x7E5F, 0x869F, 0x96DF, 0x9EFF, 0xAF5F, 0x9E9E, 0x8DFC, // 0x02D0 (720)
|
||||||
|
0x8E1C, 0x967D, 0xAF3F, 0xA6FF, 0x96DF, 0x869F, 0x7E5F, 0x6E1F, 0x5DBE, 0x65DE, 0x7E5F, 0x4CBB, 0x0AB5, 0x7454, 0xEF5C, 0xFFFF, // 0x02E0 (736)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0x8D17, 0x01D3, 0x23B9, 0x7E3E, 0x8E9F, 0x763F, 0x765F, 0x8E9F, 0x9EDF, 0xA71F, 0xB75F, 0xC7BF, 0xCFDF, // 0x02F0 (752)
|
||||||
|
0xCFDF, 0xC7BF, 0xB75F, 0xA71F, 0x9EDF, 0x8E9F, 0x765F, 0x6E1F, 0x867F, 0x8E7F, 0x4CBB, 0x1317, 0x4BB4, 0xD679, 0xFFFF, 0xFFFF, // 0x0300 (768)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFBD, 0x7476, 0x0214, 0x1B78, 0x659D, 0x9EDF, 0x9EFF, 0x96DF, 0x9EFF, 0xAF1F, 0xB75F, 0xC79F, 0xD7DF, // 0x0310 (784)
|
||||||
|
0xD7DF, 0xC79F, 0xB75F, 0xAF1F, 0x9EDF, 0x96DF, 0x96DF, 0x9EFF, 0x7E1E, 0x3C5A, 0x1B77, 0x43B5, 0xBDD6, 0xF7BE, 0xFFFF, 0xFFFF, // 0x0320 (800)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF77D, 0x7CB6, 0x12B4, 0x1337, 0x449B, 0x7DFD, 0xA6FF, 0xB75F, 0xBF7F, 0xC79F, 0xCFBF, 0xD7FF, // 0x0330 (816)
|
||||||
|
0xD7FF, 0xCFBF, 0xC79F, 0xBF7F, 0xB77F, 0xAF1F, 0x8E5E, 0x551B, 0x3419, 0x2BD7, 0x5415, 0xB5B6, 0xF79E, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0340 (832)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF79D, 0xA577, 0x3B75, 0x1B36, 0x2BD9, 0x4CBB, 0x759D, 0x965E, 0xAEDF, 0xBF3F, 0xC77F, // 0x0350 (848)
|
||||||
|
0xC77F, 0xBF3F, 0xB6FF, 0x9E7F, 0x7DDD, 0x5D1C, 0x447A, 0x3C59, 0x4437, 0x7474, 0xC617, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0360 (864)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDE, 0xD699, 0x84D5, 0x43D5, 0x33B7, 0x3418, 0x4C7A, 0x5CFC, 0x753D, 0x857E, // 0x0370 (880)
|
||||||
|
0x859E, 0x755D, 0x653C, 0x5CFB, 0x4CDA, 0x4CB9, 0x5497, 0x6C95, 0xA555, 0xDEDA, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0380 (896)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF79D, 0xCE79, 0x9D56, 0x7495, 0x5C56, 0x4C77, 0x4C97, 0x4CB8, // 0x0390 (912)
|
||||||
|
0x54D8, 0x5CD8, 0x5CF8, 0x64D7, 0x74D6, 0x8CF5, 0xAD96, 0xD699, 0xF79E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03A0 (928)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFBE, 0xEF1B, 0xD679, 0xBDF7, 0xAD96, 0xA576, // 0x03B0 (944)
|
||||||
|
0xA576, 0xAD76, 0xB5B6, 0xC5F7, 0xD679, 0xEF3C, 0xFFDE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03C0 (960)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFBE, // 0x03D0 (976)
|
||||||
|
0xF7BE, 0xF7BE, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03E0 (992)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03F0 (1008)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0400 (1024)
|
||||||
|
};
|
|
@ -0,0 +1,73 @@
|
||||||
|
// Generated by : ImageConverter 565 v1.0
|
||||||
|
// Generated from: tux.png
|
||||||
|
// Time generated: 11.10.2010 22:51:32
|
||||||
|
// Size : 2 048 Bytes
|
||||||
|
|
||||||
|
#include <avr/pgmspace.h>
|
||||||
|
|
||||||
|
const unsigned short tux[0x400] PROGMEM ={
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xE73C, 0x9CD3, 0x9CF3, 0xA514, // 0x0010 (16)
|
||||||
|
0x9CF3, 0x8C51, 0xAD75, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0020 (32)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF7D, 0x5AEB, 0x7BEF, 0x9CD3, 0x94B2, // 0x0030 (48)
|
||||||
|
0x94B2, 0x94B2, 0x4228, 0x7BEF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0040 (64)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x9CF3, 0x18E3, 0x630C, 0x4A49, 0x4A69, // 0x0050 (80)
|
||||||
|
0x4A69, 0x528A, 0x4A49, 0x0000, 0xC638, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0060 (96)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x6B6D, 0x0000, 0x0020, 0x10A2, 0x1082, // 0x0070 (112)
|
||||||
|
0x0841, 0x0841, 0x0841, 0x0000, 0x630C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0080 (128)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x528A, 0x4228, 0x8410, 0x0000, 0x0861, // 0x0090 (144)
|
||||||
|
0xAD55, 0xBDD7, 0x10A2, 0x0000, 0x2945, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00A0 (160)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x5ACB, 0x8C71, 0xE75D, 0x2126, 0x528B, // 0x00B0 (176)
|
||||||
|
0xE75D, 0xDEDB, 0x7BCF, 0x0000, 0x18E3, 0xE73C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00C0 (192)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x6B6D, 0x4A4A, 0x6B2A, 0x8BE7, 0xA48A, // 0x00D0 (208)
|
||||||
|
0x6B09, 0x4A8A, 0x8431, 0x0000, 0x2104, 0xE73C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00E0 (224)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x6B6E, 0x5204, 0xDE6A, 0xFFF7, 0xFFF8, // 0x00F0 (240)
|
||||||
|
0xD5AC, 0xBCAA, 0x5A66, 0x0000, 0x1082, 0xDEFB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0100 (256)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x8C10, 0xC540, 0xFFED, 0xFF2C, 0xFEEC, // 0x0110 (272)
|
||||||
|
0xFECC, 0xFE66, 0x8260, 0x0000, 0x0000, 0xB596, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0120 (288)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x94B3, 0x9C25, 0xFF20, 0xFE40, 0xFDA0, // 0x0130 (304)
|
||||||
|
0xFCC0, 0xF524, 0x836A, 0x0000, 0x0000, 0x630C, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0140 (320)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x630C, 0x94B4, 0xFF13, 0xFD83, 0xF523, // 0x0150 (336)
|
||||||
|
0xE5CF, 0xF79E, 0xE71D, 0x0861, 0x0000, 0x0861, 0xDEDB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0160 (352)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xCE59, 0x0841, 0xD69A, 0xFFFF, 0xFF7D, 0xF77D, // 0x0170 (368)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0x73AE, 0x0000, 0x0000, 0x4A69, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0180 (384)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF79E, 0x10A2, 0x8410, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, // 0x0190 (400)
|
||||||
|
0xFFFF, 0xFFDF, 0xFFFF, 0xCE59, 0x0000, 0x0000, 0x0000, 0x9492, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x01A0 (416)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x52AA, 0x0020, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x01B0 (432)
|
||||||
|
0xFFDF, 0xFFDF, 0xF7BE, 0xFFDF, 0x3186, 0x0000, 0x0020, 0x0841, 0xCE79, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x01C0 (448)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xC638, 0x0000, 0x52AA, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFDF, // 0x01D0 (464)
|
||||||
|
0xFFDF, 0xF7BE, 0xF79E, 0xFFFF, 0x9CF3, 0x0000, 0x0841, 0x0000, 0x39E7, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x01E0 (480)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x5ACB, 0x0000, 0xBDF7, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFDF, 0xFFDF, // 0x01F0 (496)
|
||||||
|
0xF7BE, 0xF7BE, 0xF79E, 0xF79E, 0xEF7D, 0x3186, 0x0000, 0x0861, 0x0000, 0xAD55, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0200 (512)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xE73C, 0x0861, 0x4A49, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, // 0x0210 (528)
|
||||||
|
0xF7BE, 0xF79E, 0xEF7D, 0xEF5D, 0xFFDF, 0x8410, 0x0000, 0x1082, 0x0000, 0x39E7, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0220 (544)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x94B2, 0x0000, 0xB596, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, // 0x0230 (560)
|
||||||
|
0xF79E, 0xEF7D, 0xEF7D, 0xE73C, 0xF79E, 0xAD55, 0x0861, 0x10A2, 0x0861, 0x0841, 0xCE59, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0240 (576)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF79E, 0x3185, 0x10A2, 0xE71C, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF79E, // 0x0250 (592)
|
||||||
|
0xEF7D, 0xEF7D, 0xEF5D, 0xE73C, 0xEF5D, 0xBDF7, 0x18C3, 0x18C3, 0x18C3, 0x0000, 0x8C71, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0260 (608)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x94B2, 0x0000, 0x39E7, 0xF7BE, 0xFFFF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF79E, 0xEF7D, // 0x0270 (624)
|
||||||
|
0xEF7D, 0xEF5D, 0xE73C, 0xE71C, 0xE71C, 0xC618, 0x18E3, 0x10A2, 0x10A2, 0x0020, 0x6B4D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0280 (640)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x8C51, 0x38E0, 0x4A27, 0xFFFF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF79E, 0xEF7D, 0xEF7D, // 0x0290 (656)
|
||||||
|
0xEF5D, 0xE73C, 0xE71C, 0xDEFB, 0xDF1D, 0xBDF8, 0x39C7, 0x5ACB, 0x528A, 0x10A3, 0x738F, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x02A0 (672)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDD6C, 0xFE2B, 0xBC45, 0xA513, 0xFFFF, 0xF7BE, 0xF79E, 0xF79E, 0xEF7D, 0xEF5D, // 0x02B0 (688)
|
||||||
|
0xE73C, 0xE71C, 0xDEFB, 0xD6DC, 0xDD8E, 0xB3E4, 0x2124, 0x2965, 0x2945, 0x20C1, 0xB511, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x02C0 (704)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF77C, 0xE5CF, 0xF60B, 0xFF9B, 0xFF54, 0x8B02, 0x7BF0, 0xFFDF, 0xF79E, 0xEF5D, 0xEF5D, 0xE73C, // 0x02D0 (720)
|
||||||
|
0xE71C, 0xDEFB, 0xDEDB, 0xCE7A, 0xED89, 0xDDAD, 0x0842, 0x0000, 0x0000, 0xAC69, 0xDD6B, 0xEFBF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x02E0 (736)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFBE, 0xE5CB, 0xEDC9, 0xFE4B, 0xFF14, 0xFEF3, 0xFF35, 0xFE8D, 0x51C1, 0x634E, 0xE73C, 0xEF5D, 0xE73C, 0xE71C, // 0x02F0 (752)
|
||||||
|
0xDEFB, 0xDEDB, 0xD6DB, 0xCE59, 0xE58B, 0xFF98, 0xBD4F, 0x8B88, 0xCD90, 0xFFB7, 0xCCE8, 0xE73D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0300 (768)
|
||||||
|
0xFFFF, 0xFFFF, 0xEF3B, 0xF583, 0xFF30, 0xFF11, 0xFECF, 0xFEEF, 0xFECF, 0xFF30, 0xDD46, 0x2903, 0x6B8E, 0xEF7D, 0xE71C, 0xDEFB, // 0x0310 (784)
|
||||||
|
0xDEDB, 0xD6BA, 0xD69A, 0xCE59, 0xE5AA, 0xFF11, 0xFF53, 0xFF73, 0xFF33, 0xFF12, 0xFE6C, 0xDDAD, 0xF79E, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0320 (800)
|
||||||
|
0xFFFF, 0xFFFF, 0xF79E, 0xEDC5, 0xFECB, 0xFECC, 0xFECC, 0xFEEC, 0xFECB, 0xFECC, 0xFEEA, 0x9BE5, 0x8432, 0xE73C, 0xDEDB, 0xDEDB, // 0x0330 (816)
|
||||||
|
0xD6BA, 0xD69A, 0xDEDB, 0xA4F3, 0xD547, 0xFF2E, 0xFECD, 0xFECE, 0xFEEE, 0xFEEE, 0xFF10, 0xFEAB, 0xE5A8, 0xEF7D, 0xFFFF, 0xFFFF, // 0x0340 (832)
|
||||||
|
0xFFFF, 0xFFFF, 0xF79E, 0xF603, 0xFEA2, 0xFEC7, 0xFEC7, 0xFEA4, 0xFE81, 0xFE61, 0xFEA4, 0xFE43, 0xDE33, 0xE75E, 0xE71C, 0xDEFB, // 0x0350 (848)
|
||||||
|
0xDEDB, 0xCE58, 0x8C72, 0x5247, 0xEDE4, 0xFF0A, 0xFECA, 0xFEC9, 0xFE84, 0xFE83, 0xFEE7, 0xFEA3, 0xB443, 0xD69B, 0xFFFF, 0xFFFF, // 0x0360 (864)
|
||||||
|
0xFFFF, 0xFFFF, 0xF75B, 0xFE60, 0xFF00, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEA0, 0xFEC0, 0xFEA0, 0xFEE0, 0xE5C1, 0x9492, 0xA514, 0x9CD3, // 0x0370 (880)
|
||||||
|
0x8410, 0x630B, 0x4229, 0x6AE8, 0xFE80, 0xFEC1, 0xFEC1, 0xFEA0, 0xFEA0, 0xFEE0, 0xDD80, 0x9BE8, 0xB597, 0xFFDF, 0xFFFF, 0xFFFF, // 0x0380 (896)
|
||||||
|
0xFFFF, 0xFFFF, 0xF79E, 0xD589, 0xE600, 0xFEA0, 0xFF00, 0xFF40, 0xFF40, 0xFF00, 0xFF00, 0xFF20, 0xFEC0, 0x5267, 0x4229, 0x4A48, // 0x0390 (912)
|
||||||
|
0x4A49, 0x5289, 0x424A, 0x7B46, 0xFF20, 0xFEE0, 0xFEE0, 0xFF20, 0xFEE0, 0xB4A5, 0x9C92, 0xDEFD, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03A0 (928)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xE71D, 0xBDB6, 0xB530, 0xBD0B, 0xCD65, 0xEE60, 0xFF40, 0xFFA0, 0xFF80, 0xBD03, 0x8410, 0xA514, 0xA534, // 0x03B0 (944)
|
||||||
|
0xAD75, 0xB596, 0xA555, 0x9C8F, 0xF6C0, 0xFFA0, 0xFFA0, 0xF6E0, 0xA449, 0xB5B8, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03C0 (960)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF7F, 0xD69C, 0xBD95, 0xBD4C, 0xCDC6, 0xB4E8, 0xAD35, 0xF7BF, 0xFFFF, 0xFFFF, // 0x03D0 (976)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xF7BF, 0xCDD0, 0xCDC6, 0xCDA7, 0xA48D, 0xCE7B, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03E0 (992)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDF1F, 0xB59A, 0xBDDA, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, // 0x03F0 (1008)
|
||||||
|
0xFFFF, 0xFFDF, 0xFFDF, 0xFFFF, 0xEF7F, 0xB59A, 0xAD59, 0xDF1D, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0400 (1024)
|
||||||
|
};
|
|
@ -0,0 +1,51 @@
|
||||||
|
// UTFT_Bitmap_128x128
|
||||||
|
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
|
||||||
|
// web: http://www.RinkyDinkElectronics.com/
|
||||||
|
//
|
||||||
|
// This program is a demo of the drawBitmap()-function.
|
||||||
|
//
|
||||||
|
// This demo was made to work on the 128x128 modules.
|
||||||
|
// Any other size displays may cause strange behaviour.
|
||||||
|
//
|
||||||
|
// This program requires the UTFT library.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include <UTFT.h>
|
||||||
|
#include <avr/pgmspace.h>
|
||||||
|
|
||||||
|
UTFT myGLCD(LPH9135,6,5,2,3,4); // Remember to change the model parameter to suit your display module!
|
||||||
|
|
||||||
|
extern unsigned int icon1[0x400];
|
||||||
|
extern unsigned int icon2[0x400];
|
||||||
|
extern unsigned int tux[0x1000];
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
myGLCD.InitLCD(PORTRAIT);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
// Draw a 4 by 4 grid of a 32x32 icon.
|
||||||
|
myGLCD.fillScr(255, 255, 255);
|
||||||
|
for (int x=0; x<4; x++)
|
||||||
|
for (int y=0; y<4; y++)
|
||||||
|
myGLCD.drawBitmap (x*32, y*32, 32, 32, icon1);
|
||||||
|
|
||||||
|
delay(5000);
|
||||||
|
|
||||||
|
// Draw a 64x64 icon in double size.
|
||||||
|
myGLCD.fillScr(255, 255, 255);
|
||||||
|
myGLCD.drawBitmap (0, 0, 64, 64, tux, 2);
|
||||||
|
|
||||||
|
delay(5000);
|
||||||
|
|
||||||
|
// Draw a 2 by 2 grid of a 32x32 icon in double size.
|
||||||
|
myGLCD.fillScr(255, 255, 255);
|
||||||
|
for (int x=0; x<2; x++)
|
||||||
|
for (int y=0; y<2; y++)
|
||||||
|
myGLCD.drawBitmap (x*64, y*64, 32, 32, icon2, 2);
|
||||||
|
|
||||||
|
delay(5000);
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,74 @@
|
||||||
|
// Generated by : ImageConverter 565 v1.0
|
||||||
|
// Generated from: exit.png
|
||||||
|
// Time generated: 14.10.2010 21:53:03
|
||||||
|
// Dimensions : 32x32 pixels
|
||||||
|
// Size : 2 048 Bytes
|
||||||
|
|
||||||
|
#include <avr/pgmspace.h>
|
||||||
|
|
||||||
|
const unsigned short icon1[0x400] PROGMEM ={
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF1C, 0xE618, 0xE638, 0xE638, 0xE638, 0xE659, 0xE659, 0xE659, 0xE659, 0xE659, 0xE679, 0xE679, // 0x0010 (16)
|
||||||
|
0xE679, 0xE679, 0xE679, 0xE679, 0xEE79, 0xEE9A, 0xEE9A, 0xEE9A, 0xEE9A, 0xEE9A, 0xE638, 0xEEBA, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0020 (32)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xD555, 0xCCD3, 0xDDB6, 0xDDD7, 0xDDF7, 0xDDF7, 0xDE18, 0xE618, 0xE638, 0xE638, 0xE659, 0xE679, 0xE679, // 0x0030 (48)
|
||||||
|
0xEE9A, 0xEE9A, 0xEEBA, 0xEEBA, 0xEEBA, 0xEEDB, 0xEEDB, 0xEEFB, 0xEEFB, 0xEEFB, 0xEEFB, 0xE659, 0xD575, 0xF77D, 0xFFFF, 0xFFFF, // 0x0040 (64)
|
||||||
|
0xFFDF, 0xFFFF, 0xD534, 0xC471, 0xD575, 0xCCF3, 0xCCD3, 0xCCD3, 0xCCF3, 0xCCF3, 0xD4F3, 0xD514, 0xD514, 0xD514, 0xD534, 0xDD55, // 0x0050 (80)
|
||||||
|
0xDD55, 0xDD55, 0xDD55, 0xDD75, 0xDD75, 0xDD75, 0xDD96, 0xDD96, 0xDD96, 0xDDB6, 0xDDD7, 0xEE79, 0xEEBA, 0xD534, 0xFFBE, 0xFFFF, // 0x0060 (96)
|
||||||
|
0xFFFF, 0xEEDB, 0xB38E, 0xC4B2, 0xBC30, 0xC451, 0xC471, 0xC471, 0xCC71, 0xCC92, 0xCC92, 0xCC92, 0xCCB2, 0xD4B2, 0xD4B2, 0xCC71, // 0x0070 (112)
|
||||||
|
0xCC71, 0xD4D3, 0xD4F3, 0xDCF3, 0xDCF3, 0xDD14, 0xDD14, 0xDD14, 0xDD34, 0xDD34, 0xDD34, 0xDD14, 0xE5D7, 0xDD96, 0xDDF7, 0xFFFF, // 0x0080 (128)
|
||||||
|
0xFFFF, 0xC4F3, 0xAB2C, 0xC430, 0xC410, 0xC430, 0xC430, 0xC430, 0xCC51, 0xCC51, 0xCC51, 0xCC71, 0xCC71, 0xD471, 0xCC71, 0xD5F7, // 0x0090 (144)
|
||||||
|
0xD5F7, 0xCC92, 0xDCB2, 0xDCD3, 0xDCD3, 0xDCD3, 0xDCD3, 0xDCF3, 0xDCF3, 0xDD14, 0xDD14, 0xDD34, 0xDD14, 0xDD34, 0xC492, 0xFFFF, // 0x00A0 (160)
|
||||||
|
0xFFFF, 0xB3EF, 0x9A28, 0xC430, 0xBBCF, 0xC3EF, 0xC3EF, 0xC3EF, 0xC410, 0xCC10, 0xCC10, 0xCC30, 0xCC51, 0xCBEF, 0xE638, 0xFFFF, // 0x00B0 (176)
|
||||||
|
0xFFFF, 0xE659, 0xD430, 0xDC92, 0xDC92, 0xDC92, 0xDCB2, 0xDCB2, 0xDCB2, 0xDCD3, 0xDCD3, 0xDCD3, 0xE514, 0xD410, 0xAB0C, 0xF7FF, // 0x00C0 (192)
|
||||||
|
0xFFFF, 0xABCF, 0x9165, 0xC3EF, 0xBB8E, 0xBBAE, 0xC3AE, 0xC3CF, 0xC3CF, 0xCBCF, 0xCBEF, 0xCC10, 0xCC10, 0xCBAE, 0xEE9A, 0xFFFF, // 0x00D0 (208)
|
||||||
|
0xFFFF, 0xF6DB, 0xD410, 0xDC71, 0xDC71, 0xDC71, 0xDC71, 0xDC71, 0xDC71, 0xE492, 0xE492, 0xE492, 0xE4F3, 0xCB2C, 0xA249, 0xF7FF, // 0x00E0 (224)
|
||||||
|
0xFFFF, 0xABCF, 0x88C3, 0xC3AE, 0xBB4D, 0xBB6D, 0xC36D, 0xC38E, 0xC38E, 0xCBAE, 0xC36D, 0xC34D, 0xCBCF, 0xCB8E, 0xEE59, 0xFFFF, // 0x00F0 (240)
|
||||||
|
0xFFFF, 0xF6BA, 0xDBCF, 0xD3CF, 0xCBAE, 0xD3CF, 0xE430, 0xE430, 0xE451, 0xE451, 0xE451, 0xE451, 0xECD3, 0xCAAA, 0xA208, 0xF7FF, // 0x0100 (256)
|
||||||
|
0xFFFF, 0xABCF, 0x8061, 0xBB6D, 0xBB2C, 0xBB2C, 0xC34D, 0xC34D, 0xCB4D, 0xBB0C, 0xC492, 0xCD14, 0xC38E, 0xCB2C, 0xEE59, 0xFFFF, // 0x0110 (272)
|
||||||
|
0xFFFF, 0xF6BA, 0xD36D, 0xD575, 0xE6DB, 0xDDB6, 0xD3AE, 0xE3EF, 0xE410, 0xE410, 0xE430, 0xE410, 0xECB2, 0xC986, 0xA208, 0xF7FF, // 0x0120 (288)
|
||||||
|
0xFFFF, 0xB3EF, 0x8041, 0xBB0C, 0xBAEB, 0xBAEB, 0xC30C, 0xC30C, 0xBACB, 0xD5B6, 0xFFFF, 0xFFFF, 0xEE79, 0xCACB, 0xEE59, 0xFFFF, // 0x0130 (304)
|
||||||
|
0xFFFF, 0xF679, 0xDBEF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEEBA, 0xD3CF, 0xE3AE, 0xE3EF, 0xE3CF, 0xEC10, 0xEB6D, 0xC000, 0xA249, 0xF7FF, // 0x0140 (320)
|
||||||
|
0xFFFF, 0xB3EF, 0x8020, 0xBACB, 0xBAAA, 0xBAAA, 0xC2EB, 0xBA8A, 0xD596, 0xFFFF, 0xFFDF, 0xFFFF, 0xF73C, 0xCAAA, 0xEE38, 0xFFFF, // 0x0150 (336)
|
||||||
|
0xFFFF, 0xF679, 0xDB4D, 0xFF7D, 0xFFFF, 0xFFDF, 0xFFFF, 0xEEDB, 0xDB6D, 0xEB8E, 0xEBAE, 0xEB8E, 0xE0A2, 0xC800, 0xAA49, 0xF7FF, // 0x0160 (352)
|
||||||
|
0xFFFF, 0xB3EF, 0x8000, 0xB28A, 0xBA69, 0xBA8A, 0xBA49, 0xCC30, 0xFFFF, 0xFFDF, 0xFFFF, 0xFF5D, 0xDBCF, 0xCA69, 0xEE18, 0xFFFF, // 0x0170 (368)
|
||||||
|
0xFFFF, 0xF679, 0xDAAA, 0xE3AE, 0xF6BA, 0xFFFF, 0xFFDF, 0xFFFF, 0xE5D7, 0xE30C, 0xEB8E, 0xE0E3, 0xE000, 0xC800, 0xAA49, 0xF7FF, // 0x0180 (384)
|
||||||
|
0xFFFF, 0xB3EF, 0x8800, 0xB249, 0xBA49, 0xBA49, 0xBA49, 0xEF1C, 0xFFFF, 0xFFFF, 0xFF7D, 0xD32C, 0xCA69, 0xD249, 0xEDF7, 0xFFFF, // 0x0190 (400)
|
||||||
|
0xFFFF, 0xF659, 0xDAAA, 0xE2CB, 0xE2EB, 0xFEBA, 0xFFFF, 0xFFDF, 0xFFDF, 0xE3CF, 0xE103, 0xE000, 0xE081, 0xD000, 0xAA69, 0xF7FF, // 0x01A0 (416)
|
||||||
|
0xFFFF, 0xB3EF, 0x8800, 0xB228, 0xBA08, 0xB9A6, 0xCBAE, 0xFFFF, 0xFFDF, 0xFFFF, 0xDC30, 0xC9E7, 0xD28A, 0xCA08, 0xF618, 0xFFFF, // 0x01B0 (432)
|
||||||
|
0xFFFF, 0xF679, 0xDA49, 0xE2CB, 0xE28A, 0xEB6D, 0xFFBE, 0xFFDF, 0xFFFF, 0xEC92, 0xE000, 0xE0A2, 0xE0C2, 0xD040, 0xAA89, 0xF7FF, // 0x01C0 (448)
|
||||||
|
0xFFFF, 0xB3EF, 0x8800, 0xB1E7, 0xB9E7, 0xB165, 0xDD55, 0xFFFF, 0xFFFF, 0xF71C, 0xCA08, 0xCA08, 0xD228, 0xD1E7, 0xE430, 0xFFDF, // 0x01D0 (464)
|
||||||
|
0xFFDF, 0xEC51, 0xDA08, 0xE28A, 0xE28A, 0xE228, 0xF618, 0xFFFF, 0xFFFF, 0xF679, 0xE081, 0xE0C2, 0xE903, 0xD081, 0xAA89, 0xF7FF, // 0x01E0 (480)
|
||||||
|
0xFFFF, 0xBBEF, 0x9000, 0xB1A6, 0xB986, 0xB145, 0xEE38, 0xFFFF, 0xFFFF, 0xED96, 0xC165, 0xC9E7, 0xD1E7, 0xD1E7, 0xD1C7, 0xDACB, // 0x01F0 (496)
|
||||||
|
0xE2EB, 0xD9E7, 0xE228, 0xE228, 0xEA69, 0xE9E7, 0xF40F, 0xFFFF, 0xFFFF, 0xFF5D, 0xE144, 0xE8E2, 0xE943, 0xD8C1, 0xAA8A, 0xF7FF, // 0x0200 (512)
|
||||||
|
0xFFFF, 0xBC10, 0x9000, 0xB165, 0xB145, 0xB924, 0xEE9A, 0xFFFF, 0xFFFF, 0xE514, 0xC124, 0xC9A6, 0xD1A6, 0xD1A6, 0xD1C7, 0xD9A6, // 0x0210 (528)
|
||||||
|
0xD9A6, 0xE1E7, 0xE208, 0xE208, 0xE9A6, 0xE041, 0xEA8A, 0xFFFF, 0xFFFF, 0xFF9E, 0xE9C6, 0xE902, 0xE984, 0xD902, 0xAAAA, 0xF7FF, // 0x0220 (544)
|
||||||
|
0xFFFF, 0xC410, 0x9000, 0xB124, 0xB124, 0xB0C3, 0xEE18, 0xFFFF, 0xFFFF, 0xE575, 0xC0E3, 0xC986, 0xD165, 0xD165, 0xD986, 0xD9A6, // 0x0230 (560)
|
||||||
|
0xD9A6, 0xE1A6, 0xE165, 0xE082, 0xE020, 0xE000, 0xEB4C, 0xFFFF, 0xFFFF, 0xFF7D, 0xE9A5, 0xE943, 0xE9A5, 0xD923, 0xAAAA, 0xF7FF, // 0x0240 (576)
|
||||||
|
0xFFFF, 0xC410, 0x9800, 0xB0E3, 0xB0E3, 0xB061, 0xE4F3, 0xFFFF, 0xFFFF, 0xF6FB, 0xC104, 0xC924, 0xD145, 0xD145, 0xD945, 0xD945, // 0x0250 (592)
|
||||||
|
0xD8E3, 0xD861, 0xD800, 0xE000, 0xE061, 0xE000, 0xED34, 0xFFFF, 0xFFFF, 0xFE9A, 0xE923, 0xE984, 0xE9C5, 0xE163, 0xAAAA, 0xF7FF, // 0x0260 (608)
|
||||||
|
0xFFFF, 0xC410, 0xA000, 0xB0A2, 0xB0A2, 0xB041, 0xCACB, 0xFFFF, 0xFFDF, 0xFFFF, 0xD34D, 0xC841, 0xD104, 0xD0A2, 0xD061, 0xD000, // 0x0270 (624)
|
||||||
|
0xD800, 0xD800, 0xE000, 0xE041, 0xE000, 0xD965, 0xFF9E, 0xFFDF, 0xFFFF, 0xF4D2, 0xE8E2, 0xE9A5, 0xE9E5, 0xE183, 0xAAAA, 0xF7FF, // 0x0280 (640)
|
||||||
|
0xFFFF, 0xCC10, 0xA000, 0xA861, 0xB061, 0xB061, 0xB882, 0xF6DB, 0xFFFF, 0xFFDF, 0xF75D, 0xC124, 0xC800, 0xD000, 0xD000, 0xD800, // 0x0290 (656)
|
||||||
|
0xD800, 0xE000, 0xE020, 0xE000, 0xD861, 0xF638, 0xFFFF, 0xFFDF, 0xFFDF, 0xEA68, 0xE943, 0xE9C5, 0xEA06, 0xE1A4, 0xB2CA, 0xF7FF, // 0x02A0 (672)
|
||||||
|
0xFFFF, 0xCC10, 0xA000, 0xA820, 0xB000, 0xB000, 0xB000, 0xCA49, 0xFFFF, 0xFFDF, 0xFFFF, 0xF71C, 0xCA08, 0xC800, 0xD000, 0xD800, // 0x02B0 (688)
|
||||||
|
0xD800, 0xD800, 0xD800, 0xD944, 0xEE18, 0xFFFF, 0xFFBE, 0xFFFF, 0xF4F2, 0xE902, 0xE9A5, 0xE9C5, 0xEA06, 0xE9A4, 0xB2CA, 0xF7FF, // 0x02C0 (704)
|
||||||
|
0xFFFF, 0xD410, 0xA800, 0xA800, 0xB000, 0xB000, 0xB800, 0xB800, 0xDC10, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xED96, 0xDAEB, 0xD1A6, // 0x02D0 (720)
|
||||||
|
0xD965, 0xDA69, 0xECD3, 0xFF9E, 0xFFFF, 0xFFBE, 0xFFFF, 0xFE17, 0xE923, 0xE964, 0xE9A5, 0xE9C5, 0xEA26, 0xE9C4, 0xBACA, 0xF7FF, // 0x02E0 (736)
|
||||||
|
0xF7FF, 0xD410, 0xA800, 0xA800, 0xB000, 0xB000, 0xB800, 0xB800, 0xB800, 0xE3EF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x02F0 (752)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF5B6, 0xE923, 0xE923, 0xE984, 0xE9A5, 0xE9E5, 0xEA26, 0xE9C5, 0xBACA, 0xF7FF, // 0x0300 (768)
|
||||||
|
0xF7FF, 0xDC10, 0xB000, 0xA800, 0xB000, 0xB000, 0xB800, 0xB800, 0xC000, 0xC000, 0xD228, 0xF638, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0310 (784)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFEFB, 0xF3AE, 0xE0C1, 0xE903, 0xE964, 0xE984, 0xE9A5, 0xE9E5, 0xEA26, 0xE9E5, 0xC2CA, 0xF7DF, // 0x0320 (800)
|
||||||
|
0xF7FF, 0xDC51, 0xB800, 0xA800, 0xB000, 0xB000, 0xB800, 0xB800, 0xC000, 0xC000, 0xC000, 0xC800, 0xD9E7, 0xEC30, 0xF5D7, 0xFE9A, // 0x0330 (816)
|
||||||
|
0xFEBA, 0xF618, 0xF4D3, 0xEACB, 0xE0E2, 0xE040, 0xE903, 0xE943, 0xE943, 0xE984, 0xE9A5, 0xE9E5, 0xEA26, 0xEA05, 0xC30C, 0xF7DF, // 0x0340 (832)
|
||||||
|
0xFFFF, 0xD575, 0xD104, 0xA820, 0xB000, 0xB800, 0xB800, 0xC000, 0xC000, 0xC000, 0xC820, 0xC800, 0xD000, 0xD000, 0xD800, 0xD800, // 0x0350 (848)
|
||||||
|
0xE000, 0xE000, 0xE000, 0xE000, 0xE0A1, 0xE0E3, 0xE903, 0xE943, 0xE964, 0xE984, 0xE9C5, 0xE9C5, 0xF226, 0xE227, 0xBC10, 0xF7FF, // 0x0360 (864)
|
||||||
|
0xFFFF, 0xDF3C, 0xCAAA, 0xD186, 0xB082, 0xB000, 0xB800, 0xB800, 0xB800, 0xC000, 0xC000, 0xC800, 0xC800, 0xD000, 0xD000, 0xD800, // 0x0370 (880)
|
||||||
|
0xD800, 0xE000, 0xE020, 0xE040, 0xE061, 0xE0A1, 0xE0C2, 0xE102, 0xE123, 0xE943, 0xE984, 0xEA26, 0xFB0A, 0xBA08, 0xCE38, 0xFFFF, // 0x0380 (896)
|
||||||
|
0xFFFF, 0xFFDF, 0xBDD7, 0xCA69, 0xE248, 0xD207, 0xD1C6, 0xD1C6, 0xD9C7, 0xD9C7, 0xE1C7, 0xE1C7, 0xE1C7, 0xE9C7, 0xE9C7, 0xE9C7, // 0x0390 (912)
|
||||||
|
0xF1C6, 0xF1C7, 0xF1E7, 0xF207, 0xF228, 0xF248, 0xF269, 0xF289, 0xF2A9, 0xF2CA, 0xFB0A, 0xF2EA, 0xC207, 0xACB3, 0xF7BE, 0xFFFF, // 0x03A0 (928)
|
||||||
|
0xFFFF, 0xFFFF, 0xF7BE, 0xBDF7, 0xAB8E, 0xC2EB, 0xC2EB, 0xC30B, 0xC30B, 0xC30B, 0xC30B, 0xC30B, 0xC30B, 0xC30B, 0xCB0B, 0xCAEB, // 0x03B0 (944)
|
||||||
|
0xCAEB, 0xCACA, 0xCACA, 0xCAAA, 0xCAAA, 0xCA8A, 0xCA69, 0xC269, 0xC269, 0xC289, 0xBA69, 0xA2CB, 0xAD34, 0xEF7D, 0xFFFF, 0xFFFF, // 0x03C0 (960)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xDF3C, 0xBE39, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, // 0x03D0 (976)
|
||||||
|
0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xB5F7, 0xBE38, 0xD71C, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03E0 (992)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03F0 (1008)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0400 (1024)
|
||||||
|
};
|
|
@ -0,0 +1,74 @@
|
||||||
|
// Generated by : ImageConverter 565 v1.0
|
||||||
|
// Generated from: video.png
|
||||||
|
// Time generated: 14.10.2010 21:53:17
|
||||||
|
// Dimensions : 32x32 pixels
|
||||||
|
// Size : 2 048 Bytes
|
||||||
|
|
||||||
|
#include <avr/pgmspace.h>
|
||||||
|
|
||||||
|
const unsigned short icon2[0x400] PROGMEM ={
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0010 (16)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0020 (32)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xE71C, 0xB5B6, 0x94B2, 0x8C71, // 0x0030 (48)
|
||||||
|
0x9492, 0xA534, 0xD6BA, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0040 (64)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF5D, 0x9CF3, 0x73AE, 0x6B6D, 0x73AE, 0x7BCF, // 0x0050 (80)
|
||||||
|
0x7BEF, 0x7BCF, 0x7BEF, 0xA534, 0xEF7D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0060 (96)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xC638, 0x7BCF, 0x6B6D, 0x738E, 0x7BCF, 0x8C71, 0x9492, // 0x0070 (112)
|
||||||
|
0x9492, 0x9492, 0x9492, 0x8C51, 0x8C71, 0xDEDB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0080 (128)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xB596, 0x738E, 0x738E, 0x73AE, 0x6B4D, 0x8410, 0x9CF3, 0x9CF3, // 0x0090 (144)
|
||||||
|
0x9CF3, 0x9CF3, 0x9CF3, 0x9CF3, 0x94B2, 0x7BEF, 0xDEDB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00A0 (160)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xB596, 0x738E, 0x7BEF, 0x8410, 0x632C, 0x4A69, 0x9492, 0xAD75, 0xAD55, // 0x00B0 (176)
|
||||||
|
0xAD55, 0xAD55, 0xAD55, 0xA534, 0xAD55, 0x9492, 0x8430, 0xF79E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00C0 (192)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xBDF7, 0x7BCF, 0x8430, 0x7BCF, 0x6B4D, 0x528A, 0x6B6D, 0xB5B6, 0xB5B6, 0xB5B6, // 0x00D0 (208)
|
||||||
|
0xB5B6, 0xB596, 0xB596, 0xAD75, 0xAD75, 0xAD55, 0x8410, 0xB5B6, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00E0 (224)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDEDB, 0x7BEF, 0x9CD3, 0xA514, 0x5AEB, 0x630C, 0x6B4D, 0x9492, 0xC638, 0xC618, 0xC618, // 0x00F0 (240)
|
||||||
|
0xBDF7, 0xBDF7, 0xC618, 0xB5B6, 0xB5B6, 0xB596, 0x9492, 0x8C51, 0xF79E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0100 (256)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, 0x8C71, 0x94B2, 0xAD55, 0xB5B6, 0x738E, 0x6B4D, 0x632C, 0xB596, 0xD69A, 0xCE59, 0xCE59, // 0x0110 (272)
|
||||||
|
0xCE79, 0xCE59, 0x6B6D, 0x9492, 0xB5B6, 0xBDF7, 0x9CF3, 0x8430, 0xD69A, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0120 (288)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xB5B6, 0x8C51, 0xAD55, 0xB5B6, 0xCE79, 0x8C51, 0x630C, 0x8C51, 0xCE79, 0xD6BA, 0xD69A, 0xDEDB, // 0x0130 (304)
|
||||||
|
0xBDD7, 0x8C51, 0x4228, 0x2965, 0xAD55, 0xC638, 0xA534, 0x8430, 0xB5B6, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0140 (320)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xEF5D, 0x8C51, 0xA514, 0xB5B6, 0xC618, 0xD6BA, 0xB5B6, 0xB596, 0xE71C, 0xDEFB, 0xDEFB, 0xE71C, 0xAD55, // 0x0150 (336)
|
||||||
|
0x738E, 0x7BEF, 0x5AEB, 0x2945, 0xC638, 0xCE59, 0xA534, 0x9492, 0xA534, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0160 (352)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xB596, 0x94B2, 0xB5B6, 0xC618, 0xCE79, 0xD6BA, 0xE73C, 0xEF7D, 0xE73C, 0xEF5D, 0xE73C, 0x9CF3, 0x738E, // 0x0170 (368)
|
||||||
|
0x7BCF, 0x8430, 0x6B6D, 0x2965, 0xB596, 0xD69A, 0xAD55, 0x94B2, 0x9CD3, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0180 (384)
|
||||||
|
0xFFFF, 0xFFFF, 0xF79E, 0x9492, 0x9CF3, 0xB5B6, 0xD69A, 0xDEFB, 0xE71C, 0xE73C, 0x6B6D, 0x528A, 0xDEDB, 0xEF5D, 0x7BEF, 0x8430, // 0x0190 (400)
|
||||||
|
0x7BEF, 0x8C51, 0x7BCF, 0x2104, 0xB596, 0xD6BA, 0xAD55, 0x9CD3, 0x9CF3, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xE73C, 0xE6FC, // 0x01A0 (416)
|
||||||
|
0xFFDF, 0xFFFF, 0xCE59, 0x9492, 0x9492, 0x6B4D, 0x7BCF, 0xBDD7, 0xF7BE, 0xA514, 0x4A49, 0x528A, 0xC638, 0xEF7D, 0x7BEF, 0x7BEF, // 0x01B0 (432)
|
||||||
|
0x7BEF, 0x8430, 0x5AEB, 0x10A2, 0xC618, 0xD69A, 0xAD55, 0x94B2, 0xA514, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xCE5A, 0x8BF2, // 0x01C0 (448)
|
||||||
|
0xFFFF, 0xFFFF, 0xAD55, 0x94B2, 0x8C51, 0x5AEB, 0x632C, 0xBDD7, 0xE73C, 0x630C, 0x632C, 0xBDF7, 0xFFDF, 0xEF5D, 0xBDD7, 0xB5B6, // 0x01D0 (464)
|
||||||
|
0xAD75, 0xAD75, 0x8C51, 0x738E, 0xD69A, 0xCE59, 0xB596, 0x8C51, 0xB5B6, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xCE39, 0x7350, // 0x01E0 (480)
|
||||||
|
0xFFFF, 0xF79E, 0x94B2, 0x94B2, 0x7BCF, 0x5AEB, 0x738E, 0xD6BA, 0xD69A, 0x2104, 0x6B6D, 0xF79E, 0xF79E, 0xF79E, 0xF7BE, 0xF79E, // 0x01F0 (496)
|
||||||
|
0xEF7D, 0xEF5D, 0xE73C, 0xE73C, 0xDEFB, 0xBDF7, 0xBDF7, 0x7BEF, 0xD69A, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xAD36, 0x7350, // 0x0200 (512)
|
||||||
|
0xFFFF, 0xDEDB, 0x8C51, 0x94B2, 0x738E, 0x632C, 0x73AE, 0xCE79, 0xF7BE, 0x7BEF, 0xA514, 0xF7BE, 0xF79E, 0xEF7D, 0xEF7D, 0xEF5D, // 0x0210 (528)
|
||||||
|
0xE73C, 0xE71C, 0xDEFB, 0xDEDB, 0xDEDB, 0xBDD7, 0xBDF7, 0x73AE, 0xF79E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, 0x9C75, 0x736F, // 0x0220 (544)
|
||||||
|
0xFFFF, 0xCE59, 0x8430, 0x94B2, 0x6B4D, 0x6B4D, 0xB596, 0xE73C, 0xEF7D, 0xFFFF, 0xFFFF, 0xF7BE, 0xF79E, 0xEF7D, 0xEF7D, 0xEF5D, // 0x0230 (560)
|
||||||
|
0xE73C, 0xE73C, 0xDEFB, 0xDEFB, 0xD6BA, 0xC618, 0xAD55, 0x8C71, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDEDB, 0x6AEF, 0x9492, // 0x0240 (576)
|
||||||
|
0xFFFF, 0xBDF7, 0x8430, 0x8C71, 0x6B6D, 0xB596, 0xE71C, 0xE73C, 0xEF5D, 0xE73C, 0xBDF7, 0xCE59, 0xF7BE, 0xEF7D, 0xEF7D, 0xEF5D, // 0x0250 (592)
|
||||||
|
0xE73C, 0xE71C, 0xDEFB, 0xDEFB, 0xC638, 0xD69A, 0x8410, 0xC618, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0x9474, 0x6B0E, 0xCE59, // 0x0260 (608)
|
||||||
|
0xFFFF, 0xB5B6, 0x8410, 0x9492, 0xBDD7, 0xD6BA, 0xD6BA, 0xE71C, 0xE73C, 0x8C71, 0x6B4D, 0xA514, 0xF7BE, 0xEF5D, 0xEF5D, 0xE73C, // 0x0270 (624)
|
||||||
|
0xE73C, 0xE71C, 0xDEFB, 0xDEDB, 0xCE59, 0xC618, 0x7BCF, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xC5F9, 0x7B51, 0x7BEF, 0xFFFF, // 0x0280 (640)
|
||||||
|
0xFFFF, 0xB596, 0x8C71, 0xAD75, 0xBDF7, 0xCE59, 0xD69A, 0xE71C, 0xCE79, 0x8410, 0x8410, 0x9CD3, 0xEF5D, 0xEF5D, 0xE73C, 0xE73C, // 0x0290 (656)
|
||||||
|
0xE71C, 0xDEFB, 0xDEFB, 0xCE59, 0xDEDB, 0x8C71, 0xAD75, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDEBB, 0x83B2, 0x630C, 0xE73C, 0xFFFF, // 0x02A0 (672)
|
||||||
|
0xFFFF, 0xB5B6, 0x9492, 0xAD55, 0xBDD7, 0xC638, 0xCE79, 0xDEFB, 0xB596, 0x73AE, 0x8410, 0x8410, 0xDEDB, 0xE73C, 0xE71C, 0xE71C, // 0x02B0 (688)
|
||||||
|
0xDEFB, 0xDEFB, 0xD6BA, 0xCE59, 0xC618, 0x738E, 0xF79E, 0xFFFF, 0xFFFF, 0xFFFF, 0xDEDC, 0x8C14, 0x5ACC, 0xC658, 0xFFFF, 0xFFFF, // 0x02C0 (704)
|
||||||
|
0xFFFF, 0xC638, 0x8C51, 0xA534, 0xB5B6, 0xBDF7, 0xCE59, 0xD6BA, 0x94B2, 0x738E, 0x8410, 0x8430, 0xCE59, 0xE73C, 0xDEFB, 0xDEFB, // 0x02D0 (720)
|
||||||
|
0xDEDB, 0xDEFB, 0xBDF7, 0xDEDB, 0x73AE, 0xC618, 0xFFFF, 0xFFFF, 0xFFFF, 0xDEDC, 0x8BD2, 0x5ACC, 0xBDD6, 0xFFFF, 0xFFFF, 0xFFFF, // 0x02E0 (736)
|
||||||
|
0xFFFF, 0xDEDB, 0x8C51, 0xA514, 0xAD75, 0xBDD7, 0xC638, 0xC618, 0x73AE, 0x7BCF, 0x8410, 0x5ACB, 0x8C51, 0xE73C, 0xDEDB, 0xD6BA, // 0x02F0 (752)
|
||||||
|
0xDEFB, 0xBDD7, 0xD69A, 0x8C71, 0x8C51, 0xFFFF, 0xFFFF, 0xFFDE, 0xCE5A, 0x7B71, 0x62ED, 0xBDF7, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0300 (768)
|
||||||
|
0xFFFF, 0xF7BE, 0x94B2, 0x94B2, 0xA534, 0xB596, 0xBDF7, 0xB596, 0x6B6D, 0x4208, 0x2945, 0x18C3, 0x6B6D, 0xDEFB, 0xD69A, 0xDEDB, // 0x0310 (784)
|
||||||
|
0xB5B6, 0xC618, 0x9CF3, 0x6B4D, 0xFFDE, 0xFFFF, 0xEF5D, 0xAD37, 0x62EE, 0x6B4D, 0xCE79, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0320 (800)
|
||||||
|
0xFFDF, 0xFFFF, 0xBDF7, 0x8C51, 0xA514, 0xAD55, 0xB596, 0xBDD7, 0xA514, 0x738E, 0xA514, 0xB5B6, 0xCE59, 0xD69A, 0xDEDB, 0xB596, // 0x0330 (816)
|
||||||
|
0xBDF7, 0xA534, 0x6B4C, 0xEF5D, 0xF79E, 0xBDB8, 0x7370, 0x5AAC, 0x8C71, 0xEF7D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0340 (832)
|
||||||
|
0xFFFF, 0xFFFF, 0xF79E, 0x94B2, 0x94B2, 0xA534, 0xAD55, 0xB5B6, 0xA534, 0xBDD7, 0xD69A, 0xCE59, 0xCE79, 0xCE59, 0xA534, 0x8430, // 0x0350 (848)
|
||||||
|
0x738E, 0x3186, 0x7BB0, 0x8C33, 0x7370, 0x62ED, 0x8410, 0xCE59, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0360 (864)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xDEFB, 0x8C71, 0x9CD3, 0xAD55, 0xB596, 0xBDD7, 0xBDD7, 0xBDF7, 0xC618, 0xB5B6, 0xA534, 0xA534, 0x632C, // 0x0370 (880)
|
||||||
|
0x6B6D, 0xB5B6, 0xAD76, 0xAD76, 0xBE17, 0xE71B, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0380 (896)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDEFB, 0x94B2, 0x8C51, 0x94B2, 0xA534, 0xAD55, 0xAD55, 0x9CD3, 0x8C71, 0x73AE, 0x632C, 0xA534, // 0x0390 (912)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03A0 (928)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, 0xCE59, 0xA514, 0x8430, 0x7BCF, 0x738E, 0x73AE, 0x8410, 0xA534, 0xEF7D, 0xFFFF, // 0x03B0 (944)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03C0 (960)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, 0xE73C, 0xE71C, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03D0 (976)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03E0 (992)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, // 0x03F0 (1008)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0400 (1024)
|
||||||
|
};
|
|
@ -0,0 +1,266 @@
|
||||||
|
// Generated by : ImageConverter 565 v1.0
|
||||||
|
// Generated from: tux_64x64.png
|
||||||
|
// Time generated: 14.10.2010 21:56:38
|
||||||
|
// Dimensions : 64x64 pixels
|
||||||
|
// Size : 8 192 Bytes
|
||||||
|
|
||||||
|
#include <avr/pgmspace.h>
|
||||||
|
|
||||||
|
const unsigned short tux[0x1000] PROGMEM ={
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0010 (16)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xCE79, 0x9CF3, 0x7BCF, 0x738E, 0x738E, // 0x0020 (32)
|
||||||
|
0x6B6D, 0x94B2, 0xCE79, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0030 (48)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0040 (64)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0050 (80)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xCE79, 0x6B4D, 0x5ACB, 0x8410, 0x9CF3, 0x9CF3, 0x9CF3, // 0x0060 (96)
|
||||||
|
0x9CD3, 0x73AE, 0x4208, 0x5ACB, 0xCE79, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0070 (112)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0080 (128)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0090 (144)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xA514, 0x3186, 0x8C51, 0xBDF7, 0xC618, 0xBDF7, 0xBDF7, 0xBDF7, // 0x00A0 (160)
|
||||||
|
0xBDF7, 0xC618, 0xBDD7, 0x738E, 0x18C3, 0x8C51, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00B0 (176)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00C0 (192)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00D0 (208)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xBDD7, 0x10A2, 0x8C71, 0x9CF3, 0x8C71, 0x8C71, 0x8C71, 0x8C71, 0x8C71, // 0x00E0 (224)
|
||||||
|
0x8C71, 0x8C51, 0x8C51, 0x9CF3, 0x73AE, 0x0000, 0x7BEF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x00F0 (240)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0100 (256)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0110 (272)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0x2945, 0x31A6, 0x7BCF, 0x6B4D, 0x6B6D, 0x6B6D, 0x6B6D, 0x6B6D, 0x6B6D, // 0x0120 (288)
|
||||||
|
0x6B6D, 0x6B6D, 0x6B6D, 0x6B4D, 0x73AE, 0x2124, 0x0000, 0xAD55, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0130 (304)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0140 (320)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0150 (336)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xC638, 0x0000, 0x31A6, 0x52AA, 0x4A69, 0x4A69, 0x4A69, 0x4A69, 0x4A69, 0x4A69, // 0x0160 (352)
|
||||||
|
0x4A69, 0x4A69, 0x4A69, 0x4A69, 0x528A, 0x2104, 0x0000, 0x2965, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0170 (368)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0180 (384)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0190 (400)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x8C71, 0x0000, 0x1082, 0x3186, 0x3186, 0x3186, 0x3186, 0x3186, 0x3186, 0x3186, // 0x01A0 (416)
|
||||||
|
0x3186, 0x3186, 0x3186, 0x3186, 0x2965, 0x0020, 0x0000, 0x0000, 0x9CF3, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x01B0 (432)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x01C0 (448)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x01D0 (464)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x630C, 0x0000, 0x0000, 0x0861, 0x18C3, 0x10A2, 0x10A2, 0x10A2, 0x10A2, 0x18C3, // 0x01E0 (480)
|
||||||
|
0x1082, 0x0841, 0x1082, 0x10A2, 0x0020, 0x0000, 0x0000, 0x0000, 0x528A, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x01F0 (496)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0200 (512)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0210 (528)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x4A49, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, // 0x0220 (544)
|
||||||
|
0x0861, 0x3186, 0x18C3, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x2104, 0xD6BA, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0230 (560)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0240 (576)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0250 (592)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x39C7, 0x0000, 0x3186, 0xAD75, 0x8C51, 0x0841, 0x0000, 0x0000, 0x0000, 0x4208, // 0x0260 (608)
|
||||||
|
0xD6BA, 0xFFDF, 0xE71C, 0x630C, 0x0000, 0x0000, 0x0000, 0x0000, 0x0841, 0xAD75, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0270 (624)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0280 (640)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0290 (656)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x39C7, 0x0000, 0xCE59, 0xFFFF, 0xFFFF, 0x94B2, 0x0000, 0x0000, 0x10A2, 0xE73C, // 0x02A0 (672)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xEF7D, 0x2124, 0x0000, 0x0000, 0x0000, 0x0000, 0x94B2, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x02B0 (688)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x02C0 (704)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x02D0 (720)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x2965, 0x18E3, 0xDEDB, 0x7BCF, 0xAD75, 0xEF5D, 0x2944, 0x0000, 0x5ACA, 0xFFFF, // 0x02E0 (736)
|
||||||
|
0xAD55, 0x94B2, 0xAD55, 0xF7BE, 0x8410, 0x0000, 0x0000, 0x0000, 0x0000, 0x8C51, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x02F0 (752)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0300 (768)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0310 (784)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x39E7, 0x2945, 0xA514, 0x9CF3, 0x8C71, 0xD6BB, 0x39C9, 0x0000, 0x632E, 0xF7DF, // 0x0320 (800)
|
||||||
|
0x7BEF, 0xAD54, 0x7BEF, 0xBDF7, 0xB596, 0x0000, 0x0000, 0x0000, 0x0000, 0x8C71, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0330 (816)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0340 (832)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0350 (848)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x4A49, 0x18C3, 0x9492, 0x39E7, 0x3187, 0xA48F, 0x8323, 0x5A00, 0x93A6, 0xCDD5, // 0x0360 (864)
|
||||||
|
0x4209, 0x4249, 0x2965, 0x9CD2, 0xB575, 0x0000, 0x0000, 0x0000, 0x0000, 0x9492, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0370 (880)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0380 (896)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0390 (912)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x5ACB, 0x0000, 0x9D14, 0x2905, 0x6A40, 0xE643, 0xFFAE, 0xFFF3, 0xFF70, 0xDD86, // 0x03A0 (928)
|
||||||
|
0x7240, 0x1840, 0x18C3, 0xC65A, 0x73CF, 0x0000, 0x0000, 0x0000, 0x0000, 0x8C51, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03B0 (944)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03C0 (960)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03D0 (976)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x738E, 0x0000, 0x5A6A, 0xD566, 0xFF66, 0xFFF8, 0xFFFD, 0xFFDC, 0xFFFD, 0xFFFA, // 0x03E0 (992)
|
||||||
|
0xFF0E, 0xE566, 0xC464, 0xC4CC, 0x2103, 0x0000, 0x0000, 0x0000, 0x0000, 0x6B6D, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x03F0 (1008)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0400 (1024)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0410 (1040)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x7BEF, 0x0800, 0xB440, 0xFFC6, 0xFFF3, 0xFFB4, 0xFFB2, 0xFF92, 0xFF72, 0xFF53, // 0x0420 (1056)
|
||||||
|
0xFF55, 0xFF75, 0xFEF0, 0xF542, 0x8240, 0x0000, 0x0000, 0x0000, 0x0000, 0x4228, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0430 (1072)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0440 (1088)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0450 (1104)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x8432, 0x4140, 0xFFE2, 0xFFEB, 0xFFAC, 0xFF8B, 0xFF4C, 0xFF2C, 0xFEEC, 0xFECB, // 0x0460 (1120)
|
||||||
|
0xFE6A, 0xFE08, 0xFDA7, 0xFDC3, 0xA320, 0x0000, 0x0000, 0x0000, 0x0000, 0x18E3, 0xD69A, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0470 (1136)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0480 (1152)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0490 (1168)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x9D14, 0x28A0, 0xF6E0, 0xFFE1, 0xFF43, 0xFF04, 0xFEC4, 0xFE84, 0xFE23, 0xFDE1, // 0x04A0 (1184)
|
||||||
|
0xFD60, 0xFD20, 0xFD20, 0xFD20, 0x7241, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x9CF3, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x04B0 (1200)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x04C0 (1216)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x04D0 (1232)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xB5B6, 0x0000, 0xC4A9, 0xFEC0, 0xFF00, 0xFEA0, 0xFE40, 0xFE00, 0xFDA0, 0xFD60, // 0x04E0 (1248)
|
||||||
|
0xFD40, 0xFD20, 0xEC80, 0xDCC7, 0x8C0F, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x52AA, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x04F0 (1264)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0500 (1280)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0510 (1296)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xAD75, 0x0000, 0xD69B, 0xF631, 0xF5C0, 0xFE80, 0xFE00, 0xFDC0, 0xFD60, 0xFD40, // 0x0520 (1312)
|
||||||
|
0xFCC0, 0xDC86, 0xCD93, 0xE73D, 0xE71C, 0x0861, 0x0000, 0x0000, 0x0000, 0x0000, 0x0861, 0xC618, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0530 (1328)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0540 (1344)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0550 (1360)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x632C, 0x0000, 0xD6BA, 0xFFFF, 0xF5F1, 0xFD40, 0xFD80, 0xFD20, 0xFCE0, 0xECA3, // 0x0560 (1376)
|
||||||
|
0xDD6F, 0xE6FC, 0xFFFF, 0xFFFF, 0xFFFF, 0x632C, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x5ACB, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0570 (1392)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0580 (1408)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0590 (1424)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xDEDB, 0x0861, 0x0000, 0xD69A, 0xFFFF, 0xFFFF, 0xFED8, 0xF631, 0xF610, 0xE5F2, 0xE6B9, // 0x05A0 (1440)
|
||||||
|
0xF7BF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xE71C, 0x10A2, 0x0000, 0x0000, 0x0000, 0x0000, 0x0020, 0xB5B6, 0xFFFF, 0xFFFF, 0xFFFF, // 0x05B0 (1456)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x05C0 (1472)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x05D0 (1488)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0x39E7, 0x0000, 0x4228, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7FF, 0xF7DF, 0xFFFF, // 0x05E0 (1504)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x73AE, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x3186, 0xEF7D, 0xFFFF, 0xFFFF, // 0x05F0 (1520)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0600 (1536)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0610 (1552)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x738E, 0x0000, 0x18C3, 0xDEFB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0620 (1568)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFFF, 0xCE59, 0x0020, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x6B4D, 0xFFFF, 0xFFFF, // 0x0630 (1584)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0640 (1600)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0650 (1616)
|
||||||
|
0xFFFF, 0xFFDF, 0xFFFF, 0xA514, 0x0000, 0x0000, 0x9CD3, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0660 (1632)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0x2965, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xAD55, 0xFFFF, // 0x0670 (1648)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0680 (1664)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0690 (1680)
|
||||||
|
0xFFDF, 0xFFFF, 0xD69A, 0x0861, 0x0000, 0x2945, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x06A0 (1696)
|
||||||
|
0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xFFFF, 0x7BCF, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x18C3, 0xD6BA, // 0x06B0 (1712)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x06C0 (1728)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x06D0 (1744)
|
||||||
|
0xFFFF, 0xFFDF, 0x39C7, 0x0000, 0x0000, 0x8430, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x06E0 (1760)
|
||||||
|
0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xFFFF, 0xCE79, 0x0841, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x4228, // 0x06F0 (1776)
|
||||||
|
0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0700 (1792)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, // 0x0710 (1808)
|
||||||
|
0xFFFF, 0x94B2, 0x0000, 0x0020, 0x0020, 0xCE79, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, // 0x0720 (1824)
|
||||||
|
0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xFFDF, 0x4A69, 0x0000, 0x0841, 0x0000, 0x0000, 0x0000, 0x0020, 0x0000, // 0x0730 (1840)
|
||||||
|
0x8C71, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0740 (1856)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0750 (1872)
|
||||||
|
0xEF7D, 0x2104, 0x0020, 0x0000, 0x3186, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, // 0x0760 (1888)
|
||||||
|
0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xFFFF, 0xB5B6, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0000, // 0x0770 (1904)
|
||||||
|
0x10A2, 0xD6BA, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0780 (1920)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, // 0x0790 (1936)
|
||||||
|
0x8C71, 0x0000, 0x0861, 0x0000, 0x7BCF, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, // 0x07A0 (1952)
|
||||||
|
0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xF79E, 0xEF7D, 0xFFDF, 0x528A, 0x0000, 0x0841, 0x0020, 0x0020, 0x0020, 0x0020, // 0x07B0 (1968)
|
||||||
|
0x0000, 0x630C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x07C0 (1984)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, // 0x07D0 (2000)
|
||||||
|
0x3186, 0x0000, 0x0841, 0x10A2, 0xE71C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, // 0x07E0 (2016)
|
||||||
|
0xF7BE, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xF79E, 0xF79E, 0xEF5D, 0xF7BE, 0xBDD7, 0x0841, 0x0861, 0x0841, 0x0841, 0x0841, 0x0020, // 0x07F0 (2032)
|
||||||
|
0x0020, 0x1082, 0xC638, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0800 (2048)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xBDD7, // 0x0810 (2064)
|
||||||
|
0x0020, 0x1082, 0x0000, 0x7BEF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, // 0x0820 (2080)
|
||||||
|
0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xF79E, 0xEF7D, 0xEF7D, 0xEF7D, 0xEF5D, 0xEF7D, 0x4208, 0x0020, 0x0861, 0x0861, 0x0841, 0x0841, // 0x0830 (2096)
|
||||||
|
0x0841, 0x0000, 0x630C, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0840 (2112)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x6B4D, // 0x0850 (2128)
|
||||||
|
0x0000, 0x0861, 0x2104, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, // 0x0860 (2144)
|
||||||
|
0xF7BE, 0xF7BE, 0xF79E, 0xF79E, 0xEF7D, 0xEF7D, 0xEF7D, 0xEF5D, 0xE73C, 0xF7BE, 0x8430, 0x0000, 0x1082, 0x0861, 0x0861, 0x0861, // 0x0870 (2160)
|
||||||
|
0x0861, 0x0020, 0x18C3, 0xCE79, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0880 (2176)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF5D, 0x2124, // 0x0890 (2192)
|
||||||
|
0x0861, 0x0020, 0x8410, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, // 0x08A0 (2208)
|
||||||
|
0xF7BE, 0xF79E, 0xF79E, 0xEF7D, 0xEF7D, 0xEF7D, 0xEF5D, 0xEF5D, 0xE73C, 0xEF7D, 0xB5B6, 0x0861, 0x1082, 0x1082, 0x0861, 0x0861, // 0x08B0 (2224)
|
||||||
|
0x0861, 0x0861, 0x0000, 0x8430, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x08C0 (2240)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0xA514, 0x0020, // 0x08D0 (2256)
|
||||||
|
0x10A2, 0x1082, 0xD69A, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF7BE, // 0x08E0 (2272)
|
||||||
|
0xF79E, 0xF79E, 0xEF7D, 0xEF7D, 0xEF7D, 0xEF5D, 0xEF5D, 0xE73C, 0xE73C, 0xEF5D, 0xCE79, 0x2124, 0x1082, 0x10A2, 0x1082, 0x1082, // 0x08F0 (2288)
|
||||||
|
0x0861, 0x1082, 0x0000, 0x4208, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0900 (2304)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0x4208, 0x0861, // 0x0910 (2320)
|
||||||
|
0x1082, 0x31A6, 0xF79E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, // 0x0920 (2336)
|
||||||
|
0xF79E, 0xEF7D, 0xEF7D, 0xEF7D, 0xEF5D, 0xEF5D, 0xE73C, 0xE73C, 0xE71C, 0xE71C, 0xDEDB, 0x39C7, 0x1082, 0x10A2, 0x10A2, 0x1082, // 0x0930 (2352)
|
||||||
|
0x1082, 0x1082, 0x0841, 0x18C3, 0xC618, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0940 (2368)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xA534, 0x0841, 0x18C3, // 0x0950 (2384)
|
||||||
|
0x0841, 0x630C, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xF79E, // 0x0960 (2400)
|
||||||
|
0xEF7D, 0xEF7D, 0xEF7D, 0xEF5D, 0xEF5D, 0xE73C, 0xE73C, 0xE73C, 0xE71C, 0xDEFB, 0xE73C, 0x4A49, 0x0861, 0x18C3, 0x10A2, 0x10A2, // 0x0970 (2416)
|
||||||
|
0x10A2, 0x1082, 0x1082, 0x0841, 0x9CD3, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0980 (2432)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF7D, 0x3186, 0x1082, 0x18E3, // 0x0990 (2448)
|
||||||
|
0x0861, 0x94B2, 0xFFFF, 0xFFDF, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xF79E, 0xEF7D, // 0x09A0 (2464)
|
||||||
|
0xEF7D, 0xEF7D, 0xEF5D, 0xEF5D, 0xE73C, 0xE73C, 0xE73C, 0xE71C, 0xE71C, 0xDEDB, 0xE73C, 0x4A69, 0x1082, 0x18E3, 0x18C3, 0x10A2, // 0x09B0 (2480)
|
||||||
|
0x10A2, 0x10A2, 0x10A2, 0x0020, 0x73AE, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x09C0 (2496)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xFFFF, 0x94B2, 0x0841, 0x18E3, 0x18E3, // 0x09D0 (2512)
|
||||||
|
0x0861, 0xAD75, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xF79E, 0xEF7D, 0xEF7D, // 0x09E0 (2528)
|
||||||
|
0xEF7D, 0xEF5D, 0xEF5D, 0xE73C, 0xE73C, 0xE73C, 0xE71C, 0xE71C, 0xDEFB, 0xDEDB, 0xE73C, 0x52AA, 0x10A2, 0x2104, 0x18E3, 0x18C3, // 0x09F0 (2544)
|
||||||
|
0x18C3, 0x18C3, 0x10A2, 0x0841, 0x630C, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0A00 (2560)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x632C, 0x0861, 0x18E4, 0x18E4, // 0x0A10 (2576)
|
||||||
|
0x1082, 0xC638, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xF79E, 0xEF7D, 0xEF7D, 0xEF7D, // 0x0A20 (2592)
|
||||||
|
0xEF5D, 0xEF5D, 0xE73C, 0xE73C, 0xE73C, 0xE71C, 0xE71C, 0xDEFB, 0xDEFB, 0xD6BA, 0xE71C, 0x6B4D, 0x10A2, 0x18C3, 0x18C3, 0x10A2, // 0x0A30 (2608)
|
||||||
|
0x10A2, 0x10A2, 0x18C3, 0x0861, 0x5AEB, 0xE73C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0A40 (2624)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x8410, 0x0862, 0x3143, 0x2924, // 0x0A50 (2640)
|
||||||
|
0x0882, 0xBDD7, 0xFFFF, 0xFFDF, 0xFFDF, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xF79E, 0xEF7D, 0xEF7D, 0xEF7D, 0xEF5D, // 0x0A60 (2656)
|
||||||
|
0xEF5D, 0xE73C, 0xE73C, 0xE73C, 0xE71C, 0xE71C, 0xDEFB, 0xDEFB, 0xDEDB, 0xDEDB, 0xE73C, 0x630C, 0x2103, 0x4A69, 0x632C, 0x6B4D, // 0x0A70 (2672)
|
||||||
|
0x528A, 0x2965, 0x18C3, 0x1081, 0x738E, 0xE73C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0A80 (2688)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xB596, 0x7A40, 0xECA0, 0xCC00, // 0x0A90 (2704)
|
||||||
|
0x3941, 0xA535, 0xFFFF, 0xF7BE, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xF79E, 0xEF7D, 0xEF7D, 0xEF7D, 0xEF5D, 0xEF5D, // 0x0AA0 (2720)
|
||||||
|
0xE73C, 0xE73C, 0xE73C, 0xE71C, 0xE71C, 0xDEFB, 0xDEFB, 0xDEFB, 0xD6DB, 0xCE38, 0xC618, 0x4A48, 0x4A49, 0x6B6D, 0x6B4D, 0x6B4D, // 0x0AB0 (2736)
|
||||||
|
0x6B4D, 0x630C, 0x3186, 0x18E4, 0x9492, 0xEF7D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0AC0 (2752)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xC488, 0xFD41, 0xFE6D, 0xFE6A, // 0x0AD0 (2768)
|
||||||
|
0xDC60, 0x5A25, 0xB5D8, 0xFFFF, 0xF7BE, 0xF7BE, 0xF7BE, 0xF79E, 0xF79E, 0xF79E, 0xEF7D, 0xEF7D, 0xEF7D, 0xEF5D, 0xEF5D, 0xE73C, // 0x0AE0 (2784)
|
||||||
|
0xE73C, 0xE73C, 0xE71C, 0xE71C, 0xDEFB, 0xDEFB, 0xDEDB, 0xD6BB, 0xBCAB, 0xD462, 0xD462, 0x49E4, 0x10C3, 0x18C3, 0x18C3, 0x18C3, // 0x0AF0 (2800)
|
||||||
|
0x18C3, 0x18E3, 0x10A3, 0x49C4, 0xB575, 0xF7BF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0B00 (2816)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xCD70, 0xECA0, 0xFF14, 0xFF9B, 0xFF7B, // 0x0B10 (2832)
|
||||||
|
0xFECF, 0xC3A0, 0x3143, 0x9CF3, 0xFFFF, 0xF7BE, 0xF79E, 0xF79E, 0xF79E, 0xEF7D, 0xEF7D, 0xEF7D, 0xEF5D, 0xEF5D, 0xE73C, 0xE73C, // 0x0B20 (2848)
|
||||||
|
0xE73C, 0xE71C, 0xE71C, 0xDEFB, 0xDEFB, 0xDEDB, 0xDEFB, 0xC617, 0xDC60, 0xFD60, 0xFD20, 0x3120, 0x0000, 0x0000, 0x0000, 0x0000, // 0x0B30 (2864)
|
||||||
|
0x0000, 0x0000, 0x3900, 0xE460, 0xB46A, 0xEF9F, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0B40 (2880)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xD5F4, 0xDC20, 0xFE8E, 0xFF59, 0xFF36, 0xFF36, // 0x0B50 (2896)
|
||||||
|
0xFF59, 0xFE6B, 0xA300, 0x18E4, 0x8410, 0xFFBE, 0xF7BE, 0xEF7D, 0xF79E, 0xEF7D, 0xEF7D, 0xEF5D, 0xEF5D, 0xE73C, 0xE73C, 0xE73C, // 0x0B60 (2912)
|
||||||
|
0xE71C, 0xE71C, 0xDEFB, 0xDEFB, 0xDEDB, 0xDEBA, 0xDEFB, 0xC5B5, 0xE4A1, 0xFEF2, 0xF716, 0x3164, 0x18E4, 0x2103, 0x1082, 0x1082, // 0x0B70 (2928)
|
||||||
|
0x0021, 0x1061, 0xD5D0, 0xFE27, 0xB3E3, 0xCE9B, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0B80 (2944)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF77D, 0xE697, 0xDDAF, 0xD4C8, 0xE480, 0xFE29, 0xFF36, 0xFF15, 0xFF35, 0xFF15, // 0x0B90 (2960)
|
||||||
|
0xFF15, 0xFF36, 0xFDA5, 0x6A42, 0x1905, 0x6B4C, 0xE73C, 0xFFDF, 0xEF5D, 0xEF7D, 0xEF5D, 0xEF5D, 0xE73C, 0xE73C, 0xE73C, 0xE71C, // 0x0BA0 (2976)
|
||||||
|
0xE71C, 0xDEFB, 0xDEFB, 0xDEDB, 0xDEDB, 0xD6BA, 0xDEDB, 0xBDB5, 0xE4C3, 0xFF56, 0xFFDB, 0xAD10, 0x10A2, 0x10C3, 0x18E4, 0x1082, // 0x0BB0 (2992)
|
||||||
|
0x2922, 0xC5B1, 0xFFDC, 0xFED1, 0xB3A2, 0xBE19, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0BC0 (3008)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xE6B8, 0xD484, 0xE4C0, 0xF584, 0xFE28, 0xFECF, 0xFF14, 0xFF13, 0xFF13, 0xFF13, 0xFF13, // 0x0BD0 (3024)
|
||||||
|
0xFF13, 0xFF14, 0xFEF0, 0xDC80, 0x41C5, 0x2945, 0x5269, 0xCE59, 0xF7BE, 0xEF5D, 0xEF5D, 0xE73C, 0xE73C, 0xE73C, 0xE71C, 0xE71C, // 0x0BE0 (3040)
|
||||||
|
0xDEFB, 0xDEFB, 0xDEDB, 0xDEDB, 0xD6BA, 0xD69A, 0xD6DB, 0xBD95, 0xE4E2, 0xFF33, 0xFF36, 0xFF97, 0xDDF1, 0x8B66, 0x7AE4, 0x9BC7, // 0x0BF0 (3056)
|
||||||
|
0xEEB2, 0xFF97, 0xFF37, 0xFEF0, 0xC3E0, 0xB5B7, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0C00 (3072)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xD52B, 0xFD60, 0xFECD, 0xFF33, 0xFF13, 0xFF12, 0xFEF1, 0xFEF1, 0xFEF1, 0xFEF1, 0xFEF1, // 0x0C10 (3088)
|
||||||
|
0xFEF1, 0xFEF1, 0xFF12, 0xFE69, 0x9B41, 0x31A8, 0x31A6, 0x39E7, 0xB5B6, 0xF79E, 0xE73C, 0xE73C, 0xE73C, 0xE71C, 0xE71C, 0xDEFB, // 0x0C20 (3104)
|
||||||
|
0xDEFB, 0xDEDB, 0xDEDB, 0xD6BA, 0xD6BA, 0xD699, 0xD6BA, 0xBD94, 0xE502, 0xFF12, 0xFF15, 0xFEF4, 0xFF55, 0xFF95, 0xFF54, 0xFF95, // 0x0C30 (3120)
|
||||||
|
0xFF35, 0xFEF4, 0xFF14, 0xFF14, 0xF5A4, 0xB426, 0xE75E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0C40 (3136)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xD54C, 0xFDA0, 0xFECE, 0xFEF0, 0xFECF, 0xFEEF, 0xFEEF, 0xFEF0, 0xFEEF, 0xFEF0, 0xFEF0, // 0x0C50 (3152)
|
||||||
|
0xFEF0, 0xFEEF, 0xFEF0, 0xFEEF, 0xF582, 0x6244, 0x39E8, 0x39C6, 0x528A, 0xE71C, 0xE73C, 0xE71C, 0xE71C, 0xE71C, 0xDEFB, 0xDEFB, // 0x0C60 (3168)
|
||||||
|
0xDEDB, 0xDEDB, 0xD6BA, 0xD6BA, 0xD69A, 0xCE79, 0xCE9A, 0xBD94, 0xE522, 0xFF10, 0xFEF2, 0xFEF2, 0xFEF2, 0xFEF2, 0xFEF2, 0xFEF2, // 0x0C70 (3184)
|
||||||
|
0xFEF2, 0xFF12, 0xFEF2, 0xFEF2, 0xFF12, 0xED85, 0xBC68, 0xE73D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0C80 (3200)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xD5B0, 0xF580, 0xFECB, 0xFEEE, 0xFECD, 0xFEEE, 0xFEEE, 0xFEEE, 0xFEEE, 0xFEEE, 0xFEEE, // 0x0C90 (3216)
|
||||||
|
0xFEEE, 0xFEEE, 0xFECD, 0xFECE, 0xFECA, 0xCC60, 0x41C7, 0x39C7, 0x4228, 0xCE79, 0xEF5D, 0xE71C, 0xE71C, 0xDEFB, 0xDEFB, 0xDEDB, // 0x0CA0 (3232)
|
||||||
|
0xDEDB, 0xD6BA, 0xD6BA, 0xD69A, 0xCE79, 0xCE59, 0xCE9A, 0xBD73, 0xED42, 0xFF0F, 0xFEF0, 0xFEF0, 0xFEF0, 0xFEF0, 0xFEF0, 0xFEF0, // 0x0CB0 (3248)
|
||||||
|
0xFEF0, 0xFEF0, 0xFEF0, 0xFEF0, 0xFEF0, 0xFF31, 0xF628, 0xC4A7, 0xDE57, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0CC0 (3264)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDE13, 0xF560, 0xFEC9, 0xFECD, 0xFECC, 0xFECC, 0xFECC, 0xFECC, 0xFECC, 0xFECC, 0xFECC, // 0x0CD0 (3280)
|
||||||
|
0xFEEC, 0xFEEC, 0xFECC, 0xFECC, 0xFEED, 0xFE44, 0x9323, 0x52CC, 0x73AE, 0xD69A, 0xE73C, 0xDEFB, 0xDEFB, 0xDEFB, 0xDEDB, 0xDEDB, // 0x0CE0 (3296)
|
||||||
|
0xD6BA, 0xD6BA, 0xD69A, 0xCE79, 0xCE59, 0xD69A, 0xB5D8, 0x7B28, 0xF5A2, 0xFF0F, 0xFECE, 0xFEEE, 0xFEEE, 0xFEEE, 0xFEEE, 0xFEEE, // 0x0CF0 (3312)
|
||||||
|
0xFEEE, 0xFEEE, 0xFEEE, 0xFEEE, 0xFEEE, 0xFECD, 0xFF10, 0xFEA9, 0xCC60, 0xD615, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0D00 (3328)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDE55, 0xED80, 0xFEA4, 0xFECA, 0xFECA, 0xFECA, 0xFECA, 0xFECA, 0xFECA, 0xFECA, 0xFEC9, // 0x0D10 (3344)
|
||||||
|
0xFEA7, 0xFEA6, 0xFEA8, 0xFEC9, 0xFECB, 0xFEEA, 0xEDA2, 0xB4F0, 0xCE9A, 0xDEFB, 0xE71C, 0xDEFB, 0xDEFB, 0xDEDB, 0xDEDB, 0xD6BA, // 0x0D20 (3360)
|
||||||
|
0xD6BA, 0xD69A, 0xCE79, 0xCE79, 0xD6BA, 0xB596, 0x4A8B, 0x72A4, 0xFE45, 0xFEEC, 0xFECC, 0xFEEC, 0xFEEC, 0xFEEC, 0xFEEC, 0xFEEC, // 0x0D30 (3376)
|
||||||
|
0xFEEC, 0xFECB, 0xFECB, 0xFEEC, 0xFEEC, 0xFEEC, 0xFECC, 0xFEA5, 0xFDE0, 0xAC8B, 0xE75E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0D40 (3392)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xE632, 0xF5E0, 0xFE80, 0xFE82, 0xFEC7, 0xFEC8, 0xFEC8, 0xFEC8, 0xFEC7, 0xFEA4, 0xFE61, // 0x0D50 (3408)
|
||||||
|
0xFE60, 0xFE60, 0xFE60, 0xFE61, 0xFE83, 0xFEA6, 0xFEA3, 0xDD22, 0xD658, 0xE75D, 0xDEDB, 0xDEDB, 0xDEDB, 0xD6BA, 0xD6BA, 0xD69A, // 0x0D60 (3424)
|
||||||
|
0xD69A, 0xD69A, 0xD6BA, 0xCE59, 0x9492, 0x5289, 0x39E9, 0x9B84, 0xFEA3, 0xFEEB, 0xFEEA, 0xFEEA, 0xFEEA, 0xFEEA, 0xFEEA, 0xFEC8, // 0x0D70 (3440)
|
||||||
|
0xFE84, 0xFE61, 0xFE61, 0xFEA5, 0xFEC9, 0xFEA7, 0xFEA2, 0xFE80, 0xBC41, 0x8C0F, 0xE71C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0D80 (3456)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDDCE, 0xFE40, 0xFEA0, 0xFE80, 0xFE80, 0xFEA2, 0xFEA2, 0xFEA2, 0xFEA0, 0xFE80, 0xFE80, // 0x0D90 (3472)
|
||||||
|
0xFEA0, 0xFEA0, 0xFEA0, 0xFE80, 0xFE80, 0xFE80, 0xFE80, 0xFE80, 0xCCE5, 0xD69A, 0xE73C, 0xE71C, 0xDEFB, 0xDEFB, 0xDEDB, 0xDEDB, // 0x0DA0 (3488)
|
||||||
|
0xD69A, 0xBDF7, 0x9CD3, 0x630C, 0x4228, 0x4A69, 0x422A, 0xB423, 0xFEC0, 0xFEA5, 0xFEE7, 0xFEC7, 0xFEC7, 0xFEC6, 0xFEA3, 0xFE80, // 0x0DB0 (3504)
|
||||||
|
0xFE80, 0xFE80, 0xFE80, 0xFE60, 0xFEA0, 0xFEC0, 0xEDC0, 0xA3A4, 0x732C, 0xAD96, 0xF79E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0DC0 (3520)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xE5A8, 0xFEC0, 0xFEA0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, // 0x0DD0 (3536)
|
||||||
|
0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEC0, 0xFEA0, 0xFEE0, 0xF640, 0x93A8, 0x8C72, 0xA534, 0xAD75, 0xA534, 0x9CF3, 0x8C51, // 0x0DE0 (3552)
|
||||||
|
0x738E, 0x5ACB, 0x4A49, 0x4A69, 0x528A, 0x4A8A, 0x5249, 0xD502, 0xFEE0, 0xFEA0, 0xFEC0, 0xFEC1, 0xFEA0, 0xFEA0, 0xFEA0, 0xFEA0, // 0x0DF0 (3568)
|
||||||
|
0xFEA0, 0xFEA0, 0xFEA0, 0xFEE0, 0xFE60, 0xC482, 0x7B09, 0x7BD0, 0xB5B7, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0E00 (3584)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDD8A, 0xFEC0, 0xFF20, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, // 0x0E10 (3600)
|
||||||
|
0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEC0, 0xFF20, 0xAC02, 0x4209, 0x4A69, 0x4A69, 0x4A69, 0x4A69, 0x4A69, // 0x0E20 (3616)
|
||||||
|
0x528A, 0x528A, 0x52AA, 0x52AA, 0x528A, 0x4A8A, 0x5A69, 0xE5C1, 0xFF00, 0xFEC0, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, 0xFEE0, // 0x0E30 (3632)
|
||||||
|
0xFEC0, 0xFEE0, 0xFF00, 0xE561, 0x9367, 0x736E, 0x9D14, 0xD6BA, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0E40 (3648)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xD617, 0xCCC5, 0xF620, 0xFEE0, 0xFF40, 0xFF40, 0xFF40, 0xFF20, 0xFF00, 0xFF00, 0xFF00, // 0x0E50 (3664)
|
||||||
|
0xFF00, 0xFF00, 0xFF00, 0xFF00, 0xFF00, 0xFF00, 0xFF00, 0xFF00, 0xFF40, 0xB483, 0x4A8B, 0x5ACA, 0x5ACB, 0x5ACB, 0x5ACB, 0x5ACB, // 0x0E60 (3680)
|
||||||
|
0x5ACB, 0x52AA, 0x52AA, 0x52AA, 0x52AA, 0x4A8A, 0x6289, 0xEE20, 0xFF20, 0xFEE0, 0xFF00, 0xFF00, 0xFF00, 0xFF00, 0xFF00, 0xFEE0, // 0x0E70 (3696)
|
||||||
|
0xFF20, 0xFEC0, 0xBC64, 0x732B, 0x8C72, 0xCE58, 0xEF7D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0E80 (3712)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF7E, 0xB576, 0x93EE, 0xA408, 0xC4A5, 0xDD63, 0xF641, 0xFEC0, 0xFF40, 0xFF80, 0xFF60, // 0x0E90 (3728)
|
||||||
|
0xFF40, 0xFF20, 0xFF20, 0xFF40, 0xFF40, 0xFF40, 0xFF20, 0xFF20, 0xFF80, 0xAC03, 0x4A6B, 0x5ACA, 0x5ACB, 0x5ACB, 0x5AEB, 0x5AEB, // 0x0EA0 (3744)
|
||||||
|
0x5AEB, 0x630C, 0x630C, 0x630C, 0x5AEB, 0x52CB, 0x5A69, 0xE5E1, 0xFF60, 0xFF20, 0xFF20, 0xFF20, 0xFF20, 0xFF20, 0xFF20, 0xFF60, // 0x0EB0 (3760)
|
||||||
|
0xF640, 0xA3A7, 0x738F, 0xAD96, 0xE71C, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0EC0 (3776)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF79E, 0xD6DB, 0xB5B8, 0x9CD4, 0x9431, 0x93EE, 0x9C0A, 0xB467, 0xD544, 0xF660, // 0x0ED0 (3792)
|
||||||
|
0xFF60, 0xFFA0, 0xFF80, 0xFF60, 0xFF40, 0xFF40, 0xFF60, 0xFFA0, 0xD521, 0x730A, 0x73CF, 0x8C71, 0x9CD3, 0x9CF3, 0xA514, 0xA534, // 0x0EE0 (3808)
|
||||||
|
0xAD55, 0xB596, 0xB5B6, 0xB596, 0xAD55, 0x9CF3, 0x83F0, 0xCD04, 0xFFA0, 0xFF40, 0xFF40, 0xFF40, 0xFF40, 0xFF40, 0xFFA0, 0xF621, // 0x0EF0 (3824)
|
||||||
|
0x8B49, 0x8431, 0xCE58, 0xF79E, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0F00 (3840)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xF79E, 0xE73C, 0xD6BB, 0xBE19, 0xA556, 0x9472, 0x9C0D, // 0x0F10 (3856)
|
||||||
|
0xB447, 0xDD82, 0xFEE0, 0xFFA0, 0xFFC0, 0xFFC0, 0xFF80, 0xC4C2, 0x730C, 0x9CF4, 0xD69A, 0xEF5D, 0xEF7D, 0xF79E, 0xF79E, 0xF7BE, // 0x0F20 (3872)
|
||||||
|
0xF7BE, 0xFFDF, 0xFFDF, 0xF7BE, 0xF7BE, 0xEF7D, 0xDF1C, 0xC530, 0xF620, 0xFFC0, 0xFFC0, 0xFFC0, 0xFFC0, 0xFF80, 0xE5A2, 0x834A, // 0x0F30 (3888)
|
||||||
|
0x8C93, 0xDEDA, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0F40 (3904)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDE, 0xEF7D, 0xD6BB, // 0x0F50 (3920)
|
||||||
|
0xAD77, 0x9452, 0x9BEB, 0xB466, 0xC524, 0xC543, 0xA3E5, 0x734D, 0xAD76, 0xEF5C, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0F60 (3936)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDF1C, 0xACB0, 0xBCA6, 0xD544, 0xCD64, 0xCD05, 0xAC07, 0x7B6D, 0x9CF4, // 0x0F70 (3952)
|
||||||
|
0xE6FB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0F80 (3968)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0F90 (3984)
|
||||||
|
0xFFDE, 0xE75D, 0xC65A, 0xA536, 0x9493, 0x8C53, 0x94B4, 0xBE18, 0xEF7D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0FA0 (4000)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xDEFC, 0xAD57, 0x9493, 0x8C73, 0x8C73, 0x94D4, 0xBE18, 0xEF5D, // 0x0FB0 (4016)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0FC0 (4032)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0FD0 (4048)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, 0xEF5C, 0xE73C, 0xEF5C, 0xF7BE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x0FE0 (4064)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, 0xEF5C, 0xE73C, 0xEF5C, 0xEF7D, 0xFFDE, 0xFFFF, // 0x0FF0 (4080)
|
||||||
|
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, // 0x1000 (4096)
|
||||||
|
};
|
|
@ -0,0 +1,94 @@
|
||||||
|
// UTFT_CPLD_PageSwitching
|
||||||
|
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
|
||||||
|
// web: http://www.RinkyDinkElectronics.com/
|
||||||
|
//
|
||||||
|
// This program is a demo of page switching on CPLD-based display modules..
|
||||||
|
//
|
||||||
|
// This demo was made for modules with a screen resolution
|
||||||
|
// of 800x480 pixels.
|
||||||
|
//
|
||||||
|
// This program requires the UTFT library.
|
||||||
|
//
|
||||||
|
// NOTE: The display will be black for 10-15 seconds during the start
|
||||||
|
//
|
||||||
|
|
||||||
|
#include <UTFT.h>
|
||||||
|
|
||||||
|
// Declare which fonts we will be using
|
||||||
|
extern uint8_t BigFont[];
|
||||||
|
extern uint8_t SevenSegNumFont[];
|
||||||
|
|
||||||
|
// Set the pins to the correct ones for your development shield
|
||||||
|
// ------------------------------------------------------------
|
||||||
|
// Arduino Mega:
|
||||||
|
// -------------------
|
||||||
|
// Standard Arduino Mega/Due shield : <display model>,38,39,40,41
|
||||||
|
// CTE TFT LCD/SD Shield for Arduino Mega : <display model>,38,39,40,41
|
||||||
|
//
|
||||||
|
// Remember to change the model parameter to suit your display module!
|
||||||
|
UTFT myGLCD(CPLD,38,39,40,41);
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
myGLCD.InitLCD();
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
myGLCD.setBackColor(VGA_TRANSPARENT);
|
||||||
|
|
||||||
|
myGLCD.setBrightness(0);
|
||||||
|
for (byte pg=0; pg<8; pg++)
|
||||||
|
{
|
||||||
|
myGLCD.setWritePage(pg);
|
||||||
|
myGLCD.clrScr();
|
||||||
|
for (int ln=0; ln<480; ln+=2)
|
||||||
|
{
|
||||||
|
switch (pg)
|
||||||
|
{
|
||||||
|
case 0:
|
||||||
|
myGLCD.setColor(ln/2, 0, 0);
|
||||||
|
break;
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(0, ln/2, 0);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(0, 0, ln/2);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(ln/4, ln/2, 0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0, ln/2, ln/2);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(ln/2, 0, ln/2);
|
||||||
|
break;
|
||||||
|
case 6:
|
||||||
|
myGLCD.setColor(ln/2, ln/2, 0);
|
||||||
|
break;
|
||||||
|
case 7:
|
||||||
|
myGLCD.setColor(0, ln/2, ln/4);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.drawLine(0, ln, 799, ln);
|
||||||
|
myGLCD.drawLine(0, ln+1, 799, ln+1);
|
||||||
|
}
|
||||||
|
myGLCD.setColor(VGA_WHITE);
|
||||||
|
myGLCD.setFont(BigFont);
|
||||||
|
myGLCD.print("This is page:", CENTER, 200);
|
||||||
|
myGLCD.setFont(SevenSegNumFont);
|
||||||
|
myGLCD.printNumI(pg, CENTER, 240);
|
||||||
|
}
|
||||||
|
myGLCD.setBrightness(16);
|
||||||
|
|
||||||
|
while(1)
|
||||||
|
{
|
||||||
|
for (byte pg=0; pg<8; pg++)
|
||||||
|
{
|
||||||
|
myGLCD.setDisplayPage(pg);
|
||||||
|
delay(500);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,336 @@
|
||||||
|
// UTFT_Demo_128x128_Serial
|
||||||
|
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
|
||||||
|
// web: http://www.RinkyDinkElectronics.com/
|
||||||
|
//
|
||||||
|
// This program is a demo of how to use most of the functions
|
||||||
|
// of the library with a supported display modules.
|
||||||
|
//
|
||||||
|
// This demo was made to work on the 128x128 modules.
|
||||||
|
// Any other size displays may cause strange behaviour.
|
||||||
|
//
|
||||||
|
// This program requires the UTFT library.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include <UTFT.h>
|
||||||
|
|
||||||
|
// Declare which fonts we will be using
|
||||||
|
extern uint8_t SmallFont[];
|
||||||
|
|
||||||
|
// Declare an instance of the class
|
||||||
|
UTFT myGLCD(LPH9135,6,5,2,3,4); // Remember to change the model parameter to suit your display module!
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
randomSeed(analogRead(0));
|
||||||
|
|
||||||
|
// Setup the LCD
|
||||||
|
myGLCD.InitLCD(PORTRAIT);
|
||||||
|
myGLCD.setFont(SmallFont);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
byte buf[126];
|
||||||
|
int x, x2;
|
||||||
|
int y, y2;
|
||||||
|
int r;
|
||||||
|
|
||||||
|
// Clear the screen and draw the frame
|
||||||
|
myGLCD.clrScr();
|
||||||
|
myGLCD.setContrast(64);
|
||||||
|
|
||||||
|
myGLCD.setColor(255, 0, 0);
|
||||||
|
myGLCD.fillRect(0,0,127,12);
|
||||||
|
myGLCD.setColor(64, 64, 64);
|
||||||
|
myGLCD.fillRect(0,117,127,127);
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.setBackColor(255,0,0);
|
||||||
|
myGLCD.print("Universal TFT", CENTER, 0);
|
||||||
|
myGLCD.setBackColor(64,64,64);
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("H.Karlsen", LEFT, 116);
|
||||||
|
myGLCD.print("(C)2015", RIGHT, 116);
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
myGLCD.drawRect(0,13,127,116);
|
||||||
|
|
||||||
|
// Draw crosshairs
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
myGLCD.drawLine(63,14,63,115);
|
||||||
|
myGLCD.drawLine(1,63,126,63);
|
||||||
|
for (int i=3; i<128; i+=10)
|
||||||
|
myGLCD.drawLine(i, 61, i, 65);
|
||||||
|
for (int i=14; i<118; i+=10)
|
||||||
|
myGLCD.drawLine(61, i, 65, i);
|
||||||
|
|
||||||
|
// Draw sin-, cos- and tan-lines
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
myGLCD.setBackColor(0,0,0);
|
||||||
|
myGLCD.print("Sin", 2, 14);
|
||||||
|
for (int i=1; i<126; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,63+(sin(((i*2.85)*3.14)/180)*45));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
myGLCD.print("Cos", 2, 26);
|
||||||
|
for (int i=1; i<126; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,63+(cos(((i*2.85)*3.14)/180)*45));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("Tan", 2, 38);
|
||||||
|
for (int i=1; i<126; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,63+(tan(((i*2.85)*3.14)/180)));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,126,115);
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
myGLCD.drawLine(63,14,63,115);
|
||||||
|
myGLCD.drawLine(1,63,126,63);
|
||||||
|
|
||||||
|
// Draw a moving sinewave
|
||||||
|
x=1;
|
||||||
|
for (int i=1; i<3654; i++)
|
||||||
|
{
|
||||||
|
x++;
|
||||||
|
if (x==127)
|
||||||
|
x=1;
|
||||||
|
if (i>127)
|
||||||
|
{
|
||||||
|
if ((x==63)||(buf[x-1]==63))
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
else
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.drawPixel(x,buf[x-1]);
|
||||||
|
}
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
y=63+(sin(((i*1.3)*3.14)/180)*45);
|
||||||
|
myGLCD.drawPixel(x,y);
|
||||||
|
buf[x-1]=y;
|
||||||
|
// delay(3);
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,126,115);
|
||||||
|
|
||||||
|
// Draw some filled rectangles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillRect(10+(i*10),10+(i*10), 60+(i*10), 60+(i*10));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,126,115);
|
||||||
|
|
||||||
|
// Draw some filled, rounded rectangles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillRoundRect(70-(i*10),10+(i*10), 120-(i*10), 60+(i*10));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,126,115);
|
||||||
|
|
||||||
|
// Draw some filled circles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillCircle(30+(i*10),35+(i*10), 25);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,126,115);
|
||||||
|
|
||||||
|
// Draw some lines in a pattern
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=11; i<115; i+=3)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, i-10, 115);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=112; i>14; i-=3)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(126, i, i+14, 14);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=115; i>14; i-=3)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, 116-i, 14);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=14; i<115; i+=3)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(126, i, 140-i, 115);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,126,115);
|
||||||
|
|
||||||
|
// Draw some random circles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=22+random(85);
|
||||||
|
y=35+random(59);
|
||||||
|
r=random(20);
|
||||||
|
myGLCD.drawCircle(x, y, r);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,126,115);
|
||||||
|
|
||||||
|
// Draw some random rectangles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(124);
|
||||||
|
y=15+random(101);
|
||||||
|
x2=2+random(124);
|
||||||
|
y2=15+random(101);
|
||||||
|
myGLCD.drawRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,126,115);
|
||||||
|
|
||||||
|
// Draw some random rounded rectangles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(124);
|
||||||
|
y=15+random(101);
|
||||||
|
x2=2+random(124);
|
||||||
|
y2=15+random(101);
|
||||||
|
myGLCD.drawRoundRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,126,115);
|
||||||
|
|
||||||
|
// Draw some random lines
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(124);
|
||||||
|
y=15+random(101);
|
||||||
|
x2=2+random(124);
|
||||||
|
y2=15+random(101);
|
||||||
|
myGLCD.drawLine(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,126,115);
|
||||||
|
|
||||||
|
// Draw some random pixels
|
||||||
|
for (int i=0; i<5000; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
myGLCD.drawPixel(2+random(124), 15+random(101));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay (2000);
|
||||||
|
|
||||||
|
// Set up the "Finished"-screen
|
||||||
|
myGLCD.setContrast(0);
|
||||||
|
myGLCD.fillScr(0,0,255);
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
myGLCD.fillRoundRect(2, 40, 125, 88);
|
||||||
|
|
||||||
|
myGLCD.setColor(255,255,255);
|
||||||
|
myGLCD.setBackColor(255,0,0);
|
||||||
|
myGLCD.print("That's it!", CENTER, 46);
|
||||||
|
myGLCD.print("Restarting in a", CENTER, 66);
|
||||||
|
myGLCD.print("few seconds...", CENTER, 76);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.setBackColor(0,0,255);
|
||||||
|
myGLCD.print("Runtime: (msecs)", CENTER, 108);
|
||||||
|
myGLCD.printNumI(millis(), CENTER, 118);
|
||||||
|
|
||||||
|
myGLCD.setContrast(64);
|
||||||
|
|
||||||
|
delay (10000);
|
||||||
|
|
||||||
|
// Fade screen to black
|
||||||
|
for (int i=64; i>0; i--)
|
||||||
|
{
|
||||||
|
myGLCD.setContrast(i);
|
||||||
|
delay(100);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,331 @@
|
||||||
|
// UTFT_Demo_160x128_Serial
|
||||||
|
// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved
|
||||||
|
// web: http://www.RinkyDinkElectronics.com/
|
||||||
|
//
|
||||||
|
// This program is a demo of how to use most of the functions
|
||||||
|
// of the library with a supported display modules.
|
||||||
|
//
|
||||||
|
// This demo was made for modules with a screen resolution
|
||||||
|
// of 160x128 pixels.
|
||||||
|
//
|
||||||
|
// This program requires the UTFT library.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include <UTFT.h>
|
||||||
|
|
||||||
|
// Declare which fonts we will be using
|
||||||
|
extern uint8_t SmallFont[];
|
||||||
|
|
||||||
|
// Usage: myGLCD(<model code>, SDA, SCL, CS, RST[, RS]);
|
||||||
|
//
|
||||||
|
// When using the DM-TFT18-101 and shield from DisplayModule you should use the following:
|
||||||
|
// UTFT myGLCD(DMTFT18101,2,3,4,6,5);
|
||||||
|
//
|
||||||
|
// When using the TFT18SP shield from ElecFreaks you should use the following:
|
||||||
|
// UTFT myGLCD(TFT18SHLD,7,6,5,3,4);
|
||||||
|
//
|
||||||
|
UTFT myGLCD(ITDB18SP,11,10,9,12,8); // Remember to change the model parameter to suit your display module!
|
||||||
|
|
||||||
|
void setup()
|
||||||
|
{
|
||||||
|
randomSeed(analogRead(0));
|
||||||
|
|
||||||
|
// Setup the LCD
|
||||||
|
myGLCD.InitLCD();
|
||||||
|
myGLCD.setFont(SmallFont);
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop()
|
||||||
|
{
|
||||||
|
int buf[158];
|
||||||
|
int x, x2;
|
||||||
|
int y, y2;
|
||||||
|
int r;
|
||||||
|
|
||||||
|
// Clear the screen and draw the frame
|
||||||
|
myGLCD.clrScr();
|
||||||
|
|
||||||
|
myGLCD.setColor(255, 0, 0);
|
||||||
|
myGLCD.fillRect(0, 0, 159, 13);
|
||||||
|
myGLCD.setColor(64, 64, 64);
|
||||||
|
myGLCD.fillRect(0, 114, 159, 127);
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.setBackColor(255, 0, 0);
|
||||||
|
myGLCD.print("Universal TFT Lib.", CENTER, 1);
|
||||||
|
myGLCD.setBackColor(64, 64, 64);
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("H.Karlsen", LEFT, 114);
|
||||||
|
myGLCD.print("(C)2015", RIGHT, 114);
|
||||||
|
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.drawRect(0, 13, 159, 113);
|
||||||
|
|
||||||
|
// Draw crosshairs
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.setBackColor(0, 0, 0);
|
||||||
|
myGLCD.drawLine(79, 14, 79, 113);
|
||||||
|
myGLCD.drawLine(1, 63, 158, 63);
|
||||||
|
|
||||||
|
for (int i=9; i<150; i+=10)
|
||||||
|
myGLCD.drawLine(i, 61, i, 65);
|
||||||
|
for (int i=19; i<110; i+=10)
|
||||||
|
myGLCD.drawLine(77, i, 81, i);
|
||||||
|
|
||||||
|
// Draw sin-, cos- and tan-lines
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
myGLCD.print("Sin", 5, 15);
|
||||||
|
for (int i=1; i<158; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,63+(sin(((i*2.27)*3.14)/180)*40));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
myGLCD.print("Cos", 5, 27);
|
||||||
|
for (int i=1; i<158; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,63+(cos(((i*2.27)*3.14)/180)*40));
|
||||||
|
}
|
||||||
|
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
myGLCD.print("Tan", 5, 39);
|
||||||
|
for (int i=1; i<158; i++)
|
||||||
|
{
|
||||||
|
myGLCD.drawPixel(i,63+(tan(((i*2.27)*3.14)/180)));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,158,113);
|
||||||
|
myGLCD.setColor(0, 0, 255);
|
||||||
|
myGLCD.setBackColor(0, 0, 0);
|
||||||
|
myGLCD.drawLine(79, 14, 79, 113);
|
||||||
|
myGLCD.drawLine(1, 63, 158, 63);
|
||||||
|
|
||||||
|
// Draw a moving sinewave
|
||||||
|
x=1;
|
||||||
|
for (int i=1; i<(158*20); i++)
|
||||||
|
{
|
||||||
|
x++;
|
||||||
|
if (x==159)
|
||||||
|
x=1;
|
||||||
|
if (i>159)
|
||||||
|
{
|
||||||
|
if ((x==79)||(buf[x-1]==63))
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
else
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.drawPixel(x,buf[x-1]);
|
||||||
|
}
|
||||||
|
myGLCD.setColor(0,255,255);
|
||||||
|
y=63+(sin(((i*2.5)*3.14)/180)*(40-(i / 100)));
|
||||||
|
myGLCD.drawPixel(x,y);
|
||||||
|
buf[x-1]=y;
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,158,113);
|
||||||
|
|
||||||
|
// Draw some filled rectangles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillRect(39+(i*10), 23+(i*10), 59+(i*10), 43+(i*10));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,158,113);
|
||||||
|
|
||||||
|
// Draw some filled, rounded rectangles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillRoundRect(99-(i*10), 23+(i*10), 119-(i*10), 43+(i*10));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,158,113);
|
||||||
|
|
||||||
|
// Draw some filled circles
|
||||||
|
for (int i=1; i<6; i++)
|
||||||
|
{
|
||||||
|
switch (i)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
myGLCD.setColor(255,0,255);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
myGLCD.setColor(255,0,0);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
myGLCD.setColor(0,255,0);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
myGLCD.setColor(0,0,255);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
myGLCD.setColor(255,255,0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
myGLCD.fillCircle(49+(i*10),33+(i*10), 15);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,158,113);
|
||||||
|
|
||||||
|
// Draw some lines in a pattern
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=14; i<113; i+=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, (i*1.44)-10, 112);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (255,0,0);
|
||||||
|
for (int i=112; i>15; i-=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(158, i, (i*1.44)-12, 14);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=112; i>15; i-=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(1, i, 172-(i*1.44), 14);
|
||||||
|
}
|
||||||
|
myGLCD.setColor (0,255,255);
|
||||||
|
for (int i=15; i<112; i+=5)
|
||||||
|
{
|
||||||
|
myGLCD.drawLine(158, i, 171-(i*1.44), 112);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,158,113);
|
||||||
|
|
||||||
|
// Draw some random circles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=22+random(116);
|
||||||
|
y=35+random(57);
|
||||||
|
r=random(20);
|
||||||
|
myGLCD.drawCircle(x, y, r);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,158,113);
|
||||||
|
|
||||||
|
// Draw some random rectangles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(156);
|
||||||
|
y=16+random(95);
|
||||||
|
x2=2+random(156);
|
||||||
|
y2=16+random(95);
|
||||||
|
myGLCD.drawRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,158,113);
|
||||||
|
|
||||||
|
// Draw some random rounded rectangles
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(156);
|
||||||
|
y=16+random(95);
|
||||||
|
x2=2+random(156);
|
||||||
|
y2=16+random(95);
|
||||||
|
myGLCD.drawRoundRect(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,158,113);
|
||||||
|
|
||||||
|
for (int i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
x=2+random(156);
|
||||||
|
y=16+random(95);
|
||||||
|
x2=2+random(156);
|
||||||
|
y2=16+random(95);
|
||||||
|
myGLCD.drawLine(x, y, x2, y2);
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.setColor(0,0,0);
|
||||||
|
myGLCD.fillRect(1,14,158,113);
|
||||||
|
|
||||||
|
for (int i=0; i<5000; i++)
|
||||||
|
{
|
||||||
|
myGLCD.setColor(random(255), random(255), random(255));
|
||||||
|
myGLCD.drawPixel(2+random(156), 16+random(95));
|
||||||
|
}
|
||||||
|
|
||||||
|
delay(2000);
|
||||||
|
|
||||||
|
myGLCD.fillScr(0, 0, 255);
|
||||||
|
myGLCD.setColor(255, 0, 0);
|
||||||
|
myGLCD.fillRoundRect(10, 17, 149, 72);
|
||||||
|
|
||||||
|
myGLCD.setColor(255, 255, 255);
|
||||||
|
myGLCD.setBackColor(255, 0, 0);
|
||||||
|
myGLCD.print("That's it!", CENTER, 20);
|
||||||
|
myGLCD.print("Restarting in a", CENTER, 45);
|
||||||
|
myGLCD.print("few seconds...", CENTER, 57);
|
||||||
|
|
||||||
|
myGLCD.setColor(0, 255, 0);
|
||||||
|
myGLCD.setBackColor(0, 0, 255);
|
||||||
|
myGLCD.print("Runtime: (msecs)", CENTER, 103);
|
||||||
|
myGLCD.printNumI(millis(), CENTER, 115);
|
||||||
|
|
||||||
|
delay (10000);
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue