Skip to content

Commit

Permalink
fixed memory issue
Browse files Browse the repository at this point in the history
sine table no longer stored in ram.  It can now be generated from menu.
jcchurch13 committed Nov 29, 2016
1 parent 861ead4 commit 202251c
Showing 4 changed files with 26 additions and 14 deletions.
5 changes: 1 addition & 4 deletions Mechaduino_01/Mechaduino_01/Mechaduino_01.ino
Original file line number Diff line number Diff line change
@@ -53,8 +53,6 @@ void setup() {
digitalWrite(13,HIGH); //turn LED on
setupPins();
setupTCInterrupts();
sineGen();
stepNumber = 0; //this fixes a memory bug.... better fix coming soon.

SerialUSB.begin(115200);

@@ -64,8 +62,7 @@ void setup() {

digitalWrite(13,LOW); //turn LED off

pinMode(3, OUTPUT); //for debugging control loop timing on pin 3

pinMode(3, OUTPUT); //for debugging control loop timing on pin 3

// enableTCInterrupts(); //start in closed loop mode
// mode = 'x';
Loading

0 comments on commit 202251c

Please sign in to comment.