.. - PHP Online
Form of PHP Sandbox
Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php
in the places where the PHP script should be executed.
Result of php executing
Full code of ...php
- #define HATI_PIN 9
- void setup() {
- pinMode(HATI_PIN, OUTPUT);
- }
- void loop() {
- digitalWrite(HATI_PIN, HIGH); // Mengaktifkan getaran pada hati
- delay(1000); // Menahan getaran selama 1 detik
- digitalWrite(HATI_PIN, LOW); // Mematikan getaran
- delay(1000); // Jeda selama 1 detik sebelum memulai getaran kembali
- }