We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I would like to send a variable in bluetooth from arduino to processing .. For now I can send it and display it but the worry is that it is in an Array list and I would like it to be a Variable int to be able to modify a slider. An idea ?
Answers
Too many ideas in a single paragraph. What have you accomplished so far? You say you can send data... are you doing it via serial? Related to the array part, don't worry about it yet. The first part is to get the B2 part going. For that, you can explore previous posts:https://forum.processing.org/two/search?Search=bluetooth
Kf
For the moment I send the value of a potentiometer by seeing bluetooth with an HC-05, I manage to display it without worries, the only worries is that characters in table and I would like to convert them to variable int or Float
You are displaying the values of your arduino in Processing via B2? Perfect. For the second part, could you provide a sample code of your approach? I might be able to help.
Kf
`` //importation des différentes librairies import ketai.net.nfc.record.*; import ketai.camera.*; import ketai.net.*; import ketai.ui.*; import ketai.cv.facedetector.*; import ketai.sensors.*; import ketai.net.nfc.*; import ketai.data.*; import ketai.net.bluetooth.*;
} ``
Please edit your post, select your code and hit ctrl+o to format your code. Make sure there is an empty line above and below your code.
Kf
I am on smartphone today I do it tonight, in this code you can see knob it is them that I would like to evolve with a variable that I would send by bluetooth in this case the value of the potentiometer. This is for my end-of-year project in terminal
The edit is ok :)