Projekte
workwind
BGX1 firmware
images.c
Projekte
Forum
Doku
Öffentliche Projekte
Startseite
Beispielprogramme
Projekte von anderen
Welcome
Username
Passwort
Eingeloggt bleiben
Zugangsdaten vergessen?
Registrieren
Projektverwaltung
⇨ Please choose! ⇦
——————————————————
✎ Create new project...
★ Browse existing projects...
——————————————————
⚬ MotorTest#1
⚬ C Tutorial 8#1
⚬ NIBO2 C Project#1
⚙ C Tutorial 15#1
⚬ 2010_11_18_el_test001#1
BGX1 firmware
adc.c
adc.h
battery.xbm
bgx1_protocol.h
Biene.xbm
display.c
display.h
exclamation.xbm
gfx.c
gfx.h
i2c.c
i2c.h
i2cconf.h
images.c
images.h
iodefs.h
iodefs_bgx1.h
main.c
MarsRover.xbm
Nase.xbm
nicai_logo.xbm
pwm.c
pwm.h
question.xbm
smily1.xbm
smily2.xbm
Project details
Compiler settings
Nachrichten
Sie sind nicht eingeloggt.
Neuigkeiten
★
NiboRoboLib 3.6
2017-01-17: Neue Version 3.6
★
NiboRoboLib 3.4.1
2016-04-16: Neue Version 3.4.1
★
Coding Tutorial
2015-11-22: Jetzt auch für den NIBO burger!
Site-Statistic
7416 private projects
378 public projects
16172649 lines compiled
58122 builds
NIBO
@
bgx1_firmware/images.c [read only]
/* */ #include "images.h" #include "nicai_logo.xbm" #include "Nase.xbm" #include "Biene.xbm" #include "battery.xbm" #include "smily1.xbm" #include "smily2.xbm" #include "question.xbm" #include "exclamation.xbm" uint8_t image_getWidth(uint8_t id) { switch (id) { case IMG_NICAI_LOGO: return nicai_logo_width; // case IMG_NOSE: return Nase_width; // case IMG_BEE: return Biene_width; case IMG_BATTERY: return battery_width; case IMG_SMILY1: return smily1_width; case IMG_SMILY2: return smily2_width; case IMG_QUESTION: return question_width; case IMG_EXCLAMATION: return exclamation_width; } return 0; } uint8_t image_getHeight(uint8_t id) { switch (id) { case IMG_NICAI_LOGO: return nicai_logo_height; // case IMG_NOSE: return Nase_height; // case IMG_BEE: return Biene_height; case IMG_BATTERY: return battery_height; case IMG_SMILY1: return smily1_height; case IMG_SMILY2: return smily2_height; case IMG_QUESTION: return question_height; case IMG_EXCLAMATION: return exclamation_height; } return 0; } PGM_P image_getBits(uint8_t id) { switch (id) { case IMG_NICAI_LOGO: return (PGM_P)nicai_logo_bits; // case IMG_NOSE: return (PGM_P)Nase_bits; // case IMG_BEE: return (PGM_P)Biene_bits; case IMG_BATTERY: return (PGM_P)battery_bits; case IMG_SMILY1: return (PGM_P)smily1_bits; case IMG_SMILY2: return (PGM_P)smily2_bits; case IMG_QUESTION: return (PGM_P)question_bits; case IMG_EXCLAMATION: return (PGM_P)exclamation_bits; } return 0; }
Compiler results:
Werbung
Online
bradlytennant85
christelsingleton9
coreybrowning490
jaimemenhennitt99
KylieSat
marilynnhardee258
Marinagtq
ramonita59j0588088
sherrylfelder0511264
tricialillibridge3