add basic printing of sequence

main
rkcf 2023-01-26 14:08:35 -06:00
parent 5396ca7667
commit 3fe135db8f
1 changed files with 23 additions and 0 deletions

View File

@ -1,6 +1,29 @@
#include <stdio.h>
#include <stdint.h>
#define SEQ_MAX_LEN 8
/* Inputs */
// Clock In
// Reset In
/* Outputs */
// CV Out
// Gate Out
void app_main(void)
{
/* Initialize sequence */
uint8_t sequence[SEQ_MAX_LEN] = {0};
uint8_t seq_len = SEQ_MAX_LEN;
/* Main Loop */
while (1) {
for (uint8_t step = 0; step < seq_len; step++) {
printf("%i", sequence[step]);
}
printf("\n");
}
}