Skip to content

Instantly share code, notes, and snippets.

Juan Carlos Jiménez Palantir555

Block or report user

Report or block Palantir555

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Palantir555
Palantir555 / main.cpp
Last active Jan 2, 2016
CookieCheater - Cheat at CookieClicker using a mbed microcontroller
View main.cpp
#include "mbed.h"
#include "USBMouse.h" //The library to work as a mouse
USBMouse mouse; //Declare the object mouse
DigitalIn myInput(p5); //Set an input to control when to send clicks
int main() {
myInput.mode(PullDown); //Internal pull-down in the input pin
while (1) { //Forever:
if(myInput.read()==1) //If the input button/switch is enabled
You can’t perform that action at this time.