Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jake Read
ucbus-stepper
Commits
5902196a
Commit
5902196a
authored
Aug 09, 2021
by
Jake Read
Browse files
back together
parent
478ff3e8
Changes
2
Show whitespace changes
Inline
Side-by-side
firmware/stepper-drop/src/main.cpp
View file @
5902196a
...
...
@@ -151,7 +151,6 @@ void setup() {
ERRLIGHT_SETUP
;
CLKLIGHT_SETUP
;
DEBUG1PIN_SETUP
;
/*
// limit switch
//limitSetup();
// osap
...
...
@@ -176,10 +175,9 @@ void setup() {
osapAddVertex
(
homeStateEp
);
// 8
// stepper init
stepper_hw
->
init
(
false
,
c_scale
);
*/
// bare serial
Serial
.
begin
(
9600
);
ucBusDrop_setup
(
true
,
0
);
//
Serial.begin(9600);
//
ucBusDrop_setup(true, 0);
}
// have available,
...
...
@@ -193,6 +191,7 @@ uint8_t tstTx[14] = {1, 2, 3, 4, 5, 0, 7, 8, 9, 10, 11, 12, 13, 14};
uint8_t
tstRx
[
256
];
void
loop
()
{
/*
if(ucBusDrop_ctrB()){
ERRLIGHT_TOGGLE;
uint16_t len = ucBusDrop_readB(tstRx);
...
...
@@ -202,8 +201,9 @@ void loop() {
ucBusDrop_transmitB(tstRx, len);
}
}
//osapLoop();
//stepper_hw->dacRefresh();
*/
osapLoop
();
stepper_hw
->
dacRefresh
();
#ifdef TEST_TX
if
(
millis
()
>
lastTx
+
500
){
lastTx
=
millis
();
...
...
osape-d51
@
af5f9a0e
Compare
7d0be7a5
...
af5f9a0e
Subproject commit
7d0be7a5c309aab2a3300116c7e9fd2c425fc6cb
Subproject commit
af5f9a0e004a6134b38f0f1996bebda271f9c655
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment