Global Variable (Value Read Serially from Matlab) Becomes 0

johnvictorlim:
Hi. placing a 120 ohm resistor in between the Reset pin and the +5v pin does not work. It throws an error "avrdude: stk500_getsync(): not in sync: resp=0x00". I am using Gizduino Atmega 328. Help...Thanks in advance

When you defeat the auto-reset feature, YOU are required to reset the Arduino at the proper time!