The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Simulink, RTWEC and a Microcontroller
Replies: 1   Last Post: Dec 11, 2012 11:44 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 1
Registered: 12/11/12
Simulink, RTWEC and a Microcontroller
Posted: Dec 11, 2012 11:45 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello Everyone!

So I wanted to know if this is possible and if yes, how it could be done.

I have been working on microcontrollers (AtMega8/16) for hobby purposes. I have been writing C codes for simple stuff like running a motor etc. Then I came across RTWEC feature in Simulink and was wondering that if I make a simulink model and use the RTWEC feature, I will not have to write a C code manually.

Basic question I face is - I specify the pin I want to drive the motor by in the C code. How can I specify an output pin/input pin for the microcontroller in Simulink?



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.