Re: REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER no funciona December 26, 2014 11:02AM |
Registered: 9 years ago Posts: 25 |
Re: REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER no funciona December 26, 2014 05:49PM |
Registered: 9 years ago Posts: 25 |
Re: REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER no funciona December 26, 2014 07:47PM |
Registered: 9 years ago Posts: 47 |
Quote
danale17
buenas, estuvimos con cortes de luz asi que imposible pasarme para dejar una copia de como esta configurado
//LCD and SD support
//#define ULTRA_LCD //general LCD support, also 16x2
//#define DOGLCD // Support for SPI LCD 128x64 (Controller ST7565R graphic Display Family)
#define SDSUPPORT // Enable SD Card Support in Hardware Console
//#define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
//#define SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
//#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
//#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking
//#define ULTIMAKERCONTROLLER //as available from the Ultimaker online store.
//#define ULTIPANEL //the UltiPanel as on Thingiverse
//#define LCD_FEEDBACK_FREQUENCY_HZ 1000 // this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click
//#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100 // the duration the buzzer plays the UI feedback sound. ie Screen Click
// The MaKr3d Makr-Panel with graphic controller and SD support
// [reprap.org]
//#define MAKRPANEL
// The RepRapDiscount Smart Controller (white PC
// [reprap.org]
#define REPRAP_DISCOUNT_SMART_CONTROLLER
// The GADGETS3D G3D LCD/SD Controller (blue PC
// [reprap.org]
//#define G3D_PANEL
// The RepRapDiscount FULL GRAPHIC Smart Controller (quadratic white PC
// [reprap.org]
//
// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: [code.google.com]
//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
// The RepRapWorld REPRAPWORLD_KEYPAD v1.1
// [reprapworld.com]
//#define REPRAPWORLD_KEYPAD
//#define REPRAPWORLD_KEYPAD_MOVE_STEP 10.0 // how much should be moved when a key is pressed, eg 10.0 means 10mm per click
// The Elefu RA Board Control Panel
// [www.elefu.com]
// REMEMBER TO INSTALL LiquidCrystal_I2C.h in your ARUDINO library folder: [github.com]
//#define RA_CONTROL_PANEL
//automatic expansion
#if defined (MAKRPANEL)
#define DOGLCD
#define SDSUPPORT
#define ULTIPANEL
#define NEWPANEL
#define DEFAULT_LCD_CONTRAST 17
#endif
#if defined (REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
#define DOGLCD
#define U8GLIB_ST7920
#define REPRAP_DISCOUNT_SMART_CONTROLLER
#endif
#if defined(ULTIMAKERCONTROLLER) || defined(REPRAP_DISCOUNT_SMART_CONTROLLER) || defined(G3D_PANEL)
#define ULTIPANEL
#define NEWPANEL
#endif
#if defined(REPRAPWORLD_KEYPAD)
#define NEWPANEL
#define ULTIPANEL
#endif
#if defined(RA_CONTROL_PANEL)
#define ULTIPANEL
#define NEWPANEL
#define LCD_I2C_TYPE_PCA8574
#define LCD_I2C_ADDRESS 0x27 // I2C Address of the port expander
#endif
//I2C PANELS
//#define LCD_I2C_SAINSMART_YWROBOT
#ifdef LCD_I2C_SAINSMART_YWROBOT
// This uses the LiquidCrystal_I2C library ( [bitbucket.org] )
// Make sure it is placed in the Arduino libraries directory.
#define LCD_I2C_TYPE_PCF8575
#define LCD_I2C_ADDRESS 0x27 // I2C Address of the port expander
#define NEWPANEL
#define ULTIPANEL
#endif
// PANELOLU2 LCD with status LEDs, separate encoder and click inputs
//#define LCD_I2C_PANELOLU2
#ifdef LCD_I2C_PANELOLU2
// This uses the LiquidTWI2 library v1.2.3 or later ( [github.com] )
// Make sure the LiquidTWI2 directory is placed in the Arduino or Sketchbook libraries subdirectory.
// (v1.2.3 no longer requires you to define PANELOLU in the LiquidTWI2.h library header file)
// Note: The PANELOLU2 encoder click input can either be directly connected to a pin
// (if BTN_ENC defined to != -1) or read through I2C (when BTN_ENC == -1).
#define LCD_I2C_TYPE_MCP23017
#define LCD_I2C_ADDRESS 0x20 // I2C Address of the port expander
#define LCD_USE_I2C_BUZZER //comment out to disable buzzer on LCD
#define NEWPANEL
#define ULTIPANEL
#ifndef ENCODER_PULSES_PER_STEP
#define ENCODER_PULSES_PER_STEP 4
#endif
#ifndef ENCODER_STEPS_PER_MENU_ITEM
#define ENCODER_STEPS_PER_MENU_ITEM 1
#endif
#ifdef LCD_USE_I2C_BUZZER
#define LCD_FEEDBACK_FREQUENCY_HZ 1000
#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100
#endif
#endif
// Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
//#define LCD_I2C_VIKI
#ifdef LCD_I2C_VIKI
// This uses the LiquidTWI2 library v1.2.3 or later ( [github.com] )
// Make sure the LiquidTWI2 directory is placed in the Arduino or Sketchbook libraries subdirectory.
// Note: The pause/stop/resume LCD button pin should be connected to the Arduino
// BTN_ENC pin (or set BTN_ENC to -1 if not used)
#define LCD_I2C_TYPE_MCP23017
#define LCD_I2C_ADDRESS 0x20 // I2C Address of the port expander
#define LCD_USE_I2C_BUZZER //comment out to disable buzzer on LCD (requires LiquidTWI2 v1.2.3 or later)
#define NEWPANEL
#define ULTIPANEL
#endif
// Shift register panels
// ---------------------
// 2 wire Non-latching LCD SR from:
// [bitbucket.org]
//#define SR_LCD
#ifdef SR_LCD
#define SR_LCD_2W_NL // Non latching 2 wire shift register
//#define NEWPANEL
#endif
#ifdef ULTIPANEL
// #define NEWPANEL //enable this if you have a click-encoder panel
#define SDSUPPORT
#define ULTRA_LCD
#ifdef DOGLCD // Change number of lines to match the DOG graphic display
#define LCD_WIDTH 20
#define LCD_HEIGHT 5
#else
#define LCD_WIDTH 20
#define LCD_HEIGHT 4
#endif
#else //no panel but just LCD
#ifdef ULTRA_LCD
#ifdef DOGLCD // Change number of lines to match the 128x64 graphics display
#define LCD_WIDTH 20
#define LCD_HEIGHT 5
#else
#define LCD_WIDTH 16
#define LCD_HEIGHT 2
#endif
#endif
#endif
// default LCD contrast for dogm-like LCD displays
#ifdef DOGLCD
# ifndef DEFAULT_LCD_CONTRAST
# define DEFAULT_LCD_CONTRAST 32
# endif
#endif
// Increase the FAN pwm frequency. Removes the PWM noise but increases heating in the FET/Arduino
//#define FAST_PWM_FAN
// Temperature status LEDs that display the hotend and bet temperature.
// If all hotends and bed temperature and temperature setpoint are < 54C then the BLUE led is on.
// Otherwise the RED led is on. There is 1C hysteresis.
//#define TEMP_STAT_LEDS
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// which is not ass annoying as with the hardware PWM. On the other hand, if this frequency
// is too low, you should also increment SOFT_PWM_SCALE.
//#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency,
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled.
// However, control resolution will be halved for each increment;
// at zero value, there are 128 effective control positions.
#define SOFT_PWM_SCALE 0
// M240 Triggers a camera by emulating a Canon RC-1 Remote
// Data from: [www.doc-diy.net]
// #define PHOTOGRAPH_PIN 23
// SF send wrong arc g-codes when using Arc Point as fillet procedure
//#define SF_ARC_FIX
// Support for the BariCUDA Paste Extruder.
//#define BARICUDA
//define BlinkM/CyzRgb Support
//#define BLINKM
bueno por lo que entiendo deberia llegar hasta ahi, ya que lo que sigue es la configuracion de servo.
se los resalte en negrita aca, para que vean lo que indica que hay que hacer en algunos videos para que funcione, sin llevar librerias ni nada raro.
hoy Jorge y un amigo Santiago me estuvieron ayudando, pero no levantaba y la luz que se cortaba no ayudaba, pero de todos modos no funciono.
destildamos la primera opcion, la volvimos a dejar tildada, probe una a una las conviniciones y ayer probe de poner todas las otras y con la primera opcion activada y desactivada.
ya la unica que me queda es que alguien que la tenga me comparta su config o algo porque yo ya no se que hacerle.
exitos!
Danale
Re: REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER no funciona December 26, 2014 10:54PM |
Registered: 9 years ago Posts: 25 |
Re: REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER no funciona December 27, 2014 09:35AM |
Registered: 9 years ago Posts: 792 |
Quote
danale17
bueno acabo de leer tu mensaje y volvi a probar, pero el lcd sigue sin funcionar bien, el buzzer jamas sono, desde que lo tengo nunca hizo nada.. es una mala señal que ni conectado suene?
si es asi ya me rindo.. jajaja porque se como termina, me hace perder tiempo, me saca de las casillas y se come un pisoton, ya probare en la 3d de un amigo a ver si muestra caracteres, si los muestra el error es mio o de la config o del ramps que esta jodiendo, he visto varias con el mismo problema, que solo muestran cuadros y simbolos raros y es problemas de comunicacion por pines mal soldados o mal contacto.
al buscar el ping.h con ctrl+alt+flecha, el arduino rota la pantalla completa a 90 grados cualquiera...
asi que por hoy la dejo porque termina mal la pantallita.
gracias por tu tiempo!
Danale
Re: REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER no funciona December 27, 2014 09:47AM |
Registered: 9 years ago Posts: 25 |
Re: REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER no funciona December 27, 2014 10:47AM |
Registered: 9 years ago Posts: 17 |
Re: REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER no funciona December 27, 2014 11:29AM |
Registered: 9 years ago Posts: 792 |
•Arduino (Installation with IDE) 1.arrancar Arduino IDE 2.en el soft Arduino IDE, ir a importar libreria desde "Add Library" Menu. 3. Buscar el zip que se descargo y automaticamente lo agrega (u8glib_arduino_v1.17.zip) •Arduino (Manual Installation) 1.Unzip u8glib_arduino...X.XX.zip into the "libraries" folder of the Arduino IDE 2.Start Arduino IDE
// The following define selects which electronics board you have. // Please choose the name from boards.h that matches your setup #ifndef MOTHERBOARD #define MOTHERBOARD 33 #endif
#ifndef BOARDS_H #define BOARDS_H #define BOARD_UNKNOWN -1 #define BOARD_GEN7_CUSTOM 10 // Gen7 custom (Alfons3 Version) "https://github.com/Alfons3/Generation_7_Electronics" #define BOARD_GEN7_12 11 // Gen7 v1.1, v1.2 #define BOARD_GEN7_13 12 // Gen7 v1.3 #define BOARD_GEN7_14 13 // Gen7 v1.4 #define BOARD_CHEAPTRONIC 2 // Cheaptronic v1.0 #define BOARD_SETHI 20 // Sethi 3D_1 #define BOARD_RAMPS_OLD 3 // MEGA/RAMPS up to 1.2 #define BOARD_RAMPS_13_EFB 33 // RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Bed) #define BOARD_RAMPS_13_EEB 34 // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Bed) #define BOARD_RAMPS_13_EFF 35 // RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Fan) #define BOARD_RAMPS_13_EEF 36 // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Fan) #define BOARD_DUEMILANOVE_328P 4 // Duemilanove w/ ATMega328P pin assignment #define BOARD_GEN6 5 // Gen6 #define BOARD_GEN6_DELUXE 51 // Gen6 deluxe #define BOARD_SANGUINOLOLU_11 6 // Sanguinololu < 1.2 #define BOARD_SANGUINOLOLU_12 62 // Sanguinololu 1.2 and above #define BOARD_MELZI 63 // Melzi #define BOARD_STB_11 64 // STB V1.1 #define BOARD_AZTEEG_X1 65 // Azteeg X1 #define BOARD_MELZI_1284 66 // Melzi with ATmega1284 (MaKr3d version) #define BOARD_AZTEEG_X3 67 // Azteeg X3 #define BOARD_AZTEEG_X3_PRO 68 // Azteeg X3 Pro #define BOARD_ULTIMAKER 7 // Ultimaker #define BOARD_ULTIMAKER_OLD 71 // Ultimaker (Older electronics. Pre 1.5.4. This is rare) #define BOARD_ULTIMAIN_2 72 // Ultimainboard 2.x (Uses TEMP_SENSOR 20) #define BOARD_3DRAG 77 // 3Drag Controller #define BOARD_TEENSYLU 8 // Teensylu #define BOARD_RUMBA 80 // Rumba #define BOARD_PRINTRBOARD 81 // Printrboard (AT90USB1286) #define BOARD_BRAINWAVE 82 // Brainwave (AT90USB646) #define BOARD_SAV_MKI 83 // SAV Mk-I (AT90USB1286) #define BOARD_TEENSY2 84 // Teensy++2.0 (AT90USB1286) - CLI compile: DEFINES=AT90USBxx_TEENSYPP_ASSIGNMENTS HARDWARE_MOTHERBOARD=84 make #define BOARD_GEN3_PLUS 9 // Gen3+ #define BOARD_GEN3_MONOLITHIC 22 // Gen3 Monolithic Electronics #define BOARD_MEGATRONICS 70 // Megatronics #define BOARD_MEGATRONICS_2 701 // Megatronics v2.0 #define BOARD_MEGATRONICS_1 702 // Minitronics v1.0 #define BOARD_OMCA_A 90 // Alpha OMCA board #define BOARD_OMCA 91 // Final OMCA board #define BOARD_RAMBO 301 // Rambo #define BOARD_ELEFU_3 21 // Elefu Ra Board (v3) #define BOARD_5DPRINT 88 // 5DPrint D8 Driver Board #define BOARD_LEAPFROG 999 // Leapfrog #define BOARD_99 99 // This is in pins.h but...? #define MB(board) (MOTHERBOARD==BOARD_##board) #define IS_RAMPS (MB(RAMPS_OLD) || MB(RAMPS_13_EF || MB(RAMPS_13_EE || MB(RAMPS_13_EFF) || MB(RAMPS_13_EEF)) #endif //__BOARDS_H
Re: REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER no funciona December 27, 2014 12:09PM |
Registered: 9 years ago Posts: 792 |
const unsigned char start_bmp[574] PROGMEM = { //AVR-GCC, WinAVR 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xF0, 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xF0, 0xFF,0xFF,0xFF,0xF9,0xFF,0xFF,0xFF,0xF0, 0xFF,0xFF,0xFF,0xF0,0xFF,0xFF,0xFF,0xF0, 0xFF,0xFF,0xFF,0xE0,0x7F,0xFF,0xFF,0xF0, 0xFF,0xFF,0xFF,0xC0,0x3F,0xFF,0xFF,0xF0, 0xFF,0xFF,0xFF,0x80,0x1F,0xFF,0xFF,0xF0, 0xFF,0xFF,0xFF,0x00,0x0F,0xFF,0xFF,0xF0, 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, 0xFF,0xFF,0xF9,0xFF,0xFF,0xFF,0xC7,0xF0, 0xFF,0xFF,0xF9,0xFF,0xFF,0xFF,0xC7,0xF0, 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xF0 };
Re: REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER no funciona December 27, 2014 02:16PM |
Registered: 9 years ago Posts: 792 |
// The following define selects which electronics board you have. // Please choose the name from boards.h that matches your setup #ifndef MOTHERBOARD #define MOTHERBOARD 33
Re: REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER no funciona December 27, 2014 07:54PM |
Registered: 9 years ago Posts: 792 |
Re: REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER no funciona December 27, 2014 09:01PM |
Registered: 9 years ago Posts: 47 |
Re: REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER no funciona December 27, 2014 10:34PM |
Registered: 9 years ago Posts: 792 |
Quote
AleCun
Excelente tutorial @tatubias!... y que groso!...., ...y te salio andando de una!....
Salu2
AleCun
Re: REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER no funciona December 28, 2014 08:29AM |
Registered: 10 years ago Posts: 721 |
Re: REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER no funciona December 28, 2014 05:20PM |
Registered: 10 years ago Posts: 392 |
Quote
tatubias
Ahi le chorie el logo a workclocksheep para testear y anduvo ok.
Bueno mejor saco el logo choreado a poinless asi no se me ofende cambio nomas por el de open hardware.
Re: REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER no funciona December 29, 2014 10:28AM |
Registered: 9 years ago Posts: 792 |
u8g.firstPage(); do { // RepRap init bmp u8g.drawBitmapP(0,0,START_BMPBYTEWIDTH,START_BMPHEIGHT,start_bmp); // Welcome message u8g.setFont(u8g_font_6x10_marlin); u8g.drawStr(62,10,"MARLIN"); u8g.setFont(u8g_font_5x8); u8g.drawStr(62,19,"V1.0.0 RC2-mm"); u8g.setFont(u8g_font_6x10_marlin); u8g.drawStr(62,28,"by ErikZalm"); u8g.drawStr(62,41,"DOGM128 LCD"); u8g.setFont(u8g_font_5x8); u8g.drawStr(62,48,"enhancements"); u8g.setFont(u8g_font_5x8); u8g.drawStr(62,55,"by STB, MM"); u8g.drawStr(62,61,"uses u"); u8g.drawStr90(92,57,"8"); u8g.drawStr(100,61,"glib"); } while( u8g.nextPage() );
u8g.firstPage(); do { // RepRap init bmp u8g.drawBitmapP(0,0,START_BMPBYTEWIDTH,START_BMPHEIGHT,start_bmp); // Welcome message u8g.setFont(u8g_font_6x10_marlin); u8g.drawStr(62,10,"PrintaLot"); u8g.setFont(u8g_font_5x8); u8g.drawStr(62,19,"Telefono:"); u8g.setFont(u8g_font_5x8); u8g.drawStr(62,28,"(011) 15 6376 9733"); u8g.drawStr(62,41,"Email:"); u8g.setFont(u8g_font_5x8); u8g.drawStr(62,48,"[email protected]"); u8g.setFont(u8g_font_5x8); u8g.drawStr(62,55,"Buenos Aires"); u8g.drawStr(62,61,"Argentina"); } while( u8g.nextPage() );
//Data Array byte[] arrDataBytes = new byte[]{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 255, 252, 0, 0, 0, 0, 0, 31, 255, 255, 128, 0, 0, 0, 0, 127, 255, 255, 224, 0, 0, 0, 1, 255, 128, 31, 248, 0, 0, 0, 3, 248, 0, 1, 252, 0, 0, 0, 7, 224, 15, 240, 126, 0, 0, 0, 31, 128, 7, 248, 31, 128, 0, 0, 63, 0, 7, 248, 15, 192, 0, 0, 126, 6, 7, 248, 7, 224, 0, 0, 248, 6, 7, 248, 1, 240, 0, 0, 240, 6, 7, 248, 8, 240, 0, 1, 240, 6, 7, 248, 12, 248, 0, 3, 228, 6, 7, 248, 14, 124, 0, 3, 204, 6, 7, 248, 15, 60, 0, 7, 156, 6, 7, 248, 15, 158, 0, 7, 156, 6, 7, 248, 15, 158, 0, 15, 60, 6, 7, 248, 15, 207, 0, 15, 60, 6, 7, 248, 15, 207, 0, 14, 124, 6, 7, 248, 15, 231, 0, 30, 124, 6, 7, 248, 15, 231, 128, 30, 252, 6, 7, 248, 15, 247, 128, 28, 252, 6, 7, 248, 15, 243, 128, 28, 252, 6, 7, 248, 15, 243, 128, 60, 252, 6, 7, 248, 15, 243, 192, 60, 252, 4, 7, 248, 15, 243, 192, 60, 252, 0, 7, 248, 15, 243, 192, 60, 252, 0, 15, 248, 15, 243, 192, 60, 252, 0, 15, 248, 15, 243, 192, 60, 252, 0, 63, 248, 15, 243, 192, 60, 252, 7, 255, 248, 15, 243, 192, 60, 252, 7, 192, 120, 15, 243, 192, 28, 252, 7, 128, 56, 15, 243, 128, 28, 252, 7, 128, 56, 15, 243, 128, 30, 252, 7, 132, 56, 15, 247, 128, 30, 124, 7, 132, 56, 15, 231, 128, 30, 124, 7, 132, 56, 15, 231, 128, 15, 60, 7, 132, 56, 15, 207, 0, 15, 60, 7, 240, 56, 15, 207, 0, 7, 156, 7, 192, 56, 0, 30, 0, 7, 156, 7, 128, 56, 0, 30, 0, 3, 204, 7, 132, 56, 0, 60, 0, 3, 228, 7, 132, 56, 0, 124, 0, 1, 224, 7, 132, 60, 0, 120, 0, 0, 240, 7, 132, 62, 0, 240, 0, 0, 248, 7, 132, 63, 129, 240, 0, 0, 124, 7, 132, 63, 227, 224, 0, 0, 63, 7, 132, 63, 143, 192, 0, 0, 31, 135, 128, 62, 31, 128, 0, 0, 15, 224, 128, 48, 127, 0, 0, 0, 3, 248, 0, 1, 252, 0, 0, 0, 1, 255, 0, 15, 248, 0, 0, 0, 0, 127, 255, 255, 224, 0, 0, 0, 0, 31, 255, 255, 128, 0, 0, 0, 0, 3, 255, 252, 0, 0, 0, 0, 0, 0, 31, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} //Pict_width in bytes arrPict_width= 8
#define START_BMPWIDTH 60 //Width in pixels #define START_BMPHEIGHT 64 //Height in pixels #define START_BMPBYTEWIDTH 8 //Width in bytes const un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0, 0x88,0x7F,0xFF,0xFE,0x23,0xFF,0xFF,0xF0, 0x8C,0x70,0x38,0x0E,0x71,0x81,0xC0,0x70, 0x8C,0x60,0x38,0x0E,0x63,0x80,0xC0,0x30, 0x80,0xE3,0x19,0xC6,0x07,0xF8,0xC7,0x30, 0x80,0xE0,0x19,0xC6,0x03,0x80,0xC7,0x10, 0x8C,0x62,0x79,0xC6,0x63,0x9C,0xC7,0x30, 0x8C,0x63,0xF8,0xC6,0x71,0x18,0xC6,0x30, 0x8E,0x30,0x18,0x0E,0x71,0x80,0xC0,0x30, 0x9E,0x38,0x39,0x1E,0x79,0xC4,0xC4,0xF0, 0xFF,0xFF,0xF9,0xFF,0xFF,0xFF,0xC7,0xF0, 0xFF,0xFF,0xF9,0xFF,0xFF,0xFF,0xC7,0xF0, 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xF0 };
#define START_BMPWIDTH 60 //Width in pixels #define START_BMPHEIGHT 64 //Height in pixels #define START_BMPBYTEWIDTH 8 //Width in bytes const unsigned char start_bmp[] PROGMEM = { //AVR-GCC, WinAVR 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 255, 252, 0, 0, 0, 0, 0, 31, 255, 255, 128, 0, 0, 0, 0, 127, 255, 255, 224, 0, 0, 0, 1, 255, 128, 31, 248, 0, 0, 0, 3, 248, 0, 1, 252, 0, 0, 0, 7, 224, 15, 240, 126, 0, 0, 0, 31, 128, 7, 248, 31, 128, 0, 0, 63, 0, 7, 248, 15, 192, 0, 0, 126, 6, 7, 248, 7, 224, 0, 0, 248, 6, 7, 248, 1, 240, 0, 0, 240, 6, 7, 248, 8, 240, 0, 1, 240, 6, 7, 248, 12, 248, 0, 3, 228, 6, 7, 248, 14, 124, 0, 3, 204, 6, 7, 248, 15, 60, 0, 7, 156, 6, 7, 248, 15, 158, 0, 7, 156, 6, 7, 248, 15, 158, 0, 15, 60, 6, 7, 248, 15, 207, 0, 15, 60, 6, 7, 248, 15, 207, 0, 14, 124, 6, 7, 248, 15, 231, 0, 30, 124, 6, 7, 248, 15, 231, 128, 30, 252, 6, 7, 248, 15, 247, 128, 28, 252, 6, 7, 248, 15, 243, 128, 28, 252, 6, 7, 248, 15, 243, 128, 60, 252, 6, 7, 248, 15, 243, 192, 60, 252, 4, 7, 248, 15, 243, 192, 60, 252, 0, 7, 248, 15, 243, 192, 60, 252, 0, 15, 248, 15, 243, 192, 60, 252, 0, 15, 248, 15, 243, 192, 60, 252, 0, 63, 248, 15, 243, 192, 60, 252, 7, 255, 248, 15, 243, 192, 60, 252, 7, 192, 120, 15, 243, 192, 28, 252, 7, 128, 56, 15, 243, 128, 28, 252, 7, 128, 56, 15, 243, 128, 30, 252, 7, 132, 56, 15, 247, 128, 30, 124, 7, 132, 56, 15, 231, 128, 30, 124, 7, 132, 56, 15, 231, 128, 15, 60, 7, 132, 56, 15, 207, 0, 15, 60, 7, 240, 56, 15, 207, 0, 7, 156, 7, 192, 56, 0, 30, 0, 7, 156, 7, 128, 56, 0, 30, 0, 3, 204, 7, 132, 56, 0, 60, 0, 3, 228, 7, 132, 56, 0, 124, 0, 1, 224, 7, 132, 60, 0, 120, 0, 0, 240, 7, 132, 62, 0, 240, 0, 0, 248, 7, 132, 63, 129, 240, 0, 0, 124, 7, 132, 63, 227, 224, 0, 0, 63, 7, 132, 63, 143, 192, 0, 0, 31, 135, 128, 62, 31, 128, 0, 0, 15, 224, 128, 48, 127, 0, 0, 0, 3, 248, 0, 1, 252, 0, 0, 0, 1, 255, 0, 15, 248, 0, 0, 0, 0, 127, 255, 255, 224, 0, 0, 0, 0, 31, 255, 255, 128, 0, 0, 0, 0, 3, 255, 252, 0, 0, 0, 0, 0, 0, 31, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
Re: REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER no funciona December 29, 2014 01:23PM |
Registered: 10 years ago Posts: 246 |
Re: REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER no funciona December 29, 2014 01:40PM |
Registered: 9 years ago Posts: 792 |
Re: REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER no funciona January 02, 2015 01:07AM |
Registered: 9 years ago Posts: 25 |
Re: REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER no funciona January 02, 2015 07:18AM |
Registered: 9 years ago Posts: 792 |
Quote
danale17
muy bueno lo del logo!
por otro lado vengo a contarles a todos aquellos que me dieron una ayuda y se tomaron su tiempo para dar pie con bola, les cuento que la pantalla no anda, asi como estaba, me fui ni bien llegue de un amigo, la enchufamos con mi zocalo, mis cables y claro esta, mi pantalla y esta no hacia nada.
letras o simbolos raros era todo...
empezamos a descartar, sacamos mi pantalla y pusimos derecho la de el, y listo, la pantalla funciono.
con eso descarte zocalo, descarte cables, es simplemente mi pantalla que no hace nada.
la de el, funciona "bien" se ven las letras, es legible, muestra temperatura, podes desplazarte por el menu y hasta pita! el buzer te deja loco.
la mia esta muda, con geroglificos y no va, jorge22 ya me va a dar una mano para el cambio, asi que tendre novedades mas adelante.
gracias a todos por su tiempo!
Danale