ឧទាហរណ៍មួយចំនួន
ថាតើ Arduino អាចអ្វីបាខ្លះ
this blog will so you some solution of electronic project, we are open source. thank you !
Thursday, December 19, 2019
Tuesday, December 17, 2019
Led 16x64 diplay time, date, year
1.Schematic Diagram
this schematic is a sample and I will update next time
if you have question contact me Facebook
2.Code
a.Main Code : Dowload this code
dowload code name : MAX7219-_DHT11-_DS1307_Arduino_Mega
b.Library :
dowload library for DHT11
dowload library for MD_DS1307
3. Code Detail
The cade have 3 mode function { getmodea (), getmodeb(), getmodec() }
A. Zone display Time
void getcode() is ablock for display time and first display when you start power. you can change display time to anything.
Exmaple :
this schematic is a sample and I will update next time
if you have question contact me Facebook
2.Code
a.Main Code : Dowload this code
dowload code name : MAX7219-_DHT11-_DS1307_Arduino_Mega
b.Library :
dowload library for DHT11
dowload library for MD_DS1307
3. Code Detail
The cade have 3 mode function { getmodea (), getmodeb(), getmodec() }A. Zone display Time
void getcode() is ablock for display time and first display when you start power. you can change display time to anything.Exmaple :
original code :
P.displayZoneText(0, szMesg, PA_CENTER, scrollSpeed, 3000, PA_SCROLL_UP, PA_SCROLL_DOWN);
P.displayZoneText(1, szMesg, PA_CENTER, scrollSpeed, 3000, PA_SCROLL_DOWN, PA_SCROLL_UP);
change code :
Example change : szMesg to "Hello"
P.displayZoneText(0, "Hello", PA_CENTER, scrollSpeed, 3000, PA_SCROLL_UP, PA_SCROLL_DOWN);
P.displayZoneText(1, "Hello", PA_CENTER, scrollSpeed, 3000, PA_SCROLL_DOWN, PA_SCROLL_UP);
P.displayZoneText(0, "Hello", PA_CENTER, scrollSpeed, 3000, PA_SCROLL_UP, PA_SCROLL_DOWN);
P.displayZoneText(1, "Hello", PA_CENTER, scrollSpeed, 3000, PA_SCROLL_DOWN, PA_SCROLL_UP);
B. Zone display date
C. Zone display Text
Subscribe to:
Posts (Atom)