https://www.latticesemi.com/Products/DevelopmentBoardsAndKits/iCE40HX8KBreakoutBoard.aspx
Custom BOB originally designed and used with BBB & machinekit
12 Ouput 5 Input https://github.com/ozzyrob/pp_bob_output
4 Output 12 Input https://github.com/ozzyrob/pp_bob_input
Descriptions of the Inputs & Outputs for both boards relate to use with BeagleBone Black, please