Skip to content

Instantly share code, notes, and snippets.

@capttwinky
Created March 16, 2012 22:12
Show Gist options
  • Save capttwinky/2053177 to your computer and use it in GitHub Desktop.
Save capttwinky/2053177 to your computer and use it in GitHub Desktop.
wirelesspw.c
#include <stdio.h>
#include <string.h>
int main(){int myi=1;char stout[26];char stmid[2];while(myi<=13){sprintf(stmid,"%02X",myi*2);strcat(stout,stmid);myi++;}printf("%s\n",stout);return 0;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment