Puis-je obtenir un programme de studio Visual C # pour contrôler un Raspberry Pi?

Je travaille sur un projet qui combine une application de studio visuel et un pi de framboise.

Existe-t-il un moyen simple d’exécuter un programme de terminal (tel que “python script.py”) sur un Raspberry pi via un programme C # Visual Studio et de récupérer les résultats?

SI VOUS COUREZ Windows 10 SUR VOTRE Raspberry .

Vous pouvez utiliser un Powershell distant sur un Raspberry sous Windows 10 avec les éléments suivants:

# Start WinRM on the local Windows OS net start WinRM # Vérify RaspBerry PI3 access Test-Connection jparmpbpi3-1 # Allow accesss to Raspberry PI3 Set-Item WSMan:\localhost\Client\TrustedHosts -Value 'jparmpbpi3-1' # Etablish the connexion Enter-PSSession -ComputerName 'jparmpbpi3-1' -Credential (Get-Credential -UserName 'administrator' -Message 'Mot de passe !') # You can allow a pseudo cmd.exe command line on the Windows 10 of your Raspberry reg.exe ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\EmbeddedMode\ProcessLauncher" /v AllowedExecutableFilesList /t REG_MULTI_SZ /d "c:\windows\system32\cmd.exe\0" 

Ensuite, vous pouvez utiliser developp en utilisant .NET core sur Raspberry .

SI VOTRE RUN RBPIAN , vous pouvez déployer Mono et développer avec Visual Studio ou Visual Code (.net core).