From 36a280688499522f611dabb1fe5da943f2c75810 Mon Sep 17 00:00:00 2001 From: atomega Date: Thu, 21 Oct 2021 22:27:44 +0200 Subject: [PATCH] Raspberry test is a sucsessgit add . --- bsl/raspberry/bsl_raspberry.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bsl/raspberry/bsl_raspberry.cpp b/bsl/raspberry/bsl_raspberry.cpp index 30bdcb4..04f936a 100644 --- a/bsl/raspberry/bsl_raspberry.cpp +++ b/bsl/raspberry/bsl_raspberry.cpp @@ -7,10 +7,15 @@ int startBSL() int i = 0; Pin pin; Delay delay; + pin.init(); + pin.setMode(Pin::output); for(i=0; i < 5; i++) { std::cout << "Hello from raspberry" << std::endl; + pin.write(1); + delay.ms(500); + pin.write(0); delay.ms(500); } return 1;