i downloaded library from https://github.com/gauravmm/ht1632-for-arduino
for sure electronic 3208 led display.
i copied example code website
#include <ht1632.h> // include before <images.h> or font.
#include <images.h>
void setup () {
ht1632.begin(pincs1, pinwr, pindata);
// pincs1, pinwr , pindata numbers of output pins
// connected appropriate pins on ht1632.
}
void loop () {
// definitions img_heart , width , height available in images.h.
// step performs drawing in internal memory.
ht1632.drawimage(img_heart, img_heart_width, img_heart_height, (out_size - img_heart_width)/2, 0);
ht1632.render(); // updates display on screen.
delay(1000);
ht1632.clear(); // zeroes out internal memory.
ht1632.render(); // updates screen display.
delay(1000);
}
when try verify it. got error
fatal error: ht1632.h: no such file or directory
when changed arduino.h, error disappeared. ( right way it?)
but next problem this:
fatal error: images.h: no such file or directory
can please me out this? =/
for sure electronic 3208 led display.
i copied example code website
#include <ht1632.h> // include before <images.h> or font.
#include <images.h>
void setup () {
ht1632.begin(pincs1, pinwr, pindata);
// pincs1, pinwr , pindata numbers of output pins
// connected appropriate pins on ht1632.
}
void loop () {
// definitions img_heart , width , height available in images.h.
// step performs drawing in internal memory.
ht1632.drawimage(img_heart, img_heart_width, img_heart_height, (out_size - img_heart_width)/2, 0);
ht1632.render(); // updates display on screen.
delay(1000);
ht1632.clear(); // zeroes out internal memory.
ht1632.render(); // updates screen display.
delay(1000);
}
when try verify it. got error
fatal error: ht1632.h: no such file or directory
when changed arduino.h, error disappeared. ( right way it?)
but next problem this:
fatal error: images.h: no such file or directory
can please me out this? =/
hi kevin,
paul
i downloaded library https://github.com/gauravmm/ht1632-for-arduinoyes did put files? have installed libraries before? must download libraries folder called libraries inside sketchbook folder. re-start ide.
i copied example code websiteplease use code tags when posting code. please edit original post , put them in (it </> icon).
when changed arduino.h, error disappeared. ( right way it?)that did absolutely nothing fix problem!
paul
Arduino Forum > Using Arduino > LEDs and Multiplexing > HT1632.h
arduino
Comments
Post a Comment