arduino-spice

Can we simulate arduino at Spice ?Because i control an analog circut with arduino uno

I've never used simulation....

I don't know if it's possible to simulate the software.

But, if you know the output states that control your analog circuit you may be able to simulate those states/conditions.

it is more comple because the input of arduino is from analog circuit and output is pwm