Can I use D1TX pin on Arduino Micro to output a HIGH signal?

Hi!

I relatively new to this community.

-----The short-stuff-----

This is a silly question, but does the D1TX pin allow normal digitalWrite() output? I have been googling this and studying the datasheet.

-----The long-stuff-----
I sending a digital signal to an Arduino Mega board. The signal will interrupt the Arduino Mega's processes. I have already used up digital pins 4-7 on the Arduino micro for sensors.

does the D1TX pin allow normal digitalWrite() output?

Yes. It is a normal I/O pin with some resistors inline. Not a problem for its usual function of sending serial data, or for using the pin as an OUTPUT pin. D0 can be used as an input pin, too, but the inline resistor can be a problem in that case.

Yes you can, but you will lose serial monitor functions.

heliophobicdude:
I have already used up digital pins 4-7 on the Arduino micro for sensors.

Using D0,D1 for anything other than serial comms is only for the desperate, and something you will may eventually regret. Why not use pins 2,3 if you are not using the Wire library, or one of the analogue pins?

As you seem to use a Arduino Micro, you can use the RX TX pins just like other digital pins.
The usb serial connection is handled by the processor via different pins.

Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial data using the ATmega32U4 hardware serial capability.
Note that on the Micro, the Serial class refers to USB (CDC) communication; for TTL serial on pins 0 and 1, use the Serial1 class.