Skip to main content

COINESPY: Interface for Bosch Sensortec's Engineering Boards.

COINESPY provides a python interface for interacting with the Bosch Sensortec's Engineering boards.

The library offers the following range of functionalities:

  • Control VDD and VDDIO of sensor
  • Configure SPI and I2C bus parameters
  • Read and write into registers of sensors from Bosch Sensortec via SPI and I2C
  • Read and write digital pins of the Application Board.

Code example

Here’s a script to verify the installation by fetching the coinespy version, and the hardware and software versions of the connected board.

	import coinespy as cpy
	from coinespy import ErrorCodes
	
	COM_INTF = cpy.CommInterface.USB
	
	if __name__ == "__main__":
		board = cpy.CoinesBoard()
		print('coinespy version - %s' % cpy.__version__)
		board.open_comm_interface(COM_INTF)
		if board.error_code != ErrorCodes.COINES_SUCCESS:
			print(f'Could not connect to board: {board.error_code}')
		else:
			b_info = board.get_board_info()
			print(f"coines lib version: {board.lib_version}")
			print(
				f'BoardInfo: HW/SW ID: {hex(b_info.HardwareId)}/{hex(b_info.SoftwareId)}')
			board.close_comm_interface()

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coinespy-1.0.1.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coinespy-1.0.1-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file coinespy-1.0.1.tar.gz.

File metadata

  • Download URL: coinespy-1.0.1.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for coinespy-1.0.1.tar.gz
Algorithm Hash digest
SHA256 cb00f8c6bb06a091930abdc93483944d49a34969a078db65b2974d761d4604db
MD5 7e35d78c738d27a2b81561b140866db6
BLAKE2b-256 8f5670a9807d0541ca06e0c0bb4874c84fa8757f018b42c20e9bf665858ce7a7

See more details on using hashes here.

File details

Details for the file coinespy-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: coinespy-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for coinespy-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b7737fcb4e96d45828ae68754e515448930ca22d53fe3048640477c219e9d3a5
MD5 85e281a9c9524f748c4f5078f9dc0e70
BLAKE2b-256 1c593e291623c662620cf440c3ae7ef34a1c77dc8f855443054482fe4a71d1d6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page