I use the Digispark to automatically login to an account on my PC, but when I use the same code on my phone it does not work.
I do not know why it does not work on a phone, but I have the idea that the enter/tab section of the code is the problem. Please help me with this problem.
#include "DigiKeyboard.h"
void setup() {
DigiKeyboard.update();
DigiKeyboard.delay(2000);
DigiKeyboard.print("username");
DigiKeyboard.sendKeyStroke(43);
DigiKeyboard.println("password");
}
void loop() {
}