Circuit diagram

3Dsimo Kit
Device: 3Dsimo Kit
Rev. 1.00 Page 9/18
Pic. 7: Verification (1) and compilation of the code (2)
4.4 Base code
# include "ssd1306.h"
# include "nano_gfx.h"
# include <EveryTimer.h>
/*
* define Input/Outputs
*/
# define LED_NANO 13 // LED placed on Arduino Nano board
# define BTN_UP 11 // controlling button UP/PLUS
# define BTN_DOWN 12 // controlling button DOWN/MINUS
# define BTN_EXT 8 // button for material extrusion
# define BTN_REV 7 // button for material reverse
# define MOTOR_DIR 6 // motor direction output
# define MOTOR_PWM 10 // motor PWM output for power driving
# define MOTOR_SLEEP 5
# define HEATER_EN 9 // heater/power output