Chat
Welcome to Flux
Treat Flux like your intern. Tell it what you'd like to build and it'll get to work. You can also ask it questions, brainstorm ideas, and teach it your preferences. Learn More
\#portal) will be used to connect different parts of the schematic, but no connections have been made yet.STM32F4: SPI MOSI à 74HC595: SER (Donnée série)STM32F4: SPI SCK à 74HC595: SRCLK (Horloge de décalage)STM32F4: GPIO (dédié) à 74HC595: RCLK (Horloge de registre)74HC595: Q7' (sortie de décalage) se connecte à 74HC595 suivant: SER.C
void sendToShiftRegister(uint8_t *data, size_t len) { HAL_SPI_Transmit(&hspi1, data, len, HAL_MAX_DELAY); // Pulse the RCLK to latch the data to the output HAL_GPIO_WritePin(GPIOB, GPIO_PIN_1, GPIO_PIN_SET); HAL_Delay(1); HAL_GPIO_WritePin(GPIOB, GPIO_PIN_1, GPIO_PIN_RESET); HAL_Delay(1); }
Reviews
Net Portal
Properties
Portal
true
true
Net
Pricing & Availability
Distributor | Qty 1 |
|---|
Controls
Welcome 👋
Flux accelerates your PCB design with AI.
Create your account to start using this component and bring your ideas to life.
david998
copilot