Jump to content

klaus_ci

Members
  • Gesamte Inhalte

    4
  • Benutzer seit

  • Letzter Besuch

Alle erstellten Inhalte von klaus_ci

  1. Thanks. It works. And the bug seems to be fixed. When will it be on github? Another question: I can only send approx 100 CAN frames/s (same with go and python). Is this a limitation of the bricklet?
  2. Thanks, I did as you told me. but I am using go.mod. When I try to build, I get main.go:10:2: no required module provides package github.com/Tinkerforge/go-api-bindings/can_v2_bricklet; to add it: go get github.com/Tinkerforge/go-api-bindings/can_v2_bricklet What do I have to write in go.mod to tell go to use the package in GOPATH?
  3. Thanks, honestly, I don't know how to use the ZIP file to import it into my project. Can you tell me how to do it?
  4. The go API Binding Version 2.0.12 for CAN V2 Bricklet does not work correctly. I set the module in Transceiver Loopback Mode. I send a frame with 8 bytes. Only the first byte is correct, all others are zero. Sending a frame with less than 8 bytes results in all bytes being zero can.SetTransceiverConfiguration(uint32(*bitrate), 800, can_v2_bricklet.TransceiverModeLoopback) can.WriteFrame(can_v2_bricklet.FrameTypeStandardData, 1742, []uint8{42, 23, 17, 42, 23, 17, 42, 23}) On bus --> 2A 00 00 00 00 00 00 00 Has anyone seen a similar problem?
×
×
  • Neu erstellen...