0

I'm new to raspberry development but I'm experienced with the web languages (PHP,html5,javascript and css). I want to develop a simple counter that will be increment when the pression of a wireless button is done, I'm thinking to use a pi with a cheap bluetooth button to handle the system. The GUI will be a standard index.php page. As I know about the raspberry, it can manage an apache server and this is great, but my doubt is about the input provided by the button. How I can manage it to let the php take the input provided and then increment the number?

  • I'm not familiar with PHP, but I doubt that it has the system-access necessary to perform this task. – user96931 May 2 at 17:36
  • I read on the raspberry forum that using the shell_exec() will give the ability to run scripts that command the various hardware connected to the raspberry. I don't know if there is any script that will manage the input from a wireless buttun, but I want to go deeper on this argument. – rasWebby May 2 at 17:43
  • I can write up a script for you, either .py or .sh – user96931 May 2 at 19:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.