Yes, I set up gadgeteer project and selected hydra mainboard (which shows on screen). Then from toolbox I selected Breadboard_x1 and dropped onto IDE. Next I connected port of Breadboard to Mainboard (all sockets showed green) to port 6.
In code if I enter Breadboard_x1. then I just get list of possible parameters such as setupdigitalio, setupditigaloutput. If I use one of these then I get option to select a pin on the port of the mainboard socket (but not sure which pins relate to Led1, led2 etc)
If I select Breadboad in left dropdown box then the right dropdown box does not show any available events.
This is my code so far…
Imports GT = Gadgeteer
Imports GTM = Gadgeteer.Modules
Imports Gadgeteer.Modules.GHIElectronics
Namespace Breadboard
Partial Public Class Program
' This is run when the mainboard is powered up or reset.
Public Sub ProgramStarted()
'*******************************************************************************************
' Hardware modules added in the Program.gadgeteer designer view are used by typing
' their name followed by a period, e.g. button. or camera.
'
' Many hardware modules generate useful events. To set up actions for those events, use the
' left dropdown box at the top of this code editing window to choose a hardware module, then
' use the right dropdown box to choose the event - an event handler will be auto-generated.
'*******************************************************************************************/
' Use Debug.Print to show messages in Visual Studio's "Output" window during debugging.
Debug.Print("Program Started")
breadBoard_X1.SetupDigitalOutput(Gadgeteer.Socket.Pin.Four, True)
End Sub
' If you want to do something periodically, declare a GT.Timer by uncommenting the below line
' and then use the dropdown boxes at the top of this window to generate a Tick event handler.
' Dim WithEvents timer As GT.Timer = new GT.Timer(1000) ' every second (1000ms)
End Class
End Namespace