Repetier Gen7 1.5 SD Karte 23. March 2013 11:46 |
Registrierungsdatum: 10 Jahre zuvor Beiträge: 22 |
/** Set to false to disable SD support: */ #ifndef SDSUPPORT // Some boards have sd support on board. These define the values already in pins.h #define SDSUPPORT true /** If set to false all files with longer names then 8.3 or having a tilde in the name will be hidden */ #define SD_ALLOW_LONG_NAMES true // Uncomment to enable or changed card detection pin. With card detection the card is mounted on insertion. #define SDCARDDETECT 1 // Change to true if you get a inserted message on removal. #define SDCARDDETECTINVERTED false #endif /** Show extended directory including file length. Don't use this with pronterface! */ #define SD_EXTENDED_DIR
Re: Repetier Gen7 1.5 SD Karte 23. March 2013 18:07 |
Registrierungsdatum: 10 Jahre zuvor Beiträge: 273 |
Re: Repetier Gen7 1.5 SD Karte 28. March 2013 03:46 |
Registrierungsdatum: 10 Jahre zuvor Beiträge: 22 |
#define UI_DISPLAY_I2C_CHIPTYPE 0 // 0x40 till 0x4e for PCF8574, 0x40 for the adafruid RGB shield, 0x40 - 0x4e for MCP23017 // Official addresses have a value half as high! #define UI_DISPLAY_I2C_ADDRESS 0x40 // For MCP 23017 define which pins should be output #define UI_DISPLAY_I2C_OUTPUT_PINS 65504 // Set the output mask that is or'd over the output data. This is needed to activate // a backlight switched over the I2C. // The adafruit RGB shields enables a light if the bit is not set. Bits 6-8 are used for backlight. #define UI_DISPLAY_I2C_OUTPUT_START_MASK 0 // For MCP which inputs are with pullup. 31 = pins 0-4 for adafruid rgb shield buttons #define UI_DISPLAY_I2C_PULLUP 31 /* How fast should the I2C clock go. The PCF8574 work only with the lowest setting 100000. A MCP23017 can run also with 400000 Hz */ #define UI_I2C_CLOCKSPEED 100000L /** Define the pin */ #if UI_DISPLAY_TYPE==3 // I2C Pin configuration #define UI_DISPLAY_RS_PIN _BV(7) #define UI_DISPLAY_RW_PIN _BV(0) #define UI_DISPLAY_ENABLE_PIN _BV(6) #define UI_DISPLAY_D0_PIN _BV(4) #define UI_DISPLAY_D1_PIN _BV(3) #define UI_DISPLAY_D2_PIN _BV(2) #define UI_DISPLAY_D3_PIN _BV(1) #define UI_DISPLAY_D4_PIN _BV(4) #define UI_DISPLAY_D5_PIN _BV(3) #define UI_DISPLAY_D6_PIN _BV(2) #define UI_DISPLAY_D7_PIN _BV(1)
Re: Repetier Gen7 1.5 SD Karte 28. March 2013 05:34 |
Registrierungsdatum: 10 Jahre zuvor Beiträge: 273 |
Re: Repetier Gen7 1.5 SD Karte 28. March 2013 09:22 |
Registrierungsdatum: 10 Jahre zuvor Beiträge: 22 |
Re: Repetier Gen7 1.5 SD Karte 28. March 2013 17:05 |
Registrierungsdatum: 10 Jahre zuvor Beiträge: 273 |
Re: Repetier Gen7 1.5 SD Karte 30. March 2013 15:38 |
Registrierungsdatum: 10 Jahre zuvor Beiträge: 22 |
Re: Repetier Gen7 1.5 SD Karte 30. March 2013 18:29 |
Registrierungsdatum: 10 Jahre zuvor Beiträge: 273 |
Re: Repetier Gen7 1.5 SD Karte 30. March 2013 18:58 |
Registrierungsdatum: 10 Jahre zuvor Beiträge: 22 |