The document defines constants for the bit patterns of various alphanumeric characters and symbols using hexadecimal values. It then defines arrays to store these patterns and functions to display the patterns on a 7-segment display by shifting the bit patterns and latching them to the display driver. When serial data is received, the appropriate character patterns are copied to a display array which is then scrolled on the display using the defined functions.
The document defines constants for binary representations of letters, numbers, and punctuation symbols. It then defines functions for displaying these symbols on a scrolling LED display using shift registers and SPI communication. The main loop calls the display function to scroll the text "HI WORLD" across the LED display.
Twin wheeler modified for arduino simplified serial protocol to sabertooth v22josnihmurni2907
This document provides code for a self-balancing two-wheeled robot (twin wheeler) modified to use a simplified serial protocol to control motors with an Arduino and Sabertooth motor controller. The code samples sensor inputs, runs control algorithms to maintain balance, and outputs motor control signals. It has been updated over time with improvements like a softer startup sequence, improved deadman switch functionality, and optional steering controls.
Twin wheeler modified for arduino simplified serial protocol to sabertooth v21josnihmurni2907
This document describes code for controlling a self-balancing skateboard or robot using an Arduino board and a Sabertooth motor controller. It includes sections to initialize communication with the Sabertooth, sample sensor inputs from an IMU, apply filtering to the accelerometer data, and calculate steering commands based on gyroscope readings to maintain balance and allow for user steering input. The code is intended to balance the device and allow it to be steered either straight or in a turn with adjustable resistance to deviations from the desired heading.
Twin wheeler modified for arduino simplified serial protocol to sabertooth v2josnihmurni2907
This Arduino code modifies a twin-wheeled robot to use a Sabertooth motor controller with a simplified serial protocol. It tests communication between the Arduino, Sabertooth, and motors. A deadman switch cuts power if released for safety. The motors gradually increase in speed from 0-50% of full power over 5 seconds, then decrease from 50-0% over 5 more seconds in a continuous loop. Both wheels must spin at the same speed and direction or the robot will not drive straight.
This Arduino code measures the time interval between a pin going high and another pin going low. It waits for pin 4 to go high, starts a timer, lights an LED, then waits for pin 5 to go low, stops the timer, and reports the elapsed time in microseconds. The code provides a simple way to time events and can reliably measure intervals down to about 60 microseconds.
This document contains the code for a sigh collector receiver module. It defines variables to control an LED, pump, and reading value. It initializes serial communication and sets the pumpRunning and stepCounter variables. The main loop handles serial data, checks if the pump should start or stop based on the stepCounter and time thresholds, and debounces the button input. Additional functions start and stop the pump by controlling the LED and pump pins.
This code is used to detect sighs from a patient and send a signal to a mobile device. It reads analog sensor data to calculate a sliding average breath value and compare it to a threshold. When the average exceeds the threshold for a possible sigh, it monitors for the average to drop below a level to confirm the sigh. Upon detection, it sends a signal over a serial connection and lights an LED for one second.
This document provides instructions on how to write reliable timers and delays in Arduino without using the delay() function, which causes the system to pause while waiting. It introduces the elapsedMillis library for creating repeating and one-time timers. It then discusses alternatives that do not require this library, including examples of a repeating timer and single-shot timer using millis(). The document warns of issues with approaches that rely on millis() overflowing after 50 days and recommends using elapsed time comparisons instead of absolute times to ensure reliability. It emphasizes the importance of the loop() executing frequently enough.
The document defines constants for binary representations of letters, numbers, and punctuation symbols. It then defines functions for displaying these symbols on a scrolling LED display using shift registers and SPI communication. The main loop calls the display function to scroll the text "HI WORLD" across the LED display.
Twin wheeler modified for arduino simplified serial protocol to sabertooth v22josnihmurni2907
This document provides code for a self-balancing two-wheeled robot (twin wheeler) modified to use a simplified serial protocol to control motors with an Arduino and Sabertooth motor controller. The code samples sensor inputs, runs control algorithms to maintain balance, and outputs motor control signals. It has been updated over time with improvements like a softer startup sequence, improved deadman switch functionality, and optional steering controls.
Twin wheeler modified for arduino simplified serial protocol to sabertooth v21josnihmurni2907
This document describes code for controlling a self-balancing skateboard or robot using an Arduino board and a Sabertooth motor controller. It includes sections to initialize communication with the Sabertooth, sample sensor inputs from an IMU, apply filtering to the accelerometer data, and calculate steering commands based on gyroscope readings to maintain balance and allow for user steering input. The code is intended to balance the device and allow it to be steered either straight or in a turn with adjustable resistance to deviations from the desired heading.
Twin wheeler modified for arduino simplified serial protocol to sabertooth v2josnihmurni2907
This Arduino code modifies a twin-wheeled robot to use a Sabertooth motor controller with a simplified serial protocol. It tests communication between the Arduino, Sabertooth, and motors. A deadman switch cuts power if released for safety. The motors gradually increase in speed from 0-50% of full power over 5 seconds, then decrease from 50-0% over 5 more seconds in a continuous loop. Both wheels must spin at the same speed and direction or the robot will not drive straight.
This Arduino code measures the time interval between a pin going high and another pin going low. It waits for pin 4 to go high, starts a timer, lights an LED, then waits for pin 5 to go low, stops the timer, and reports the elapsed time in microseconds. The code provides a simple way to time events and can reliably measure intervals down to about 60 microseconds.
This document contains the code for a sigh collector receiver module. It defines variables to control an LED, pump, and reading value. It initializes serial communication and sets the pumpRunning and stepCounter variables. The main loop handles serial data, checks if the pump should start or stop based on the stepCounter and time thresholds, and debounces the button input. Additional functions start and stop the pump by controlling the LED and pump pins.
This code is used to detect sighs from a patient and send a signal to a mobile device. It reads analog sensor data to calculate a sliding average breath value and compare it to a threshold. When the average exceeds the threshold for a possible sigh, it monitors for the average to drop below a level to confirm the sigh. Upon detection, it sends a signal over a serial connection and lights an LED for one second.
This document provides instructions on how to write reliable timers and delays in Arduino without using the delay() function, which causes the system to pause while waiting. It introduces the elapsedMillis library for creating repeating and one-time timers. It then discusses alternatives that do not require this library, including examples of a repeating timer and single-shot timer using millis(). The document warns of issues with approaches that rely on millis() overflowing after 50 days and recommends using elapsed time comparisons instead of absolute times to ensure reliability. It emphasizes the importance of the loop() executing frequently enough.
Call and message using arduino and gsm modulejosnihmurni2907
This document describes building a simple mobile phone using an Arduino, GSM module, keypad, LCD display, speaker, and microphone. The phone can make and receive calls, and send and receive SMS messages. The GSM module handles the cellular connectivity, while the Arduino controls interfacing with the components and sending AT commands to the GSM module to perform phone functions. An alphanumeric keypad is used for input, and a LCD displays messages, instructions, and call/SMS information.
The document discusses code for independently flashing 3 LEDs with different on and off periods using an Arduino Uno board. The author has set up the hardware with 3 LEDs connected to digital pins 6, 7 and 8. Their code currently causes all LEDs to flash with the same on/off period rather than independently. They are seeking help altering their code to independently control the on and off periods of each LED. Several suggestions are provided, including using external interrupts triggered by a separate pin and counting interrupts to control the LED timing. However, the author is still struggling to get the LEDs flashing independently as intended.
This document provides an overview of timers and interrupts on Arduino boards. It explains what timers and interrupts are, how the different timers on Arduino boards like the Uno and Mega work, and how to configure and use them. It includes examples of blinking an LED using a timer compare match interrupt and generating PWM signals using timers. Common libraries that use timers like the Servo library are also discussed alongside potential issues when using timers and interrupts.
The document contains 13 math problems involving functions. The problems cover topics such as:
- Finding the image and object of elements under a given function
- Finding inverse functions
- Determining the type of relation between sets
- Evaluating composite functions
- Solving for unknown constants in function definitions
- Finding the value of x when a composite function equals a given value
The document provides the problems and blank spaces for the answers. The answers section gives the solutions to each of the 13 problems.
(i) Rangkaian tahunan matematika untuk tingkatan 5 SMK Taman Indah membincangkan topik-topik seperti asas nombor, graf fungsi, penjelmaan dan matriks. (ii) Topik-topik ini akan diajar selama 13 minggu dan diikuti dengan ujian selaras pada minggu ke-11 dan ke-18. (iii) Aktiviti pembelajaran terdiri daripada perbincangan kelas, projek, dan penggunaan perisian seperti Geometer's Sketchpad.
Dokumen tersebut memberikan 10 cara untuk menghilangkan rasa ngantuk di kelas, termasuk berjemur, olahraga ringan, minum teh hijau, berjalan, bernapas dalam, dan olahraga rutin. Tujuannya adalah meningkatkan aliran darah dan oksigenasi otak untuk menjaga fokus dan konsentrasi selama pelajaran.
Bandar purba berukuran 62 padang bola sepak ditemui terletak 26-40 meter di bawah permukaan Tasik Qiandao di China, dibina pada abad ke-3 Masehi dan menjadi tapak menyelam popular.
Dokumen tersebut merangkum 12 kaum yang dibinasakan Allah menurut Alquran karena mengingkari utusan-Nya, termasuk kaum Nabi Nuh, Nabi Hud, Nabi Saleh, Nabi Luth, Nabi Syuaib, Firaun, Ashab Al-Sabt, Ashab Al-Rass, Ashab Al-Ukhdud, Ashab Al-Qaryah, Kaum Tubba' dan Kaum Saba. Mereka dihukumi dengan berbagai azab seperti banjir, angin kencang,
This document contains a summary of the key points to address in answering additional mathematics questions from a 2015 SPM exam. It includes 24 questions covering topics like functions, vectors, probability, calculus, and statistics. For each question, it lists the correct answer or working, identified with a check mark. It provides guidance on acceptable versus unacceptable responses. The summary aims to help students understand the essential information and logical reasoning required to solve additional math problems.
हिंदी वर्णमाला पीपीटी, hindi alphabet PPT presentation, hindi varnamala PPT, Hindi Varnamala pdf, हिंदी स्वर, हिंदी व्यंजन, sikhiye hindi varnmala, dr. mulla adam ali, hindi language and literature, hindi alphabet with drawing, hindi alphabet pdf, hindi varnamala for childrens, hindi language, hindi varnamala practice for kids, https://www.drmullaadamali.com
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...PECB
Denis is a dynamic and results-driven Chief Information Officer (CIO) with a distinguished career spanning information systems analysis and technical project management. With a proven track record of spearheading the design and delivery of cutting-edge Information Management solutions, he has consistently elevated business operations, streamlined reporting functions, and maximized process efficiency.
Certified as an ISO/IEC 27001: Information Security Management Systems (ISMS) Lead Implementer, Data Protection Officer, and Cyber Risks Analyst, Denis brings a heightened focus on data security, privacy, and cyber resilience to every endeavor.
His expertise extends across a diverse spectrum of reporting, database, and web development applications, underpinned by an exceptional grasp of data storage and virtualization technologies. His proficiency in application testing, database administration, and data cleansing ensures seamless execution of complex projects.
What sets Denis apart is his comprehensive understanding of Business and Systems Analysis technologies, honed through involvement in all phases of the Software Development Lifecycle (SDLC). From meticulous requirements gathering to precise analysis, innovative design, rigorous development, thorough testing, and successful implementation, he has consistently delivered exceptional results.
Throughout his career, he has taken on multifaceted roles, from leading technical project management teams to owning solutions that drive operational excellence. His conscientious and proactive approach is unwavering, whether he is working independently or collaboratively within a team. His ability to connect with colleagues on a personal level underscores his commitment to fostering a harmonious and productive workplace environment.
Date: May 29, 2024
Tags: Information Security, ISO/IEC 27001, ISO/IEC 42001, Artificial Intelligence, GDPR
-------------------------------------------------------------------------------
Find out more about ISO training and certification services
Training: ISO/IEC 27001 Information Security Management System - EN | PECB
ISO/IEC 42001 Artificial Intelligence Management System - EN | PECB
General Data Protection Regulation (GDPR) - Training Courses - EN | PECB
Webinars: https://pecb.com/webinars
Article: https://pecb.com/article
-------------------------------------------------------------------------------
For more information about PECB:
Website: https://pecb.com/
LinkedIn: https://www.linkedin.com/company/pecb/
Facebook: https://www.facebook.com/PECBInternational/
Slideshare: http://www.slideshare.net/PECBCERTIFICATION
Strategies for Effective Upskilling is a presentation by Chinwendu Peace in a Your Skill Boost Masterclass organisation by the Excellence Foundation for South Sudan on 08th and 09th June 2024 from 1 PM to 3 PM on each day.
This presentation was provided by Steph Pollock of The American Psychological Association’s Journals Program, and Damita Snow, of The American Society of Civil Engineers (ASCE), for the initial session of NISO's 2024 Training Series "DEIA in the Scholarly Landscape." Session One: 'Setting Expectations: a DEIA Primer,' was held June 6, 2024.
Call and message using arduino and gsm modulejosnihmurni2907
This document describes building a simple mobile phone using an Arduino, GSM module, keypad, LCD display, speaker, and microphone. The phone can make and receive calls, and send and receive SMS messages. The GSM module handles the cellular connectivity, while the Arduino controls interfacing with the components and sending AT commands to the GSM module to perform phone functions. An alphanumeric keypad is used for input, and a LCD displays messages, instructions, and call/SMS information.
The document discusses code for independently flashing 3 LEDs with different on and off periods using an Arduino Uno board. The author has set up the hardware with 3 LEDs connected to digital pins 6, 7 and 8. Their code currently causes all LEDs to flash with the same on/off period rather than independently. They are seeking help altering their code to independently control the on and off periods of each LED. Several suggestions are provided, including using external interrupts triggered by a separate pin and counting interrupts to control the LED timing. However, the author is still struggling to get the LEDs flashing independently as intended.
This document provides an overview of timers and interrupts on Arduino boards. It explains what timers and interrupts are, how the different timers on Arduino boards like the Uno and Mega work, and how to configure and use them. It includes examples of blinking an LED using a timer compare match interrupt and generating PWM signals using timers. Common libraries that use timers like the Servo library are also discussed alongside potential issues when using timers and interrupts.
The document contains 13 math problems involving functions. The problems cover topics such as:
- Finding the image and object of elements under a given function
- Finding inverse functions
- Determining the type of relation between sets
- Evaluating composite functions
- Solving for unknown constants in function definitions
- Finding the value of x when a composite function equals a given value
The document provides the problems and blank spaces for the answers. The answers section gives the solutions to each of the 13 problems.
(i) Rangkaian tahunan matematika untuk tingkatan 5 SMK Taman Indah membincangkan topik-topik seperti asas nombor, graf fungsi, penjelmaan dan matriks. (ii) Topik-topik ini akan diajar selama 13 minggu dan diikuti dengan ujian selaras pada minggu ke-11 dan ke-18. (iii) Aktiviti pembelajaran terdiri daripada perbincangan kelas, projek, dan penggunaan perisian seperti Geometer's Sketchpad.
Dokumen tersebut memberikan 10 cara untuk menghilangkan rasa ngantuk di kelas, termasuk berjemur, olahraga ringan, minum teh hijau, berjalan, bernapas dalam, dan olahraga rutin. Tujuannya adalah meningkatkan aliran darah dan oksigenasi otak untuk menjaga fokus dan konsentrasi selama pelajaran.
Bandar purba berukuran 62 padang bola sepak ditemui terletak 26-40 meter di bawah permukaan Tasik Qiandao di China, dibina pada abad ke-3 Masehi dan menjadi tapak menyelam popular.
Dokumen tersebut merangkum 12 kaum yang dibinasakan Allah menurut Alquran karena mengingkari utusan-Nya, termasuk kaum Nabi Nuh, Nabi Hud, Nabi Saleh, Nabi Luth, Nabi Syuaib, Firaun, Ashab Al-Sabt, Ashab Al-Rass, Ashab Al-Ukhdud, Ashab Al-Qaryah, Kaum Tubba' dan Kaum Saba. Mereka dihukumi dengan berbagai azab seperti banjir, angin kencang,
This document contains a summary of the key points to address in answering additional mathematics questions from a 2015 SPM exam. It includes 24 questions covering topics like functions, vectors, probability, calculus, and statistics. For each question, it lists the correct answer or working, identified with a check mark. It provides guidance on acceptable versus unacceptable responses. The summary aims to help students understand the essential information and logical reasoning required to solve additional math problems.
हिंदी वर्णमाला पीपीटी, hindi alphabet PPT presentation, hindi varnamala PPT, Hindi Varnamala pdf, हिंदी स्वर, हिंदी व्यंजन, sikhiye hindi varnmala, dr. mulla adam ali, hindi language and literature, hindi alphabet with drawing, hindi alphabet pdf, hindi varnamala for childrens, hindi language, hindi varnamala practice for kids, https://www.drmullaadamali.com
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...PECB
Denis is a dynamic and results-driven Chief Information Officer (CIO) with a distinguished career spanning information systems analysis and technical project management. With a proven track record of spearheading the design and delivery of cutting-edge Information Management solutions, he has consistently elevated business operations, streamlined reporting functions, and maximized process efficiency.
Certified as an ISO/IEC 27001: Information Security Management Systems (ISMS) Lead Implementer, Data Protection Officer, and Cyber Risks Analyst, Denis brings a heightened focus on data security, privacy, and cyber resilience to every endeavor.
His expertise extends across a diverse spectrum of reporting, database, and web development applications, underpinned by an exceptional grasp of data storage and virtualization technologies. His proficiency in application testing, database administration, and data cleansing ensures seamless execution of complex projects.
What sets Denis apart is his comprehensive understanding of Business and Systems Analysis technologies, honed through involvement in all phases of the Software Development Lifecycle (SDLC). From meticulous requirements gathering to precise analysis, innovative design, rigorous development, thorough testing, and successful implementation, he has consistently delivered exceptional results.
Throughout his career, he has taken on multifaceted roles, from leading technical project management teams to owning solutions that drive operational excellence. His conscientious and proactive approach is unwavering, whether he is working independently or collaboratively within a team. His ability to connect with colleagues on a personal level underscores his commitment to fostering a harmonious and productive workplace environment.
Date: May 29, 2024
Tags: Information Security, ISO/IEC 27001, ISO/IEC 42001, Artificial Intelligence, GDPR
-------------------------------------------------------------------------------
Find out more about ISO training and certification services
Training: ISO/IEC 27001 Information Security Management System - EN | PECB
ISO/IEC 42001 Artificial Intelligence Management System - EN | PECB
General Data Protection Regulation (GDPR) - Training Courses - EN | PECB
Webinars: https://pecb.com/webinars
Article: https://pecb.com/article
-------------------------------------------------------------------------------
For more information about PECB:
Website: https://pecb.com/
LinkedIn: https://www.linkedin.com/company/pecb/
Facebook: https://www.facebook.com/PECBInternational/
Slideshare: http://www.slideshare.net/PECBCERTIFICATION
Strategies for Effective Upskilling is a presentation by Chinwendu Peace in a Your Skill Boost Masterclass organisation by the Excellence Foundation for South Sudan on 08th and 09th June 2024 from 1 PM to 3 PM on each day.
This presentation was provided by Steph Pollock of The American Psychological Association’s Journals Program, and Damita Snow, of The American Society of Civil Engineers (ASCE), for the initial session of NISO's 2024 Training Series "DEIA in the Scholarly Landscape." Session One: 'Setting Expectations: a DEIA Primer,' was held June 6, 2024.
Executive Directors Chat Leveraging AI for Diversity, Equity, and InclusionTechSoup
Let’s explore the intersection of technology and equity in the final session of our DEI series. Discover how AI tools, like ChatGPT, can be used to support and enhance your nonprofit's DEI initiatives. Participants will gain insights into practical AI applications and get tips for leveraging technology to advance their DEI goals.
The simplified electron and muon model, Oscillating Spacetime: The Foundation...RitikBhardwaj56
Discover the Simplified Electron and Muon Model: A New Wave-Based Approach to Understanding Particles delves into a groundbreaking theory that presents electrons and muons as rotating soliton waves within oscillating spacetime. Geared towards students, researchers, and science buffs, this book breaks down complex ideas into simple explanations. It covers topics such as electron waves, temporal dynamics, and the implications of this model on particle physics. With clear illustrations and easy-to-follow explanations, readers will gain a new outlook on the universe's fundamental nature.
Introduction to AI for Nonprofits with Tapp NetworkTechSoup
Dive into the world of AI! Experts Jon Hill and Tareq Monaur will guide you through AI's role in enhancing nonprofit websites and basic marketing strategies, making it easy to understand and apply.
A workshop hosted by the South African Journal of Science aimed at postgraduate students and early career researchers with little or no experience in writing and publishing journal articles.
বাংলাদেশের অর্থনৈতিক সমীক্ষা ২০২৪ [Bangladesh Economic Review 2024 Bangla.pdf] কম্পিউটার , ট্যাব ও স্মার্ট ফোন ভার্সন সহ সম্পূর্ণ বাংলা ই-বুক বা pdf বই " সুচিপত্র ...বুকমার্ক মেনু 🔖 ও হাইপার লিংক মেনু 📝👆 যুক্ত ..
আমাদের সবার জন্য খুব খুব গুরুত্বপূর্ণ একটি বই ..বিসিএস, ব্যাংক, ইউনিভার্সিটি ভর্তি ও যে কোন প্রতিযোগিতা মূলক পরীক্ষার জন্য এর খুব ইম্পরট্যান্ট একটি বিষয় ...তাছাড়া বাংলাদেশের সাম্প্রতিক যে কোন ডাটা বা তথ্য এই বইতে পাবেন ...
তাই একজন নাগরিক হিসাবে এই তথ্য গুলো আপনার জানা প্রয়োজন ...।
বিসিএস ও ব্যাংক এর লিখিত পরীক্ষা ...+এছাড়া মাধ্যমিক ও উচ্চমাধ্যমিকের স্টুডেন্টদের জন্য অনেক কাজে আসবে ...
2. #define NUM8{B11111000,B10001000,B11111000,B10001000,B10001000,B11111000}
#define NUM9{B11111000,B10001000,B11111000,B00001000,B00001000,B11111000}
#define DEVIDE{B00001000,B00010000,B00100000,B00100000,B01000000,B10000000}
#define
TWODOTS{B01100000,B01100000,B00000000,B00000000,B01100000,B01100000}
#define DOT{B00000000,B00000000,B00000000,B00000000,B01100000,B01100000}
#define COMA{B00000000,B00000000,B00000000,B00110000,B00110000,B01100000}
#define LINE{B00000000,B00000000,B11111000,B11111000,B00000000,B00000000}
#define
QUASTION{B01110000,B10001000,B00010000,B00100000,B00000000,B00100000}
#define MARK{B00100000,B01110000,B01110000,B00100000,B00000000,B00100000}
int latchPin = 10;
int clockPin = 13;
int dataPin = 11;
int clock = 9;
int Reset = 8;
int latchPinPORTB = latchPin - 8;
int clockPinPORTB = clockPin - 8;
int dataPinPORTB = dataPin - 8;
int i = 0;
int incomingByte[44];
long scrolling_word[6];
int array_turn=0;
byte patterns[100][6];
byte dummy_array[70][6]
={BA,BB,BC,BD,BE,BF,BG,BH,BI,BJ,BK,BL,BM,BN,BO,BP,BQ,BR,BS,BT,BU,BV,BW,BX,B
Y,BZ,SPACE,NUM0,NUM1,NUM2,NUM3,NUM4,NUM5,NUM6,NUM7,NUM8,NUM9,DEVIDE,TWODOTS
,DOT,COMA,LINE,QUASTION,MARK,LA,LB,LC,LD,LE,LF,LG,LH,LI,LJ,LK,LL,LM,LN,LO,L
P,LQ,LR,LS,LT,LU,LV,LW,LX,LY,LZ};
void setup(){
Serial.begin(9600);
pinMode(dataPin,OUTPUT);
pinMode(clockPin,OUTPUT);
pinMode(latchPin,OUTPUT);
pinMode(clock,OUTPUT);
pinMode(Reset,OUTPUT);
digitalWrite(Reset,HIGH);
digitalWrite(Reset,LOW);
setupSPI();
}
void display_word(int loops,byte word_print[][6],int num_patterns,int
delay_langth){// this function displays your symbols
i = 0;// resets the counter fot the 4017
for(int g=0;g<6;g++)//resets the the long int where your word goes
scrolling_word[g] = 0;
for(int x=0;x<num_patterns;x++){//main loop, goes over your symbols
// you will need to find a better way to make the symbols scroll my way
is limited for 24 columns
for(int r=0;r<6;r++)//puts the buildes the first symbol
scrolling_word[r] |= word_print[x][r];
for (int z=0;z<6;z++){//the sctolling action
for(int p=0;p<6;p++)
scrolling_word[p] = scrolling_word[p] << 1;
// end of the scrolling funcion
for(int t=0;t<delay_langth;t++){// delay function, it just loops over
the same display
for(int y=0;y<6;y++){// scaning the display
if(i == 6){// counting up to 6 with the 4017
3. digitalWrite(Reset,HIGH);
digitalWrite(Reset,LOW);
i = 0;
}
latchOff();
spi_transfer(make_word(0x01000000,y));// sending the data
spi_transfer(make_word(0x00010000,y));
spi_transfer(make_word(0x00000100,y));
latchOn();
delayMicroseconds(800);//waiting a bit
latchOff();
spi_transfer(0);// clearing the data
spi_transfer(0);
spi_transfer(0);
latchOn();
digitalWrite(clock,HIGH);//counting up with the 4017
digitalWrite(clock,LOW);
i++;
}
}
}
}
finish_scroll(delay_langth);
}
void finish_scroll(int delay_scroll){// this function is the same as the
funcion above, it just finishing scrolling
for (int n=0;n<24;n++){
for(int h=0;h<6;h++)
scrolling_word[h] = scrolling_word[h] << 1;
for(int w=0;w<delay_scroll;w++){
for(int k=0;k<6;k++){
if(i == 6){
digitalWrite(Reset,HIGH);
digitalWrite(Reset,LOW);
i = 0;
}
latchOff();
spi_transfer(make_word(0x01000000,k));
spi_transfer(make_word(0x00010000,k));
spi_transfer(make_word(0x00000100,k));
latchOn();
delayMicroseconds(800);
latchOff();
spi_transfer(0);
spi_transfer(0);
spi_transfer(0);
latchOn();
digitalWrite(clock,HIGH);
digitalWrite(clock,LOW);
i++;
}
}
}
}
byte make_word (long posistion,byte turn){
byte dummy_word = 0;
for(int q=0;q<8;q++){
if(scrolling_word[turn] & (posistion<<q))
dummy_word |= 0x01<<q;