This commit is contained in:
2025-09-12 16:25:06 -05:00
parent 79331035b9
commit 67bc7bd0ae
38 changed files with 15291 additions and 14114 deletions

File diff suppressed because one or more lines are too long

View File

@@ -370,3 +370,18 @@ org.eclipse.ui.PartInitException: Invalid Input: Must be IFileEditorInput
!ENTRY org.eclipse.cdt.core 1 0 2025-09-12 06:16:24.513 !ENTRY org.eclipse.cdt.core 1 0 2025-09-12 06:16:24.513
!MESSAGE Indexed 'Calc2' (58 sources, 125 headers) in 11.4 sec: 12,712 declarations; 87,377 references; 0 unresolved inclusions; 1 syntax errors; 2 unresolved names (0.002%) !MESSAGE Indexed 'Calc2' (58 sources, 125 headers) in 11.4 sec: 12,712 declarations; 87,377 references; 0 unresolved inclusions; 1 syntax errors; 2 unresolved names (0.002%)
!SESSION 2025-09-12 15:11:08.132 -----------------------------------------------
eclipse.buildId=Version 1.19.0
java.version=21.0.3
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 4 4 2025-09-12 15:11:16.014
!MESSAGE CubeMX plugin appears to be active, Log4j initialization might be too late.
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 1 1 2025-09-12 15:11:16.015
!MESSAGE Log4j2 initialized with config file /home/ja/st/Home/.metadata/.log4j2.xml
!ENTRY com.st.stm32cube.ide.mcu.ide 1 1 2025-09-12 15:11:20.681
!MESSAGE Started RMI Server, listening on port 41337

View File

@@ -8,3 +8,4 @@
*** SESSION Sep 11, 2025 15:33:26.999 ------------------------------------------ *** SESSION Sep 11, 2025 15:33:26.999 ------------------------------------------
*** SESSION Sep 12, 2025 05:43:58.498 ------------------------------------------ *** SESSION Sep 12, 2025 05:43:58.498 ------------------------------------------
*** SESSION Sep 12, 2025 06:13:46.266 ------------------------------------------ *** SESSION Sep 12, 2025 06:13:46.266 ------------------------------------------
*** SESSION Sep 12, 2025 15:11:14.847 ------------------------------------------

View File

@@ -1,10 +1,17 @@
08:19:52 **** Incremental Build of configuration Debug for project Calc2 **** 16:11:53 **** Incremental Build of configuration Debug for project Calc2 ****
make -j8 all make -j8 all
arm-none-eabi-gcc "../Core/Src/breadboard.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../USB_HOST/App -I../USB_HOST/Target -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I../Middlewares/ST/STM32_USB_Host_Library/Core/Inc -I../Middlewares/ST/STM32_USB_Host_Library/Class/CDC/Inc -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/breadboard.d" -MT"Core/Src/breadboard.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/breadboard.o"
arm-none-eabi-gcc -o "Calc2.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/ja/st/Home/Calc2/STM32F429ZITX_FLASH.ld" --specs=nosys.specs -Wl,-Map="Calc2.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: Calc2.elf
arm-none-eabi-size Calc2.elf arm-none-eabi-size Calc2.elf
arm-none-eabi-objdump -h -S Calc2.elf > "Calc2.list"
text data bss dec hex filename text data bss dec hex filename
32576 16 3480 36072 8ce8 Calc2.elf 32592 16 3480 36088 8cf8 Calc2.elf
Finished building: default.size.stdout Finished building: default.size.stdout
Finished building: Calc2.list
08:19:53 Build Finished. 0 errors, 0 warnings. (took 426ms)
16:11:53 Build Finished. 0 errors, 0 warnings. (took 471ms)

View File

@@ -1,7 +1,14 @@
08:19:52 **** Incremental Build of configuration Debug for project Calc2 **** 16:11:53 **** Incremental Build of configuration Debug for project Calc2 ****
make -j8 all make -j8 all
arm-none-eabi-gcc "../Core/Src/breadboard.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F429xx -c -I../Core/Inc -I../USB_HOST/App -I../USB_HOST/Target -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I../Middlewares/ST/STM32_USB_Host_Library/Core/Inc -I../Middlewares/ST/STM32_USB_Host_Library/Class/CDC/Inc -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/breadboard.d" -MT"Core/Src/breadboard.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/breadboard.o"
arm-none-eabi-gcc -o "Calc2.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/ja/st/Home/Calc2/STM32F429ZITX_FLASH.ld" --specs=nosys.specs -Wl,-Map="Calc2.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: Calc2.elf
arm-none-eabi-size Calc2.elf arm-none-eabi-size Calc2.elf
arm-none-eabi-objdump -h -S Calc2.elf > "Calc2.list"
text data bss dec hex filename text data bss dec hex filename
32576 16 3480 36072 8ce8 Calc2.elf 32592 16 3480 36088 8cf8 Calc2.elf
Finished building: default.size.stdout Finished building: default.size.stdout
Finished building: Calc2.list

View File

@@ -0,0 +1,24 @@
/*
* breadboard.c
*
* Created on: Sep 12, 2025
* Author: ja
*/
#include <stdbool.h>
#include "main.h"
void
breadboard(int DELAY_MS)
{
bool Purple = (HAL_GPIO_ReadPin(GPIOD, BTN_PRPL_Pin) == GPIO_PIN_SET); // PD5
bool Grey = (HAL_GPIO_ReadPin(GPIOD, BTN_GREY_Pin) == GPIO_PIN_SET); // PD7
if (Purple && Grey) {
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_SET);
} else {
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_RESET);
}
HAL_Delay(DELAY_MS); // milliseconds of delay after execution
}

View File

@@ -0,0 +1,35 @@
/*
* breadboard.c
*
* Created on: Sep 12, 2025
* Author: ja
*/
#include <stdbool.h>
#include "main.h"
void
breadboard(int DELAY_MS)
{
/*
bool Purple = (HAL_GPIO_ReadPin(GPIOD, BTN_PRPL_Pin) == GPIO_PIN_SET); // PD5
bool Grey = (HAL_GPIO_ReadPin(GPIOD, BTN_GREY_Pin) == GPIO_PIN_SET); // PD7
if (Purple || Grey) { // OR, but we want to try and get AND working
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_SET); // PB4
} else {
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_RESET); // PB4
}
HAL_Delay(DELAY_MS); // milliseconds of delay after execution
*/
/*
// Always flash:
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_SET); // PB4 ON
HAL_Delay(DELAY_MS);
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_RESET); // PB4 OFF
HAL_Delay(DELAY_MS);
*/
}

View File

@@ -0,0 +1,24 @@
/*
* breadboard.c
*
* Created on: Sep 12, 2025
* Author: ja
*/
#include <stdbool.h>
#include "main.h"
void
breadboard(int DELAY_MS)
{
bool Purple = (HAL_GPIO_ReadPin(GPIOD, BTN_PRPL_Pin) == GPIO_PIN_SET); // PD5
bool Grey = (HAL_GPIO_ReadPin(GPIOD, BTN_GREY_Pin) == GPIO_PIN_SET); // PD7
if (Purple || Grey) { //
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_SET); // PB4
} else {
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_RESET); // PB4
}
HAL_Delay(DELAY_MS); // milliseconds of delay after execution
}

View File

@@ -0,0 +1,25 @@
/*
* breadboard.c
*
* Created on: Sep 12, 2025
* Author: ja
*/
#include <stdbool.h>
#include "main.h"
void
breadboard(int DELAY_MS)
{
bool Purple = (HAL_GPIO_ReadPin(GPIOD, BTN_PRPL_Pin) == GPIO_PIN_SET); // PD5
bool Grey = (HAL_GPIO_ReadPin(GPIOD, BTN_GREY_Pin) == GPIO_PIN_SET); // PD7
//if (Purple && Grey) {
if (Purple) {
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_SET); // PB4
} else {
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_RESET); // PB4
}
HAL_Delay(DELAY_MS); // milliseconds of delay after execution
}

View File

@@ -0,0 +1,26 @@
/*
* breadboard.c
*
* Created on: Sep 12, 2025
* Author: ja
*/
#include <stdbool.h>
#include "main.h"
void
breadboard(int DELAY_MS)
{
/*
bool Purple = (HAL_GPIO_ReadPin(GPIOD, BTN_PRPL_Pin) == GPIO_PIN_SET); // PD5
bool Grey = (HAL_GPIO_ReadPin(GPIOD, BTN_GREY_Pin) == GPIO_PIN_SET); // PD7
if (Purple || Grey) { // OR, but we want to try and get AND working
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_SET); // PB4
} else {
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_RESET); // PB4
}
*/
HAL_Delay(DELAY_MS); // milliseconds of delay after execution
}

View File

@@ -0,0 +1,24 @@
/*
* breadboard.c
*
* Created on: Sep 12, 2025
* Author: ja
*/
#include <stdbool.h>
#include "main.h"
void
breadboard(int DELAY_MS)
{
bool Purple = (HAL_GPIO_ReadPin(GPIOD, BTN_PRPL_Pin) == GPIO_PIN_SET); // PD5
bool Grey = (HAL_GPIO_ReadPin(GPIOD, BTN_GREY_Pin) == GPIO_PIN_SET); // PD7
if (Purple || Grey) { // OR
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_SET); // PB4
} else {
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_RESET); // PB4
}
HAL_Delay(DELAY_MS); // milliseconds of delay after execution
}

View File

@@ -0,0 +1,32 @@
/*
* breadboard.c
*
* Created on: Sep 12, 2025
* Author: ja
*/
#include <stdbool.h>
#include "main.h"
void
breadboard(int DELAY_MS)
{
bool Purple = (HAL_GPIO_ReadPin(GPIOD, BTN_PRPL_Pin) == GPIO_PIN_SET); // PD5
bool Grey = (HAL_GPIO_ReadPin(GPIOD, BTN_GREY_Pin) == GPIO_PIN_SET); // PD7
if (Purple || Grey) { // OR, but we want to try and get AND working
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_SET); // PB4
} else {
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_RESET); // PB4
}
HAL_Delay(DELAY_MS); // milliseconds of delay after execution
/*
// Always flash:
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_SET); // PB4 ON
HAL_Delay(DELAY_MS);
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_RESET); // PB4 OFF
HAL_Delay(DELAY_MS);
*/
}

View File

@@ -0,0 +1,31 @@
/*
* breadboard.c
*
* Created on: Sep 12, 2025
* Author: ja
*/
#include <stdbool.h>
#include "main.h"
void
breadboard(int DELAY_MS)
{
/*
bool Purple = (HAL_GPIO_ReadPin(GPIOD, BTN_PRPL_Pin) == GPIO_PIN_SET); // PD5
bool Grey = (HAL_GPIO_ReadPin(GPIOD, BTN_GREY_Pin) == GPIO_PIN_SET); // PD7
if (Purple || Grey) { // OR, but we want to try and get AND working
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_SET); // PB4
} else {
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_RESET); // PB4
}
HAL_Delay(DELAY_MS); // milliseconds of delay after execution
*/
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_SET); // PB4 ON
HAL_Delay(DELAY_MS);
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_RESET); // PB4 OFF
HAL_Delay(DELAY_MS);
}

View File

@@ -0,0 +1,26 @@
/*
* breadboard.c
*
* Created on: Sep 12, 2025
* Author: ja
*/
#include <stdbool.h>
#include "main.h"
void
breadboard(int DELAY_MS)
{
bool Purple = (HAL_GPIO_ReadPin(GPIOD, BTN_PRPL_Pin) == GPIO_PIN_SET); // PD5
bool Grey = (HAL_GPIO_ReadPin(GPIOD, BTN_GREY_Pin) == GPIO_PIN_SET); // PD7
if (Purple || Grey) { // OR, but we want to try and get AND working
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_SET); // PB4
} else {
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_RESET); // PB4
}
HAL_Delay(DELAY_MS); // milliseconds of delay after execution
}

View File

@@ -0,0 +1,24 @@
/*
* breadboard.c
*
* Created on: Sep 12, 2025
* Author: ja
*/
#include <stdbool.h>
#include "main.h"
void
breadboard(int DELAY_MS)
{
bool Purple = (HAL_GPIO_ReadPin(GPIOD, BTN_PRPL_Pin) == GPIO_PIN_SET); // PD5
bool Grey = (HAL_GPIO_ReadPin(GPIOD, BTN_GREY_Pin) == GPIO_PIN_SET); // PD7
if (Purple || Grey) {
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_SET); // PB4
} else {
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_RESET); // PB4
}
HAL_Delay(DELAY_MS); // milliseconds of delay after execution
}

View File

@@ -0,0 +1,24 @@
/*
* breadboard.c
*
* Created on: Sep 12, 2025
* Author: ja
*/
#include <stdbool.h>
#include "main.h"
void
breadboard(int DELAY_MS)
{
bool Purple = (HAL_GPIO_ReadPin(GPIOD, BTN_PRPL_Pin) == GPIO_PIN_SET); // PD5
bool Grey = (HAL_GPIO_ReadPin(GPIOD, BTN_GREY_Pin) == GPIO_PIN_SET); // PD7
if (Purple || Grey) { // OR, but we want to try and get AND working
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_SET); // PB4
} else {
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_RESET); // PB4
}
HAL_Delay(DELAY_MS); // milliseconds of delay after execution
}

View File

@@ -0,0 +1,24 @@
/*
* breadboard.c
*
* Created on: Sep 12, 2025
* Author: ja
*/
#include <stdbool.h>
#include "main.h"
void
breadboard(int DELAY_MS)
{
bool Purple = (HAL_GPIO_ReadPin(GPIOD, BTN_PRPL_Pin) == GPIO_PIN_SET); // PD5
bool Grey = (HAL_GPIO_ReadPin(GPIOD, BTN_GREY_Pin) == GPIO_PIN_SET); // PD7
if (Purple && Grey) {
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_SET); // PB4
} else {
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_RESET); // PB4
}
HAL_Delay(DELAY_MS); // milliseconds of delay after execution
}

View File

@@ -0,0 +1,32 @@
/*
* breadboard.c
*
* Created on: Sep 12, 2025
* Author: ja
*/
#include <stdbool.h>
#include "main.h"
void
breadboard(int DELAY_MS)
{
bool Purple = (HAL_GPIO_ReadPin(GPIOD, BTN_PRPL_Pin) == GPIO_PIN_SET); // PD5
bool Grey = (HAL_GPIO_ReadPin(GPIOD, BTN_GREY_Pin) == GPIO_PIN_SET); // PD7
if (!Purple && !Grey) {
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_SET); // PB4
} else {
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_RESET); // PB4
}
HAL_Delay(DELAY_MS); // milliseconds of delay after execution
/*
// Always flash:
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_SET); // PB4 ON
HAL_Delay(DELAY_MS);
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_RESET); // PB4 OFF
HAL_Delay(DELAY_MS);
*/
}

View File

@@ -0,0 +1,26 @@
/*
* breadboard.c
*
* Created on: Sep 12, 2025
* Author: ja
*/
#include <stdbool.h>
#include "main.h"
void
breadboard(int DELAY_MS)
{
bool Purple = (HAL_GPIO_ReadPin(GPIOD, BTN_PRPL_Pin) == GPIO_PIN_SET); // PD5
bool Grey = (HAL_GPIO_ReadPin(GPIOD, BTN_GREY_Pin) == GPIO_PIN_SET); // PD7
if (Purple || Grey) { // OR, but we want to try and get AND working
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_SET); // PB4
} else {
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_RESET); // PB4
}
HAL_Delay(DELAY_MS); // milliseconds of delay after execution
}

View File

@@ -0,0 +1,28 @@
/*
* breadboard.c
*
* Created on: Sep 12, 2025
* Author: ja
*/
#include <stdbool.h>
#include "main.h"
void
breadboard(int DELAY_MS)
{
/*
bool Purple = (HAL_GPIO_ReadPin(GPIOD, BTN_PRPL_Pin) == GPIO_PIN_SET); // PD5
bool Grey = (HAL_GPIO_ReadPin(GPIOD, BTN_GREY_Pin) == GPIO_PIN_SET); // PD7
if (Purple || Grey) { // OR, but we want to try and get AND working
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_SET); // PB4
} else {
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_RESET); // PB4
}
HAL_Delay(DELAY_MS); // milliseconds of delay after execution
*/
}

View File

@@ -0,0 +1,32 @@
/*
* breadboard.c
*
* Created on: Sep 12, 2025
* Author: ja
*/
#include <stdbool.h>
#include "main.h"
void
breadboard(int DELAY_MS)
{
bool Purple = (HAL_GPIO_ReadPin(GPIOD, BTN_PRPL_Pin) == GPIO_PIN_SET); // PD5
bool Grey = (HAL_GPIO_ReadPin(GPIOD, BTN_GREY_Pin) == GPIO_PIN_SET); // PD7
if (!Purple && !Grey) { // OR, but we want to try and get AND working
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_SET); // PB4
} else {
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_RESET); // PB4
}
HAL_Delay(DELAY_MS); // milliseconds of delay after execution
/*
// Always flash:
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_SET); // PB4 ON
HAL_Delay(DELAY_MS);
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_RESET); // PB4 OFF
HAL_Delay(DELAY_MS);
*/
}

View File

@@ -0,0 +1,24 @@
/*
* breadboard.c
*
* Created on: Sep 12, 2025
* Author: ja
*/
#include <stdbool.h>
#include "main.h"
void
breadboard(int DELAY_MS)
{
bool Purple = (HAL_GPIO_ReadPin(GPIOD, BTN_PRPL_Pin) == GPIO_PIN_SET); // PD5
bool Grey = (HAL_GPIO_ReadPin(GPIOD, BTN_GREY_Pin) == GPIO_PIN_SET); // PD7
if (Purple || Grey) { // OR, but we want to try and get AND working
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_SET); // PB4
} else {
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_RESET); // PB4
}
HAL_Delay(DELAY_MS); // milliseconds of delay after execution
}

View File

@@ -0,0 +1,33 @@
/*
* breadboard.c
*
* Created on: Sep 12, 2025
* Author: ja
*/
#include <stdbool.h>
#include "main.h"
void
breadboard(int DELAY_MS)
{
/*
bool Purple = (HAL_GPIO_ReadPin(GPIOD, BTN_PRPL_Pin) == GPIO_PIN_SET); // PD5
bool Grey = (HAL_GPIO_ReadPin(GPIOD, BTN_GREY_Pin) == GPIO_PIN_SET); // PD7
if (Purple || Grey) { // OR, but we want to try and get AND working
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_SET); // PB4
} else {
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_RESET); // PB4
}
HAL_Delay(DELAY_MS); // milliseconds of delay after execution
*/
/*
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_SET); // PB4 ON
HAL_Delay(DELAY_MS);
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_RESET); // PB4 OFF
HAL_Delay(DELAY_MS);
*/
}

View File

@@ -0,0 +1,24 @@
/*
* breadboard.c
*
* Created on: Sep 12, 2025
* Author: ja
*/
#include <stdbool.h>
#include "main.h"
void
breadboard(int DELAY_MS)
{
bool Purple = (HAL_GPIO_ReadPin(GPIOD, BTN_PRPL_Pin) == GPIO_PIN_SET);
bool Grey = (HAL_GPIO_ReadPin(GPIOD, BTN_GREY_Pin) == GPIO_PIN_SET);
if (Purple && Grey) {
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_SET);
} else {
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_RESET);
}
HAL_Delay(DELAY_MS); // milliseconds of delay after execution
}

View File

@@ -0,0 +1,24 @@
/*
* breadboard.c
*
* Created on: Sep 12, 2025
* Author: ja
*/
#include <stdbool.h>
#include "main.h"
void
breadboard(int DELAY_MS)
{
bool Purple = (HAL_GPIO_ReadPin(GPIOE, BTN_PRPL_Pin) == GPIO_PIN_SET);
bool Grey = (HAL_GPIO_ReadPin(GPIOE, BTN_GREY_Pin) == GPIO_PIN_SET);
if (Purple && Grey) {
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_SET);
} else {
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_RESET);
}
HAL_Delay(DELAY_MS); // milliseconds of delay after execution
}

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ASCII"?> <?xml version="1.0" encoding="ASCII"?>
<application:Application xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:advanced="http://www.eclipse.org/ui/2010/UIModel/application/ui/advanced" xmlns:application="http://www.eclipse.org/ui/2010/UIModel/application" xmlns:basic="http://www.eclipse.org/ui/2010/UIModel/application/ui/basic" xmlns:menu="http://www.eclipse.org/ui/2010/UIModel/application/ui/menu" xmi:id="_PGuWwIj-EfCcBcPyH3_z_g" elementId="org.eclipse.e4.legacy.ide.application" contributorURI="platform:/plugin/org.eclipse.ui.workbench" selectedElement="_PGuWwYj-EfCcBcPyH3_z_g" bindingContexts="_PGuWyoj-EfCcBcPyH3_z_g"> <application:Application xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:advanced="http://www.eclipse.org/ui/2010/UIModel/application/ui/advanced" xmlns:application="http://www.eclipse.org/ui/2010/UIModel/application" xmlns:basic="http://www.eclipse.org/ui/2010/UIModel/application/ui/basic" xmlns:menu="http://www.eclipse.org/ui/2010/UIModel/application/ui/menu" xmi:id="_PGuWwIj-EfCcBcPyH3_z_g" elementId="org.eclipse.e4.legacy.ide.application" contributorURI="platform:/plugin/org.eclipse.ui.workbench" selectedElement="_PGuWwYj-EfCcBcPyH3_z_g" bindingContexts="_PGuWyoj-EfCcBcPyH3_z_g">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;workbench>&#xA;&lt;mruList>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;breadboard.c&quot; tooltip=&quot;Calc2/Core/Src/breadboard.c&quot;>&#xA;&lt;persistable path=&quot;/Calc2/Core/Src/breadboard.c&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;com.st.stm32cube.common.mx.startCubeMx&quot; name=&quot;Calc2.ioc&quot; tooltip=&quot;Calc2/Calc2.ioc&quot;>&#xA;&lt;persistable path=&quot;/Calc2/Calc2.ioc&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;stm32f4xx_hal.h&quot; tooltip=&quot;Calc2/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h&quot;>&#xA;&lt;persistable path=&quot;/Calc2/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;stm32f4xx_hal.c&quot; tooltip=&quot;Calc2/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c&quot;>&#xA;&lt;persistable path=&quot;/Calc2/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;main.h&quot; tooltip=&quot;Calc2/Core/Inc/main.h&quot;>&#xA;&lt;persistable path=&quot;/Calc2/Core/Inc/main.h&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;main.c&quot; tooltip=&quot;Calc2/Core/Src/main.c&quot;>&#xA;&lt;persistable path=&quot;/Calc2/Core/Src/main.c&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;userloop.c&quot; tooltip=&quot;Calculator/Core/Src/userloop.c&quot;>&#xA;&lt;persistable path=&quot;/Calculator/Core/Src/userloop.c&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;main.c&quot; tooltip=&quot;MyNewProject/Core/Src/main.c&quot;>&#xA;&lt;persistable path=&quot;/MyNewProject/Core/Src/main.c&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.ide.FileStoreEditorInputFactory&quot; id=&quot;com.st.stm32cube.common.mx.startCubeMx&quot; name=&quot;Calc2.ioc&quot; tooltip=&quot;/home/ja/Desktop/UTMProject/Calc2/Calc2.ioc&quot;>&#xA;&lt;persistable uri=&quot;file:/home/ja/Desktop/UTMProject/Calc2/Calc2.ioc&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;com.st.stm32cube.common.mx.startCubeMx&quot; name=&quot;Calculator.ioc&quot; tooltip=&quot;Calculator/Calculator.ioc&quot;>&#xA;&lt;persistable path=&quot;/Calculator/Calculator.ioc&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;main.c&quot; tooltip=&quot;Calculator/Core/Src/main.c&quot;>&#xA;&lt;persistable path=&quot;/Calculator/Core/Src/main.c&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;cmsis_os.h&quot; tooltip=&quot;Calculator/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.h&quot;>&#xA;&lt;persistable path=&quot;/Calculator/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.h&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;stm32f4xx_hal_gpio.c&quot; tooltip=&quot;MyNewProject/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c&quot;>&#xA;&lt;persistable path=&quot;/MyNewProject/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;com.st.stm32cube.common.mx.startCubeMx&quot; name=&quot;MyNewProject.ioc&quot; tooltip=&quot;MyNewProject/MyNewProject.ioc&quot;>&#xA;&lt;persistable path=&quot;/MyNewProject/MyNewProject.ioc&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;main.h&quot; tooltip=&quot;MyNewProject/Core/Inc/main.h&quot;>&#xA;&lt;persistable path=&quot;/MyNewProject/Core/Inc/main.h&quot;/>&#xA;&lt;/file>&#xA;&lt;/mruList>&#xA;&lt;/workbench>"/> <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;workbench>&#xA;&lt;mruList>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;main.h&quot; tooltip=&quot;Calc2/Core/Inc/main.h&quot;>&#xA;&lt;persistable path=&quot;/Calc2/Core/Inc/main.h&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;com.st.stm32cube.common.mx.startCubeMx&quot; name=&quot;Calc2.ioc&quot; tooltip=&quot;Calc2/Calc2.ioc&quot;>&#xA;&lt;persistable path=&quot;/Calc2/Calc2.ioc&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;breadboard.c&quot; tooltip=&quot;Calc2/Core/Src/breadboard.c&quot;>&#xA;&lt;persistable path=&quot;/Calc2/Core/Src/breadboard.c&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;main.c&quot; tooltip=&quot;Calc2/Core/Src/main.c&quot;>&#xA;&lt;persistable path=&quot;/Calc2/Core/Src/main.c&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;stm32f4xx_hal.h&quot; tooltip=&quot;Calc2/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h&quot;>&#xA;&lt;persistable path=&quot;/Calc2/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;stm32f4xx_hal.c&quot; tooltip=&quot;Calc2/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c&quot;>&#xA;&lt;persistable path=&quot;/Calc2/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;userloop.c&quot; tooltip=&quot;Calculator/Core/Src/userloop.c&quot;>&#xA;&lt;persistable path=&quot;/Calculator/Core/Src/userloop.c&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;main.c&quot; tooltip=&quot;MyNewProject/Core/Src/main.c&quot;>&#xA;&lt;persistable path=&quot;/MyNewProject/Core/Src/main.c&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.ide.FileStoreEditorInputFactory&quot; id=&quot;com.st.stm32cube.common.mx.startCubeMx&quot; name=&quot;Calc2.ioc&quot; tooltip=&quot;/home/ja/Desktop/UTMProject/Calc2/Calc2.ioc&quot;>&#xA;&lt;persistable uri=&quot;file:/home/ja/Desktop/UTMProject/Calc2/Calc2.ioc&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;com.st.stm32cube.common.mx.startCubeMx&quot; name=&quot;Calculator.ioc&quot; tooltip=&quot;Calculator/Calculator.ioc&quot;>&#xA;&lt;persistable path=&quot;/Calculator/Calculator.ioc&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;main.c&quot; tooltip=&quot;Calculator/Core/Src/main.c&quot;>&#xA;&lt;persistable path=&quot;/Calculator/Core/Src/main.c&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;cmsis_os.h&quot; tooltip=&quot;Calculator/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.h&quot;>&#xA;&lt;persistable path=&quot;/Calculator/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.h&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;stm32f4xx_hal_gpio.c&quot; tooltip=&quot;MyNewProject/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c&quot;>&#xA;&lt;persistable path=&quot;/MyNewProject/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;com.st.stm32cube.common.mx.startCubeMx&quot; name=&quot;MyNewProject.ioc&quot; tooltip=&quot;MyNewProject/MyNewProject.ioc&quot;>&#xA;&lt;persistable path=&quot;/MyNewProject/MyNewProject.ioc&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;main.h&quot; tooltip=&quot;MyNewProject/Core/Inc/main.h&quot;>&#xA;&lt;persistable path=&quot;/MyNewProject/Core/Inc/main.h&quot;/>&#xA;&lt;/file>&#xA;&lt;/mruList>&#xA;&lt;/workbench>"/>
<tags>activeSchemeId:org.eclipse.ui.defaultAcceleratorConfiguration</tags> <tags>activeSchemeId:org.eclipse.ui.defaultAcceleratorConfiguration</tags>
<children xsi:type="basic:TrimmedWindow" xmi:id="_PGuWwYj-EfCcBcPyH3_z_g" elementId="IDEWindow" contributorURI="platform:/plugin/org.eclipse.ui.workbench" selectedElement="_QzO74Ij-EfCcBcPyH3_z_g" x="10" y="32" width="950" height="1063"> <children xsi:type="basic:TrimmedWindow" xmi:id="_PGuWwYj-EfCcBcPyH3_z_g" elementId="IDEWindow" contributorURI="platform:/plugin/org.eclipse.ui.workbench" selectedElement="_QzO74Ij-EfCcBcPyH3_z_g" x="10" y="32" width="950" height="1063">
<persistedState key="coolBarVisible" value="true"/> <persistedState key="coolBarVisible" value="true"/>
@@ -85,7 +85,7 @@
<tags>categoryTag:General</tags> <tags>categoryTag:General</tags>
</children> </children>
</children> </children>
<children xsi:type="basic:PartSashContainer" xmi:id="_Q2rRdoj-EfCcBcPyH3_z_g" containerData="7500" selectedElement="_Q2rRfYj-EfCcBcPyH3_z_g"> <children xsi:type="basic:PartSashContainer" xmi:id="_Q2rRdoj-EfCcBcPyH3_z_g" containerData="7500" selectedElement="_Q2rRd4j-EfCcBcPyH3_z_g">
<children xsi:type="basic:PartSashContainer" xmi:id="_Q2rRd4j-EfCcBcPyH3_z_g" containerData="7500" selectedElement="_Q2rReIj-EfCcBcPyH3_z_g" horizontal="true"> <children xsi:type="basic:PartSashContainer" xmi:id="_Q2rRd4j-EfCcBcPyH3_z_g" containerData="7500" selectedElement="_Q2rReIj-EfCcBcPyH3_z_g" horizontal="true">
<children xsi:type="advanced:Placeholder" xmi:id="_Q2rReIj-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.editorss" containerData="7500" ref="_Q2bZ0Ij-EfCcBcPyH3_z_g"/> <children xsi:type="advanced:Placeholder" xmi:id="_Q2rReIj-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.editorss" containerData="7500" ref="_Q2bZ0Ij-EfCcBcPyH3_z_g"/>
<children xsi:type="basic:PartStack" xmi:id="_Q2rReYj-EfCcBcPyH3_z_g" elementId="topRight" containerData="2500" selectedElement="_Q2rReoj-EfCcBcPyH3_z_g"> <children xsi:type="basic:PartStack" xmi:id="_Q2rReYj-EfCcBcPyH3_z_g" elementId="topRight" containerData="2500" selectedElement="_Q2rReoj-EfCcBcPyH3_z_g">
@@ -105,7 +105,6 @@
</children> </children>
<children xsi:type="basic:PartSashContainer" xmi:id="_Q2rRfYj-EfCcBcPyH3_z_g" containerData="2500" selectedElement="_Q2rRfoj-EfCcBcPyH3_z_g" horizontal="true"> <children xsi:type="basic:PartSashContainer" xmi:id="_Q2rRfYj-EfCcBcPyH3_z_g" containerData="2500" selectedElement="_Q2rRfoj-EfCcBcPyH3_z_g" horizontal="true">
<children xsi:type="basic:PartStack" xmi:id="_Q2rRfoj-EfCcBcPyH3_z_g" elementId="bottom" containerData="6399" selectedElement="_Q2rRgYj-EfCcBcPyH3_z_g"> <children xsi:type="basic:PartStack" xmi:id="_Q2rRfoj-EfCcBcPyH3_z_g" elementId="bottom" containerData="6399" selectedElement="_Q2rRgYj-EfCcBcPyH3_z_g">
<tags>active</tags>
<children xsi:type="advanced:Placeholder" xmi:id="_Q2rRf4j-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.views.ProblemView" ref="_Q2j8sYj-EfCcBcPyH3_z_g" closeable="true"> <children xsi:type="advanced:Placeholder" xmi:id="_Q2rRf4j-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.views.ProblemView" ref="_Q2j8sYj-EfCcBcPyH3_z_g" closeable="true">
<tags>View</tags> <tags>View</tags>
<tags>categoryTag:General</tags> <tags>categoryTag:General</tags>
@@ -159,7 +158,7 @@
<tags>persp.newWizSC:com.st.stm32cube.common.projectcreation.ui.stm32projectfromiocwizard</tags> <tags>persp.newWizSC:com.st.stm32cube.common.projectcreation.ui.stm32projectfromiocwizard</tags>
<tags>persp.newWizSC:com.st.stm32cube.ide.mpu.linux.projectcreation.ui.wizard.linuxprojectfromsourcewizard</tags> <tags>persp.newWizSC:com.st.stm32cube.ide.mpu.linux.projectcreation.ui.wizard.linuxprojectfromsourcewizard</tags>
<tags>persp.newWizSC:com.st.stm32cube.ide.cmake.newwizard</tags> <tags>persp.newWizSC:com.st.stm32cube.ide.cmake.newwizard</tags>
<children xsi:type="basic:PartSashContainer" xmi:id="_A9HiUYj_EfCcBcPyH3_z_g" selectedElement="_A9HiUoj_EfCcBcPyH3_z_g" horizontal="true"> <children xsi:type="basic:PartSashContainer" xmi:id="_A9HiUYj_EfCcBcPyH3_z_g" selectedElement="_A9HiVIj_EfCcBcPyH3_z_g" horizontal="true">
<children xsi:type="basic:PartStack" xmi:id="_A9HiUoj_EfCcBcPyH3_z_g" elementId="left" containerData="1825" selectedElement="_A9HiU4j_EfCcBcPyH3_z_g"> <children xsi:type="basic:PartStack" xmi:id="_A9HiUoj_EfCcBcPyH3_z_g" elementId="left" containerData="1825" selectedElement="_A9HiU4j_EfCcBcPyH3_z_g">
<children xsi:type="advanced:Placeholder" xmi:id="_A9HiU4j_EfCcBcPyH3_z_g" elementId="org.eclipse.ui.navigator.ProjectExplorer" ref="_Q2iHgIj-EfCcBcPyH3_z_g" closeable="true"> <children xsi:type="advanced:Placeholder" xmi:id="_A9HiU4j_EfCcBcPyH3_z_g" elementId="org.eclipse.ui.navigator.ProjectExplorer" ref="_Q2iHgIj-EfCcBcPyH3_z_g" closeable="true">
<tags>View</tags> <tags>View</tags>
@@ -221,9 +220,30 @@
<tags>categoryTag:Help</tags> <tags>categoryTag:Help</tags>
</sharedElements> </sharedElements>
<sharedElements xsi:type="advanced:Area" xmi:id="_Q2bZ0Ij-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.editorss" selectedElement="_Q2bZ0Yj-EfCcBcPyH3_z_g"> <sharedElements xsi:type="advanced:Area" xmi:id="_Q2bZ0Ij-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.editorss" selectedElement="_Q2bZ0Yj-EfCcBcPyH3_z_g">
<children xsi:type="basic:PartStack" xmi:id="_Q2bZ0Yj-EfCcBcPyH3_z_g" elementId="org.eclipse.e4.primaryDataStack"> <children xsi:type="basic:PartStack" xmi:id="_Q2bZ0Yj-EfCcBcPyH3_z_g" elementId="org.eclipse.e4.primaryDataStack" selectedElement="_tmD6wJAUEfCRrvQCfOImjQ">
<tags>EditorStack</tags> <tags>EditorStack</tags>
<tags>org.eclipse.e4.primaryDataStack</tags> <tags>org.eclipse.e4.primaryDataStack</tags>
<tags>active</tags>
<children xsi:type="basic:Part" xmi:id="_rC7PoJAUEfCRrvQCfOImjQ" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="main.c" iconURI="platform:/plugin/org.eclipse.cdt.ui/icons/obj16/c_file_obj.gif" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;editor id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;main.c&quot; partName=&quot;main.c&quot; title=&quot;main.c&quot; tooltip=&quot;Calc2/Core/Src/main.c&quot;>&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Calc2/Core/Src/main.c&quot;/>&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;13185&quot; selectionTopPixel=&quot;8553&quot;/>&#xA;&lt;/editor>"/>
<tags>Editor</tags>
<tags>removeOnHide</tags>
<tags>org.eclipse.cdt.ui.editor.CEditor</tags>
</children>
<children xsi:type="basic:Part" xmi:id="_tmD6wJAUEfCRrvQCfOImjQ" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="breadboard.c" iconURI="platform:/plugin/org.eclipse.cdt.ui/icons/obj16/c_file_obj.gif" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;editor id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;breadboard.c&quot; partName=&quot;breadboard.c&quot; title=&quot;breadboard.c&quot; tooltip=&quot;Calc2/Core/Src/breadboard.c&quot;>&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Calc2/Core/Src/breadboard.c&quot;/>&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;399&quot; selectionTopPixel=&quot;0&quot;/>&#xA;&lt;/editor>"/>
<tags>Editor</tags>
<tags>removeOnHide</tags>
<tags>org.eclipse.cdt.ui.editor.CEditor</tags>
<tags>active</tags>
<tags>activeOnClose</tags>
</children>
<children xsi:type="basic:Part" xmi:id="_X1dqUJAWEfCRrvQCfOImjQ" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="main.h" iconURI="platform:/plugin/org.eclipse.cdt.ui/icons/obj16/c_file_obj.gif" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;editor id=&quot;org.eclipse.cdt.ui.editor.CEditor&quot; name=&quot;main.h&quot; partName=&quot;main.h&quot; title=&quot;main.h&quot; tooltip=&quot;Calc2/Core/Inc/main.h&quot;>&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/Calc2/Core/Inc/main.h&quot;/>&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;7&quot; selectionOffset=&quot;7242&quot; selectionTopPixel=&quot;3485&quot;/>&#xA;&lt;/editor>"/>
<tags>Editor</tags>
<tags>removeOnHide</tags>
<tags>org.eclipse.cdt.ui.editor.CEditor</tags>
</children>
</children> </children>
</sharedElements> </sharedElements>
<sharedElements xsi:type="basic:Part" xmi:id="_Q2iHgIj-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.navigator.ProjectExplorer" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Project Explorer" iconURI="platform:/plugin/org.eclipse.ui.navigator.resources/icons/full/eview16/resource_persp.png" tooltip="" closeable="true"> <sharedElements xsi:type="basic:Part" xmi:id="_Q2iHgIj-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.navigator.ProjectExplorer" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Project Explorer" iconURI="platform:/plugin/org.eclipse.ui.navigator.resources/icons/full/eview16/resource_persp.png" tooltip="" closeable="true">
@@ -253,7 +273,7 @@
<sharedElements xsi:type="basic:Part" xmi:id="_Q2j8sYj-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.views.ProblemView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Problems" iconURI="platform:/plugin/org.eclipse.ui.ide/icons/full/eview16/problems_view.png" tooltip="" closeable="true"> <sharedElements xsi:type="basic:Part" xmi:id="_Q2j8sYj-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.views.ProblemView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Problems" iconURI="platform:/plugin/org.eclipse.ui.ide/icons/full/eview16/problems_view.png" tooltip="" closeable="true">
<persistedState key="originalCompatibilityViewClass" value="org.eclipse.ui.internal.views.markers.ProblemsView"/> <persistedState key="originalCompatibilityViewClass" value="org.eclipse.ui.internal.views.markers.ProblemsView"/>
<persistedState key="originalCompatibilityViewBundle" value="org.eclipse.ui.ide"/> <persistedState key="originalCompatibilityViewBundle" value="org.eclipse.ui.ide"/>
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;view PRIMARY_SORT_FIELD=&quot;org.eclipse.ui.ide.severityAndDescriptionField&quot; categoryGroup=&quot;org.eclipse.ui.ide.severity&quot; markerContentGenerator=&quot;org.eclipse.ui.ide.problemsGenerator&quot;>&#xA;&lt;expanded>&#xA;&lt;category IMemento.internal.id=&quot;Errors&quot;/>&#xA;&lt;category IMemento.internal.id=&quot;Warnings&quot;/>&#xA;&lt;/expanded>&#xA;&lt;columnWidths org.eclipse.ui.ide.locationField=&quot;105&quot; org.eclipse.ui.ide.markerType=&quot;105&quot; org.eclipse.ui.ide.pathField=&quot;140&quot; org.eclipse.ui.ide.resourceField=&quot;105&quot; org.eclipse.ui.ide.severityAndDescriptionField=&quot;350&quot;/>&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.severityAndDescriptionField&quot;/>&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.resourceField&quot;/>&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.pathField&quot;/>&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.locationField&quot;/>&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.markerType&quot;/>&#xA;&lt;/view>"/> <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;view PRIMARY_SORT_FIELD=&quot;org.eclipse.ui.ide.severityAndDescriptionField&quot; categoryGroup=&quot;org.eclipse.ui.ide.severity&quot; markerContentGenerator=&quot;org.eclipse.ui.ide.problemsGenerator&quot;>&#xA;&lt;columnWidths org.eclipse.ui.ide.locationField=&quot;105&quot; org.eclipse.ui.ide.markerType=&quot;105&quot; org.eclipse.ui.ide.pathField=&quot;140&quot; org.eclipse.ui.ide.resourceField=&quot;105&quot; org.eclipse.ui.ide.severityAndDescriptionField=&quot;350&quot;/>&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.severityAndDescriptionField&quot;/>&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.resourceField&quot;/>&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.pathField&quot;/>&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.locationField&quot;/>&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.markerType&quot;/>&#xA;&lt;/view>"/>
<tags>View</tags> <tags>View</tags>
<tags>categoryTag:General</tags> <tags>categoryTag:General</tags>
<menus xmi:id="_Q8Y34Ij-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.views.ProblemView"> <menus xmi:id="_Q8Y34Ij-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.views.ProblemView">
@@ -280,8 +300,6 @@
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;view/>"/> <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;view/>"/>
<tags>View</tags> <tags>View</tags>
<tags>categoryTag:General</tags> <tags>categoryTag:General</tags>
<tags>active</tags>
<tags>activeOnClose</tags>
<menus xmi:id="_SorakIj-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.console.ConsoleView"> <menus xmi:id="_SorakIj-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.console.ConsoleView">
<tags>ViewMenu</tags> <tags>ViewMenu</tags>
<tags>menuContribution:menu</tags> <tags>menuContribution:menu</tags>
@@ -379,7 +397,7 @@
</children> </children>
<children xsi:type="menu:ToolBar" xmi:id="_Q0SEwIj-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.workbench.file"> <children xsi:type="menu:ToolBar" xmi:id="_Q0SEwIj-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.workbench.file">
<tags>Draggable</tags> <tags>Draggable</tags>
<children xsi:type="menu:HandledToolItem" xmi:id="_jWQT8I_JEfCGL7AeMk98VA" elementId="print" visible="false" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/print_edit.png" tooltip="Print" command="_PHEVMIj-EfCcBcPyH3_z_g"/> <children xsi:type="menu:HandledToolItem" xmi:id="_ouCb4JAUEfCRrvQCfOImjQ" elementId="print" visible="false" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/print_edit.png" tooltip="Print" command="_PHEVMIj-EfCcBcPyH3_z_g"/>
</children> </children>
<children xsi:type="menu:ToolBar" xmi:id="_Q0SEwYj-EfCcBcPyH3_z_g" elementId="group.edit" toBeRendered="false"> <children xsi:type="menu:ToolBar" xmi:id="_Q0SEwYj-EfCcBcPyH3_z_g" elementId="group.edit" toBeRendered="false">
<tags>toolbarSeparator</tags> <tags>toolbarSeparator</tags>
@@ -387,8 +405,8 @@
</children> </children>
<children xsi:type="menu:ToolBar" xmi:id="_Q0SEw4j-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.workbench.edit"> <children xsi:type="menu:ToolBar" xmi:id="_Q0SEw4j-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.workbench.edit">
<tags>Draggable</tags> <tags>Draggable</tags>
<children xsi:type="menu:HandledToolItem" xmi:id="_jWSwMI_JEfCGL7AeMk98VA" elementId="undo" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/undo_edit.png" tooltip="Undo" enabled="false" command="_PHEVHoj-EfCcBcPyH3_z_g"/> <children xsi:type="menu:HandledToolItem" xmi:id="_ouEREJAUEfCRrvQCfOImjQ" elementId="undo" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/undo_edit.png" tooltip="Undo" command="_PHEVHoj-EfCcBcPyH3_z_g"/>
<children xsi:type="menu:HandledToolItem" xmi:id="_jWTXQI_JEfCGL7AeMk98VA" elementId="redo" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/redo_edit.png" tooltip="Redo" enabled="false" command="_PHFjQYj-EfCcBcPyH3_z_g"/> <children xsi:type="menu:HandledToolItem" xmi:id="_ouE4IJAUEfCRrvQCfOImjQ" elementId="redo" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/redo_edit.png" tooltip="Redo" enabled="false" command="_PHFjQYj-EfCcBcPyH3_z_g"/>
</children> </children>
<children xsi:type="menu:ToolBar" xmi:id="_Q0SExIj-EfCcBcPyH3_z_g" elementId="additions" toBeRendered="false"> <children xsi:type="menu:ToolBar" xmi:id="_Q0SExIj-EfCcBcPyH3_z_g" elementId="additions" toBeRendered="false">
<tags>toolbarSeparator</tags> <tags>toolbarSeparator</tags>
@@ -412,7 +430,7 @@
</children> </children>
<children xsi:type="menu:ToolBar" xmi:id="_Q0SEyIj-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.workbench.navigate"> <children xsi:type="menu:ToolBar" xmi:id="_Q0SEyIj-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.workbench.navigate">
<tags>Draggable</tags> <tags>Draggable</tags>
<children xsi:type="menu:HandledToolItem" xmi:id="_jWVMcI_JEfCGL7AeMk98VA" elementId="org.eclipse.ui.window.pinEditor" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/pin_editor.png" tooltip="Pin Editor" enabled="false" type="Check" command="_PHDuDoj-EfCcBcPyH3_z_g"/> <children xsi:type="menu:HandledToolItem" xmi:id="_ouGGQJAUEfCRrvQCfOImjQ" elementId="org.eclipse.ui.window.pinEditor" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/pin_editor.png" tooltip="Pin Editor" type="Check" command="_PHDuDoj-EfCcBcPyH3_z_g"/>
</children> </children>
<children xsi:type="menu:ToolBar" xmi:id="_Q0Sr0Ij-EfCcBcPyH3_z_g" elementId="group.editor" toBeRendered="false"> <children xsi:type="menu:ToolBar" xmi:id="_Q0Sr0Ij-EfCcBcPyH3_z_g" elementId="group.editor" toBeRendered="false">
<tags>toolbarSeparator</tags> <tags>toolbarSeparator</tags>
@@ -1972,7 +1990,7 @@
<addons xmi:id="_PGuW1oj-EfCcBcPyH3_z_g" elementId="MinMax Addon" contributorURI="platform:/plugin/org.eclipse.ui.workbench" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.MinMaxAddon"/> <addons xmi:id="_PGuW1oj-EfCcBcPyH3_z_g" elementId="MinMax Addon" contributorURI="platform:/plugin/org.eclipse.ui.workbench" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.MinMaxAddon"/>
<addons xmi:id="_PGuW14j-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.workbench.addon.0" contributorURI="platform:/plugin/org.eclipse.ui.workbench" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.HandlerProcessingAddon"/> <addons xmi:id="_PGuW14j-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.workbench.addon.0" contributorURI="platform:/plugin/org.eclipse.ui.workbench" contributionURI="bundleclass://org.eclipse.e4.ui.workbench/org.eclipse.e4.ui.internal.workbench.addons.HandlerProcessingAddon"/>
<addons xmi:id="_PG1rgIj-EfCcBcPyH3_z_g" elementId="SplitterAddon" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.splitteraddon.SplitterAddon"/> <addons xmi:id="_PG1rgIj-EfCcBcPyH3_z_g" elementId="SplitterAddon" contributionURI="bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.splitteraddon.SplitterAddon"/>
<addons xmi:id="_i_964I_JEfCGL7AeMk98VA" elementId="org.eclipse.ui.ide.addon.0" contributionURI="bundleclass://org.eclipse.ui.ide/org.eclipse.ui.internal.ide.addons.SaveAllDirtyPartsAddon"/> <addons xmi:id="_IYS0IKimEeS11vbz3f9ezw" elementId="org.eclipse.ui.ide.addon.0" contributorURI="platform:/plugin/org.eclipse.ui.ide" contributionURI="bundleclass://org.eclipse.ui.ide/org.eclipse.ui.internal.ide.addons.SaveAllDirtyPartsAddon"/>
<addons xmi:id="_dz0JgGOlEeSMMaPQU2nlzw" elementId="org.eclipse.ui.ide.application.addon.0" contributorURI="platform:/plugin/org.eclipse.ui.ide.application" contributionURI="bundleclass://org.eclipse.ui.ide.application/org.eclipse.ui.internal.ide.application.addons.ModelCleanupAddon"/> <addons xmi:id="_dz0JgGOlEeSMMaPQU2nlzw" elementId="org.eclipse.ui.ide.application.addon.0" contributorURI="platform:/plugin/org.eclipse.ui.ide.application" contributionURI="bundleclass://org.eclipse.ui.ide.application/org.eclipse.ui.internal.ide.application.addons.ModelCleanupAddon"/>
<categories xmi:id="_PHADkIj-EfCcBcPyH3_z_g" elementId="org.eclipse.team.ui.category.team" name="Version control (Team)" description="Actions that apply when working with a version control system"/> <categories xmi:id="_PHADkIj-EfCcBcPyH3_z_g" elementId="org.eclipse.team.ui.category.team" name="Version control (Team)" description="Actions that apply when working with a version control system"/>
<categories xmi:id="_PHAqoIj-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.category.views" name="Views" description="Commands for opening views"/> <categories xmi:id="_PHAqoIj-EfCcBcPyH3_z_g" elementId="org.eclipse.ui.category.views" name="Views" description="Commands for opening views"/>

View File

@@ -3,6 +3,7 @@
<item key="hasShownOverlayPopupBefore" value="true"/> <item key="hasShownOverlayPopupBefore" value="true"/>
<item key="replaceBarOpen" value="false"/> <item key="replaceBarOpen" value="false"/>
<list key="searchhistory"> <list key="searchhistory">
<item value="LED_EXT"/>
<item value="include"/> <item value="include"/>
<item value="EXT"/> <item value="EXT"/>
<item value="thread"/> <item value="thread"/>
@@ -17,6 +18,5 @@
<item value="B1_Pin"/> <item value="B1_Pin"/>
<item value="osThreadDef"/> <item value="osThreadDef"/>
<item value="osThreadId"/> <item value="osThreadId"/>
<item value="while (1)"/>
</list> </list>
</section> </section>

View File

@@ -1,3 +1,3 @@
#Fri Sep 12 06:13:44 CDT 2025 #Fri Sep 12 15:11:12 CDT 2025
org.eclipse.core.runtime=2 org.eclipse.core.runtime=2
org.eclipse.platform=4.33.0.v20240903-0240 org.eclipse.platform=4.33.0.v20240903-0240

View File

@@ -11,14 +11,22 @@
void void
breadboard(int DELAY_MS) breadboard(int DELAY_MS)
{ {
bool Purple = (HAL_GPIO_ReadPin(GPIOE, BTN_PRPL_Pin) == GPIO_PIN_SET); bool Purple = (HAL_GPIO_ReadPin(GPIOD, BTN_PRPL_Pin) == GPIO_PIN_SET); // PD5
bool Grey = (HAL_GPIO_ReadPin(GPIOE, BTN_GREY_Pin) == GPIO_PIN_SET); bool Grey = (HAL_GPIO_ReadPin(GPIOD, BTN_GREY_Pin) == GPIO_PIN_SET); // PD7
if (Purple && Grey) { if (!Purple && !Grey) { // inverted for ease of debug, assignment calls for (Purple && Grey)
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_SET); HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_SET); // PB4
} else { } else {
HAL_GPIO_WritePin(GPIOA, LED_EXT_Pin, GPIO_PIN_RESET); HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_RESET); // PB4
} }
HAL_Delay(DELAY_MS); // milliseconds of delay after execution HAL_Delay(DELAY_MS); // milliseconds of delay after execution
/*
// Always flash:
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_SET); // PB4 ON
HAL_Delay(DELAY_MS);
HAL_GPIO_WritePin(GPIOB, LED_EXT_Pin, GPIO_PIN_RESET); // PB4 OFF
HAL_Delay(DELAY_MS);
*/
} }

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.