Attachments are accessible only for community members.
Anonymous
Not applicable
Jan 05, 2018
02:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 05, 2018
02:00 AM
I am attaching my code for running stepper motor ,could you please tell me is there any mistake in it.With this program my motor is not working.
Solved! Go to Solution.
Labels
- Labels:
-
PSoC 3
1 Solution
Jan 05, 2018
06:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 05, 2018
06:47 AM
int SPItransfer(uint_8 Data)
{
SPI_WriteTxData(Data);
SPI_ReadRxData();
return Data;
}
This will not work, you need to wait until the data transfer has completed before reading the result.
Bob
1 Reply