Communication MAX - Arduino via Bluetooth
Hi,
i am very new to max and trying to establish a communication between max and an arduino with a hc-05 module. It should turn on a led when max sends out 1 and turn it off when the value is 0.
It works with a slight time delay during a serial communcation per usb, but somehow it won't work with bluetooth ports. The console just says "write 0" so it doens't even send out anything as far as i understand.
The Ardunio code is still the same just with the exception that i changed all serial.reads to btserial.reads & so on...
I am thankful for every help i can get as i have to submit it for university soon :)
PS: this is my placeholder patch for the project, serial port "i" works with usb-connection, e would be for the bluetooth module

you should post both arduino code and max patch,
and also a screenshot of max console showing found serial devices.
Did you pair HC-05 with your mac or pc ?
It would be helpfull to also know arduino model in use.
Here is the code i used last time. I also tried it with a few derivations. I paired the HC-05 with my notebook (windows) via a bluetooth terminal software. And i use an arduino nano.

And this is the report of the console (I tried switching to other ports at the top, but it starts wariting "write 0" only at the com5 port which is the arduino )

Thank you for your help
first thing I see is that you set serial port to e ?
what is it ? COM what ?
how should you talk bluetooth if nano is selected as serialport ?
1- You must choose serial port that gets assigned to HC-05.
2- rx & tx pins on nano can not be also used as soft serial ports
3- next time post code as text