Comments on: STM32F401CCU6 (Arm Cortex MCUs) SID Player by Bakisha https://www.nightfallcrew.com/23/11/2020/stm32-arm-cortex-mcus-sid-player-by-bakisha/ Lightning in the Dark Thu, 14 Nov 2024 03:35:05 +0000 hourly 1 http://wordpress.org/?v=3.4.2 By: Doug Venner https://www.nightfallcrew.com/23/11/2020/stm32-arm-cortex-mcus-sid-player-by-bakisha/comment-page-1/#comment-168679 Doug Venner Sat, 28 Aug 2021 17:17:16 +0000 https://www.nightfallcrew.com/?p=15258#comment-168679 Thanx, will give it a try! Thanx, will give it a try!

]]>
By: xAD / nIGHTFALL https://www.nightfallcrew.com/23/11/2020/stm32-arm-cortex-mcus-sid-player-by-bakisha/comment-page-1/#comment-168667 xAD / nIGHTFALL Sat, 28 Aug 2021 11:08:09 +0000 https://www.nightfallcrew.com/?p=15258#comment-168667 <a href="#comment-168665" rel="nofollow">@Doug Venner </a> Unfortunately not,. but it's very simple, here is the "patch" for the leds. *** z_SetupLoop.ino below: if (VIC_irq_request == 0) { -> #ifdef USE_LED_VOICE if (Gate_bit_1) { digitalWrite(LED_VOICE_1, HIGH); } else { digitalWrite(LED_VOICE_1, LOW); } if (Gate_bit_2) { digitalWrite(LED_VOICE_2, HIGH); } else { digitalWrite(LED_VOICE_2, LOW); } if (Gate_bit_3) { digitalWrite(LED_VOICE_3, HIGH); } else { digitalWrite(LED_VOICE_3, LOW); } #endif *** STM32SID_FOLDER_PLAYER_SDCARD_BUTTON3.ino // #define USE_LED_VOICE // enable LED voices on PA2 - PA3 - PA4 - STM32F401CCU6 // enable LED voices on PB5 - PB7 - PB9 - STM32F407VET6 // #define LED_VOICE_1 PA2 // STM32F401CCU6 // #define LED_VOICE_2 PA3 // STM32F401CCU6 // #define LED_VOICE_3 PA4 // STM32F401CCU6 #define LED_VOICE_1 PB5 // STM32F407VET6 #define LED_VOICE_2 PB7 // STM32F407VET6 #define LED_VOICE_3 PB9 // STM32F407VET6 *** 20_hardware.ino below: #ifdef BUTTON_NEXT pinMode(BUTTON_NEXT, INPUT_PULLUP); #endif -> #ifdef USE_LED_VOICE pinMode(LED_VOICE_1, OUTPUT); pinMode(LED_VOICE_2, OUTPUT); pinMode(LED_VOICE_3, OUTPUT); #endif @Doug Venner

Unfortunately not,. but it’s very simple, here is the “patch” for the leds.

*** z_SetupLoop.ino

below: if (VIC_irq_request == 0) {

->

#ifdef USE_LED_VOICE

if (Gate_bit_1) {
digitalWrite(LED_VOICE_1, HIGH);
} else {
digitalWrite(LED_VOICE_1, LOW);
}

if (Gate_bit_2) {
digitalWrite(LED_VOICE_2, HIGH);
} else {
digitalWrite(LED_VOICE_2, LOW);
}

if (Gate_bit_3) {
digitalWrite(LED_VOICE_3, HIGH);
} else {
digitalWrite(LED_VOICE_3, LOW);
}
#endif

*** STM32SID_FOLDER_PLAYER_SDCARD_BUTTON3.ino

// #define USE_LED_VOICE // enable LED voices on PA2 – PA3 – PA4 – STM32F401CCU6
// enable LED voices on PB5 – PB7 – PB9 – STM32F407VET6

// #define LED_VOICE_1 PA2 // STM32F401CCU6
// #define LED_VOICE_2 PA3 // STM32F401CCU6
// #define LED_VOICE_3 PA4 // STM32F401CCU6

#define LED_VOICE_1 PB5 // STM32F407VET6
#define LED_VOICE_2 PB7 // STM32F407VET6
#define LED_VOICE_3 PB9 // STM32F407VET6

*** 20_hardware.ino

below:

#ifdef BUTTON_NEXT
pinMode(BUTTON_NEXT, INPUT_PULLUP);
#endif

->

#ifdef USE_LED_VOICE
pinMode(LED_VOICE_1, OUTPUT);
pinMode(LED_VOICE_2, OUTPUT);
pinMode(LED_VOICE_3, OUTPUT);
#endif

]]>
By: Doug Venner https://www.nightfallcrew.com/23/11/2020/stm32-arm-cortex-mcus-sid-player-by-bakisha/comment-page-1/#comment-168665 Doug Venner Sat, 28 Aug 2021 10:57:19 +0000 https://www.nightfallcrew.com/?p=15258#comment-168665 Is the code to add the 3 led's available? Is the code to add the 3 led’s available?

]]>
By: xAD / nIGHTFALL https://www.nightfallcrew.com/23/11/2020/stm32-arm-cortex-mcus-sid-player-by-bakisha/comment-page-1/#comment-153248 xAD / nIGHTFALL Tue, 24 Nov 2020 23:31:31 +0000 https://www.nightfallcrew.com/?p=15258#comment-153248 <a href="#comment-153228" rel="nofollow">@Manuel </a> Sorry, components list added to the post. @Manuel

Sorry, components list added to the post.

]]>
By: Manuel https://www.nightfallcrew.com/23/11/2020/stm32-arm-cortex-mcus-sid-player-by-bakisha/comment-page-1/#comment-153228 Manuel Tue, 24 Nov 2020 13:13:32 +0000 https://www.nightfallcrew.com/?p=15258#comment-153228 Hi, Very good job, just a question what are the references of your Arduino STM32 board and your SD Card board Best regards Manuel Hi,

Very good job, just a question what are the references of your Arduino STM32 board and your SD Card board
Best regards
Manuel

]]>