# rasp-modules
Modules for Raspberry PI LCD, MCP3008.
This package will provide you with basic modules for communications between LCD, MCP3008 with raspberry PI. I will add new modules soon!.
## Installtaion:
```
pip install rasp-modules
```
## Usage:
import the LCD for Display and import MCP3008 for analogue communication.
#### LCD
```python
from display.lcd import LCD
lcd = LCD(5, 6, 12, 13, 16, 19)
or
lcd = LCD(rs=5, en=6, d4=12, d5=13, d6=16, d7=19)
lcd.cursor_start(0, 0)
lcd.print_line(f"testing") # "Message string
```
#### MCP3008
```python
from analogue.mcp3008 import MCP3008
adc_mcp3008 = MCP3008(max_speed_hz=1_000_000)
lcd.cursor_start(0, 0)
lcd.print_line(adc_mcp3008) # "Message string
```
Raw data
{
"_id": null,
"home_page": "https://github.com/4yub1k/rasp-modules",
"name": "rasp-modules",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "rasberry,rasberrypi,rasberry pi",
"author": "Salah Ud Din (@4yub1k)",
"author_email": "salahuddin@protonmail.com",
"download_url": "https://files.pythonhosted.org/packages/7b/50/3ac6bae8acc09b05850727103c6271fab9c0b21aab941d75782b27b297fe/rasp-modules-1.0.2.tar.gz",
"platform": null,
"description": "# rasp-modules\r\nModules for Raspberry PI LCD, MCP3008.\r\n\r\nThis package will provide you with basic modules for communications between LCD, MCP3008 with raspberry PI. I will add new modules soon!.\r\n\r\n## Installtaion:\r\n```\r\npip install rasp-modules\r\n```\r\n\r\n## Usage:\r\n import the LCD for Display and import MCP3008 for analogue communication.\r\n\r\n#### LCD\r\n ```python\r\n from display.lcd import LCD\r\n \r\n lcd = LCD(5, 6, 12, 13, 16, 19)\r\n or\r\n lcd = LCD(rs=5, en=6, d4=12, d5=13, d6=16, d7=19)\r\n\r\n lcd.cursor_start(0, 0)\r\n lcd.print_line(f\"testing\") # \"Message string\r\n ```\r\n\r\n#### MCP3008\r\n ```python\r\n from analogue.mcp3008 import MCP3008\r\n \r\n adc_mcp3008 = MCP3008(max_speed_hz=1_000_000)\r\n \r\n lcd.cursor_start(0, 0)\r\n lcd.print_line(adc_mcp3008) # \"Message string\r\n ```\r\n",
"bugtrack_url": null,
"license": "LICENSE",
"summary": "It contains modules for raspberry PI.",
"version": "1.0.2",
"project_urls": {
"Documentation": "https://rasp-modules.readthedocs.io/en/latest/",
"Homepage": "https://github.com/4yub1k/rasp-modules",
"Source": "https://github.com/4yub1k/rasp-modules"
},
"split_keywords": [
"rasberry",
"rasberrypi",
"rasberry pi"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1c170ff27402ab8e77bff7776bddd256852e097d091006f4f758271e8d593ffa",
"md5": "abfa5b0eee97e01c048f7553fbc9d08b",
"sha256": "ae5550a0fd5cf6ad0dcf769d900a09d42ed99621d8a2bca79b638ea8f0e0b5a0"
},
"downloads": -1,
"filename": "rasp_modules-1.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "abfa5b0eee97e01c048f7553fbc9d08b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 5336,
"upload_time": "2023-09-04T10:28:16",
"upload_time_iso_8601": "2023-09-04T10:28:16.281904Z",
"url": "https://files.pythonhosted.org/packages/1c/17/0ff27402ab8e77bff7776bddd256852e097d091006f4f758271e8d593ffa/rasp_modules-1.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7b503ac6bae8acc09b05850727103c6271fab9c0b21aab941d75782b27b297fe",
"md5": "f03c064a8aad64dab8283c498ca79734",
"sha256": "eba7614a322fd882401b4275e48f10b073942809030cd5e73d2c9f1b7f817b8d"
},
"downloads": -1,
"filename": "rasp-modules-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "f03c064a8aad64dab8283c498ca79734",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 5245,
"upload_time": "2023-09-04T10:28:18",
"upload_time_iso_8601": "2023-09-04T10:28:18.077082Z",
"url": "https://files.pythonhosted.org/packages/7b/50/3ac6bae8acc09b05850727103c6271fab9c0b21aab941d75782b27b297fe/rasp-modules-1.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-04 10:28:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "4yub1k",
"github_project": "rasp-modules",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "rasp-modules"
}