ALL MY FELLAS
This commit is contained in:
+8009
File diff suppressed because it is too large
Load Diff
+7
-5
@@ -12,6 +12,7 @@
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <math.h>
|
||||
#include "AllMyFellas.h"
|
||||
|
||||
#include "GPIO.h"
|
||||
#include "SPI.h"
|
||||
@@ -30,14 +31,15 @@ void init(void)
|
||||
int scrolling = 0;
|
||||
bool need_to_scroll = false;
|
||||
|
||||
bool on = true;
|
||||
int audioValue = 0;
|
||||
int increment = 1;
|
||||
void TIMER0_IRQHandler(void){
|
||||
//8000HZ smaple rate
|
||||
ClearTimer0();
|
||||
|
||||
SetAudio(800);
|
||||
on = true;
|
||||
SetAudio(200);
|
||||
audioValue ++;
|
||||
if(audioValue >= 96000-1)
|
||||
audioValue = 0;
|
||||
SetAudio(AllMyFellas_wav[audioValue]);
|
||||
}
|
||||
|
||||
void EINT3_IRQHandler(void){
|
||||
|
||||
Reference in New Issue
Block a user