vasu123
Newbie level 4
[T6963C] Data Write [Controller1] attempted during reset. write operation failed
this message is dispayed more than 9000 times during simulation.
my code is:
please solvethe problem
this message is dispayed more than 9000 times during simulation.
my code is:
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 /* * openGLCD Library - Hello World * * This sketch prints "Hello World!" to the LCD * and shows the time in seconds since Arduino board was reset. * * 2013-06-15 bperrybap - updates for openGLCD * 2011-09-14 Bill Perry - original creation * [email]bperrybap@opensource.billsworld.billandterrie.com[/email] */ // include the library header // no font headers have to be included #include <openGLCD.h> #define GLCD_PIN_CONFIG_H #define GLCD_PIN_CONFIG_H /* * define name for pin configuration */ #define glcd_PinConfigName "ks0108-Uno" /*********************************************************/ /* Configuration for assigning LCD bits to Arduino Pins */ /*********************************************************/ /* * Pins can be assigned using Arduino pin numbers 0-n * Pins can also be assigned using PIN_Pb * where P is port A-L and b is bit 0-7 * Example: port D bit 3 is PIN_D3 * */ /* Data pin definitions */ #define glcdPinData0 PIN_B0 #define glcdPinData1 PIN_B1 #define glcdPinData2 PIN_B2 #define glcdPinData3 PIN_B3 #define glcdPinData4 PIN_D4 #define glcdPinData5 PIN_D5 #define glcdPinData6 PIN_D6 #define glcdPinData7 PIN_D7 /* Arduino pins used for Control * default assignment uses the first five analog pins */ #define glcdPinCSEL1 PIN_A0 #define glcdPinCSEL2 PIN_A1 #define glcdPinRW PIN_A2 #define glcdPinDI PIN_A3 #define glcdPinEN PIN_A4 // (A4 is also I2C SDA) void setup() { // Initialize the GLCD GLCD.Init(); // Select the font for the default text area GLCD.SelectFont(System5x7); // GLCD.print(F("hello, world!")); // keep string in flash on AVR boards with IDE 1.x // GLCD.Puts(F("hello, world!")); // Puts() supports F() with any version of IDE // print() below uses RAM on AVR boards but works // on any version of IDE with any processor // note: Same is true for Puts() GLCD.print("hello, world!"); } void loop() { // set the cursor to column 0, line 1 // (note: line 1 is the second row, since counting begins with 0): GLCD.CursorTo(0, 1); // print the number of seconds since reset: GLCD.print(millis()/1000); }
please solvethe problem
Attachments
Last edited by a moderator: