This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; https://gist.github.com/neuro-sys/b8bb7187540a17308bf0b3fe0a7836fd | |
; pasmo --cdt cpc_interrupts.asm cpc_interrupts.cdt | |
org &8000 | |
start: | |
di | |
im 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Welder | |
{ | |
public: | |
Welder(int pin); | |
void loop(bool welding); | |
private: | |
int welderLedPin; | |
unsigned long currentMillis = 0; | |
unsigned long previousMillisArc = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "OAuthRequestSigner.h" | |
#import <CommonCrypto/CommonCrypto.h> | |
@implementation OAuthRequestSigner | |
+(void)signRequestForOAuthRequest:(NSMutableURLRequest *)request | |
withOAuthParameters:(NSDictionary *)oAuthParameters | |
consumerSecret:(NSString *)consumerSecret | |
tokenSecret:(NSString *)tokenSecret | |
{ |