Advertisement
Guest User

overlay

a guest
Jun 3rd, 2021
769
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. /{
  2. Documentation for the user regarding the model and supported boards
  3. model = "STMicroelectronics STM32H743ZI-NUCLEO board";
  4. compatible = "st,stm32h743zi-nucleo";
  5.  
  6. onoffmotors{
  7. compatible = "gpio-keys"; // If this doesn't work try nxt line
  8. // compatible = "gpio-leds";
  9.  
  10. onoffmotor1: motor1{
  11. gpios = <&gpiob 8 GPIO_ACTIVE_HIGH>; // Remapped to D0 pin in Arduino Connector DTSI file
  12. label = "On off Motor 1"
  13. };
  14.  
  15. };
  16.  
  17. aliases{
  18. bimotor1 = &onoffmotor1;
  19. };
  20. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement