Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed mbed-rtos X_NUCLEO_IHM02A1
Revision 32:297989ec8abf, committed 2019-04-17
- Comitter:
- scherfa2
- Date:
- Wed Apr 17 09:25:39 2019 +0000
- Parent:
- 31:4bb6d2cedad2
- Commit message:
- Update Schrittmotoren SPI
Changed in this revision
| SCHRITTMOTOREN_INIT.cpp | Show annotated file Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SCHRITTMOTOREN_INIT.cpp Wed Apr 17 07:55:47 2019 +0000
+++ b/SCHRITTMOTOREN_INIT.cpp Wed Apr 17 09:25:39 2019 +0000
@@ -74,7 +74,7 @@
void SchrittmotorenInit()
{
/* Initializing Motor Control Expansion Board. */
- x_nucleo_ihm02a1_2 = new XNucleoIHM02A12(&init[0], &init[1],A4, A5, D4, D2, PB_15, PB_14, PB_13 );
+ x_nucleo_ihm02a1_2 = new XNucleoIHM02A12(&init[0], &init[1],A4, A5, D4, D2, D11, D12, D3 );
x_nucleo_ihm02a1_1 = new XNucleoIHM02A1(&init[0], &init[1], A4, A5, D4, A2, D11, D12, D3 );
--- a/main.cpp Wed Apr 17 07:55:47 2019 +0000 +++ b/main.cpp Wed Apr 17 09:25:39 2019 +0000 @@ -17,9 +17,6 @@ * PA6 (D12) (miso Steppmotor Treiber1) * PA4 (A2) (Select Steppmotor Treiber1) * - * PB15 (mosi Steppmotor Treiber2) - * PB14 (miso Steppmotor Treiber2) - * PB13 (slk Steppmotor Treiber2) * PB6 (D10)(pwm_io)(CN5-3) * PB5 (D4)(Standby_reset Steppmotor) * PB4 (D5)(pwm_io2)(CN9-6)