ALL MY FELLAS

This commit is contained in:
2024-06-14 10:13:09 +02:00
parent 79ab2c4ed7
commit fe26067d9a
10 changed files with 8142 additions and 123 deletions
+8009
View File
File diff suppressed because it is too large Load Diff
+7 -5
View File
@@ -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){