Proteus iot builder for raspberryPi mcp3008 Problem

Discussion on both general simulation and Proteus VSM microcontroller simulation.
Post Reply
poseider
Unlicenced User
Posts: 1
Joined: Sun 2020-08-30 15:28

Proteus iot builder for raspberryPi mcp3008 Problem

Post by poseider »

Hi everyone,

please I need some help wiring and configuration the mcp3008 ADC on Proteus IOT Builder with raspberryPI.
I connected :
the Pi CLK to the MCP CLK
the Pi MISO to the MCP DOUT
the Pi MOSI to the MCP DIN
and the Pi CS to the MCP CS/SHDN
but when I simulate this errors appear :

[VSMPY] File "C:\Users\Jawhar\AppData\Local\Temp\VSM Studio\be09b88a6d4042db9b27604dfc64139e\RPI3\Debug\main.py", line 28 [U1]
( line 28 pio.U2=Generic.MCP3008 (pio.CLK, pio.MISO, pio.MOSI, pio.$CS$) )
[VSMPY] pio.U2=Generic.MCP3008 (pio.CLK, pio.MISO, pio.MOSI, pio.$CS$) [U1]
[VSMPY] ^ [U1]
[VSMPY] SyntaxError: invalid syntax [U1]
[VSMPY] Python execution finished [U1]

Can someone help me running this and thanks in advance.
David
Site Admin
Posts: 2267
Joined: Mon 2006-02-20 14:56
Location: Head Office
Contact:

Re: Proteus iot builder for raspberryPi mcp3008 Problem

Post by David »

Hi,

Please can you provide your customer number via support@labcenter.com or PM so that we can provide you with support, thanks.

Regards,
Dave.
Post Reply