Running Text Arduino
Running Text Arduino
com]
Kebutuhan Hardware :
P.Supply 5V 10 A
Schematics
3 Inkubatek [supported by : www.tokotronik.com]
GND 3,5,7,9,11,13,15
6 2 (A)
7 4 (B)
8 10 (SCLK)
9 1 (PWM)
11 12 (R)
13 8 (CLK)
4 Inkubatek [supported by : www.tokotronik.com]
5 Inkubatek [supported by : www.tokotronik.com]
Source Code/Sketch :
/*************************************
* www.inkubator-teknologi.com
* www.tokotronik.com
* ***********************************/
#include <Arial14.h>
#include <Arial_black_16.h>
#include <Arial_Black_16_ISO_8859_1.h>
6 Inkubatek [supported by : www.tokotronik.com]
#include <DMD.h>
#include <SystemFont5x7.h>
#include <SPI.h>
#include "TimerOne.h"
#define DISPLAYS_ACROSS 1
#define DISPLAYS_DOWN 1
void ScanDMD() {
dmd.scanDisplayBySPI();
void setup() {
Timer1.initialize( 2000 );
Timer1.attachInterrupt( ScanDMD );
dmd.clearScreen( true );
dmd.clearScreen( true );
dmd.selectFont( Arial_Black_16 );
char newString[256];
long start=millis();
long timer=start;
7 Inkubatek [supported by : www.tokotronik.com]
long timer2=start;
boolean ret=false;
while( !ret ) {
ret=dmd.stepMarquee( -1 , 0 );
timer=millis();
void loop() {
drawText(textToScroll);
Jalannya Alat :
Pada modul LED Dot Matrix P10 akan tampil tulisan berjalan “ 99+ Proyek ARDUINO
inkubatek ”.
8 Inkubatek [supported by : www.tokotronik.com]
Jika akan mengganti tulisan, cukup ganti string yang ada di program :