Click here to Skip to main content
15,889,863 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Structure Offsets Pin
Richard Andrew x647-Sep-12 9:42
professionalRichard Andrew x647-Sep-12 9:42 
GeneralRe: Structure Offsets Pin
jschell7-Sep-12 10:33
jschell7-Sep-12 10:33 
GeneralRe: Structure Offsets Pin
Richard Andrew x647-Sep-12 10:35
professionalRichard Andrew x647-Sep-12 10:35 
AnswerRe: Structure Offsets Pin
Peter_in_27807-Sep-12 20:39
professionalPeter_in_27807-Sep-12 20:39 
GeneralRe: Structure Offsets Pin
Richard MacCutchan12-Sep-12 3:40
mveRichard MacCutchan12-Sep-12 3:40 
JokeRe: Structure Offsets Pin
Peter_in_278012-Sep-12 10:44
professionalPeter_in_278012-Sep-12 10:44 
JokeRe: Structure Offsets Pin
Richard MacCutchan12-Sep-12 21:58
mveRichard MacCutchan12-Sep-12 21:58 
Questionmodify arduino code 6x24 led matrix to 10x24 - can anyone help modify this code please my email is visualfx@ananzi.co.za Pin
visualvfx6-Sep-12 7:03
visualvfx6-Sep-12 7:03 
#define EA {B11110000,B01001000,B01001000,B01111000,B01001000,B11001000}
#define EB {B11110000,B01001000,B01001000,B01111000,B01001000,B11110000}
#define EC {B11110000,B10010000,B10111000,B10000000,B10010000,B11110000}
#define ES {B11111000,B10011000,B10000000,B11111000,B00001000,B11111000} // END1
#define UA {B01110000,B11001000,B11001000,B11111000,B11001000,B11001000}
#define UB {B11110000,B11001000,B11001000,B11111000,B11001000,B11110000}
#define UC {B01110000,B11001000,B11000000,B11001000,B11001000,B01110000}
#define UD {B11110000,B11001000,B11001000,B11001000,B11001000,B11110000}
#define UE {B11111000,B11111000,B11000000,B11111000,B11000000,B11111000}
#define UF {B11111000,B11000000,B11000000,B11111000,B11000000,B11000000}
#define UG {B11111000,B11001000,B11000000,B11011000,B11001000,B11111000}
#define UH {B11001000,B11001000,B11001000,B11111000,B11001000,B11001000}
#define UI {B11111000,B01110000,B01110000,B01110000,B01110000,B11111000}
#define UJ {B11111000,B00110000,B00110000,B10110000,B10110000,B11110000}
#define UK {B11001000,B11010000,B11100000,B11100000,B11010000,B11001000}
#define UL {B11000000,B11000000,B11000000,B11000000,B11000000,B11111000}
#define UM {B11011000,B11111000,B10101000,B10101000,B10001000,B10001000}
#define UN {B10001000,B11001000,B11101000,B11111000,B11011000,B11001000}
#define UO {B11111000,B11001000,B11001000,B11001000,B11001000,B11111000}
#define UP {B11110000,B11001000,B11001000,B11110000,B11000000,B11000000}
#define UQ {B11111000,B11111000,B10001000,B10101000,B10010000,B11101000}
#define UR {B11110000,B11001000,B11001000,B11110000,B11010000,B11001000}
#define US {B11111000,B11001000,B11000000,B11111000,B00011000,B11111000}
#define UT {B11111000,B10101000,B00100000,B00100000,B00100000,B01110000}
#define UU {B11001000,B11001000,B11001000,B11001000,B11001000,B11111000}
#define UV {B11001000,B11001000,B11001000,B11011000,B01110000,B00100000}
#define UW {B10001000,B10001000,B10101000,B10101000,B11011000,B10001000}
#define UX {B10001000,B11011000,B00100000,B00100000,B11011000,B10001000}
#define UY {B10001000,B11011000,B01010000,B00100000,B00100000,B01110000}
#define UZ {B11111000,B10001000,B00010000,B00100000,B01001000,B11111000} // ends here
#define BA {B01110000,B10001000,B10001000,B11111000,B10001000,B10001000}
#define BB {B11110000,B10001000,B10001000,B11110000,B10001000,B11111000}
#define BC {B11111000,B10000000,B10000000,B10000000,B10000000,B11111000}
#define BD {B11110000,B10001000,B10001000,B10001000,B10001000,B11110000}
#define BE {B11111000,B10000000,B10000000,B11110000,B10000000,B11111000}
#define BF {B11111000,B10000000,B10000000,B11110000,B10000000,B10000000}
#define BG {B01110000,B10001000,B10000000,B10011000,B10001000,B01110000}
#define BH {B10001000,B10001000,B11111000,B10001000,B10001000,B10001000}
#define BI {B11111000,B00100000,B00100000,B00100000,B00100000,B11111000}
#define BJ {B00111000,B00010000,B00010000,B00010000,B10010000,B01100000}
#define BM {B10001000,B11011000,B10101000,B10101000,B10001000,B10001000}
#define BN {B10001000,B11001000,B10101000,B10101000,B10011000,B10001000}
#define BL {B10000000,B10000000,B10000000,B10000000,B10000000,B11111000}
#define BO {B01110000,B10001000,B10001000,B10001000,B10001000,B01110000}
#define BP {B11110000,B10001000,B10001000,B11110000,B10000000,B10000000}
#define BQ {B01110000,B10001000,B10101000,B10011000,B01111000,B00001000}
#define BR {B11110000,B10001000,B10001000,B11110000,B10001000,B10001000}
#define BS {B01110000,B10001000,B01100000,B00010000,B10001000,B01110000}
#define BK {B10001000,B10010000,B11100000,B11100000,B10010000,B10001000}
#define BT {B11111000,B00100000,B00100000,B00100000,B00100000,B00100000}
#define BU {B10001000,B10001000,B10001000,B10001000,B10001000,B01110000}
#define BV {B10001000,B10001000,B10001000,B10001000,B01010000,B00100000}
#define BW {B10001000,B10001000,B10101000,B10101000,B10101000,B01010000}
#define BX {B10001000,B01010000,B00100000,B00100000,B01010000,B10001000}
#define BY {B10001000,B01010000,B00100000,B00100000,B00100000,B00100000}
#define BZ {B11111000,B00001000,B00110000,B01100000,B10000000,B11111000}
#define LA{B00000000,B01110000,B00001000,B01111000,B10001000,B01111000}
#define LB{B10000000,B10000000,B10110000,B11001000,B10001000,B11110000}
#define LC{B00000000,B01110000,B10000000,B10000000,B10001000,B01110000}
#define LD{B00001000,B00001000,B01111000,B10001000,B10001000,B01111000}
#define LE{B00000000,B01110000,B10001000,B11111000,B10000000,B01110000}
#define LF{B00110000,B01001000,B01000000,B11100000,B01000000,B01000000}
#define LG{B00000000,B01111000,B10001000,B01111000,B00001000,B01110000}
#define LH{B10000000,B10000000,B10110000,B11001000,B10001000,B10001000}
#define LI{B00100000,B00000000,B01100000,B00100000,B00100000,B01111000}
#define LJ{B00010000,B00000000,B00111000,B00010000,B10010000,B01100000}
#define LK{B10000000,B10010000,B10100000,B11000000,B10100000,B10010000}
#define LL{B01100000,B00100000,B00100000,B00100000,B00100000,B01111000}
#define LM{B00000000,B00000000,B11010000,B10101000,B10101000,B10001000}
#define LN{B00000000,B00000000,B10110000,B11001000,B10001000,B10001000}
#define LO{B00000000,B01110000,B10001000,B10001000,B10001000,B01110000}
#define LP{B00000000,B11110000,B10001000,B11110000,B10000000,B10000000}
#define LQ{B00000000,B01101000,B10011000,B01111000,B00001000,B00001000}
#define LR{B00000000,B00000000,B10110000,B11001000,B10000000,B10000000}
#define LS{B00000000,B01110000,B10000000,B01110000,B00001000,B11110000}
#define LT{B01000000,B01000000,B11100000,B01000000,B01001000,B00110000}
#define LU{B00000000,B00000000,B10001000,B10001000,B10011000,B01101000}
#define LV{B00000000,B00000000,B10001000,B10001000,B01010000,B00100000}
#define LW{B00000000,B00000000,B10001000,B10101000,B10101000,B01010000}
#define LX{B00000000,B10001000,B01010000,B00100000,B01010000,B10001000}
#define LY{B00000000,B10001000,B10001000,B01111000,B00001000,B01110000}
#define LZ{B00000000,B11111000,B00010000,B00100000,B01000000,B11111000}
#define SPACE{B00000000,B00000000,B00000000,B00000000,B00000000,B00000000}
#define NUM0{B01110000,B10011000,B10101000,B10101000,B11001000,B01110000}
#define NUM1{B00100000,B01100000,B10100000,B00100000,B00100000,B01110000}
#define NUM2{B01110000,B10001000,B00001000,B01110000,B10000000,B11111000}
#define NUM3{B11110000,B00001000,B00001000,B01111000,B00001000,B11110000}
#define NUM4{B10001000,B10001000,B10001000,B11111000,B00001000,B00001000}
#define NUM5{B11111000,B10000000,B11110000,B00001000,B10001000,B01110000}
#define NUM6{B11111000,B10000000,B11111000,B10001000,B10001000,B11111000}
#define NUM7{B11111000,B00001000,B00001000,B01111000,B00001000,B00001000}
#define NUM8{B11111000,B10001000,B11111000,B10001000,B10001000,B11111000}
#define NUM9{B11111000,B10001000,B11111000,B00001000,B00001000,B11111000}
#define DEVIDE{B00001000,B00010000,B00100000,B00100000,B01000000,B10000000}
#define TWODOTS{B01100000,B01100000,B00000000,B00000000,B01100000,B01100000}
#define DOT{B00000000,B00000000,B00000000,B00000000,B01100000,B01100000}
#define COMA{B00000000,B00000000,B00000000,B00110000,B00110000,B01100000}
#define LINE{B00000000,B00000000,B11111000,B11111000,B00000000,B00000000}
#define QUASTION{B01110000,B10001000,B00010000,B00100000,B00000000,B00100000}
#define MARK{B00100000,B01110000,B01110000,B00100000,B00000000,B00100000}

int latchPin = 10;
int clockPin = 13;
int dataPin = 11;
int clock = 9;
int Reset = 8;
int latchPinPORTB = latchPin - 8;
int clockPinPORTB = clockPin - 8;
int dataPinPORTB = dataPin - 8;
int i = 0;
long scrolling_word[6];
int array_turn=0;
byte your_text[24][6]={BW,BE,BL,BC,BO,BM,BE,SPACE,BH,BA,BV,BE,SPACE,BA,SPACE,BN,BI,BC,BE,SPACE,BD,BA,BY};//PUT YOU TEXT HERE


void setup(){
Serial.begin(9600);
pinMode(dataPin,OUTPUT);
pinMode(clockPin,OUTPUT);
pinMode(latchPin,OUTPUT);
pinMode(clock,OUTPUT);
pinMode(Reset,OUTPUT);
digitalWrite(Reset,HIGH);
digitalWrite(Reset,LOW);
setupSPI();
}

void display_word(int loops,byte word_print[][6],int num_patterns,int delay_langth){// this function displays your symbols
i = 0;// resets the counter fot the 4017
for(int g=0;g<6;g++)//resets the the long int where your word goes
scrolling_word[g] = 0;
for(int x=0;x
AnswerRe: modify arduino code 6x24 led matrix to 10x24 - can anyone help modify this code please my email is visualfx@ananzi.co.za PinPopular
Chris Losinger6-Sep-12 9:28
professionalChris Losinger6-Sep-12 9:28 
Questionhow to make a static box movable in MFC.? Pin
mbatra316-Sep-12 3:33
mbatra316-Sep-12 3:33 
AnswerRe: how to make a static box movable in MFC.? Pin
Chris Losinger6-Sep-12 3:44
professionalChris Losinger6-Sep-12 3:44 
GeneralRe: how to make a static box movable in MFC.? Pin
mbatra316-Sep-12 20:59
mbatra316-Sep-12 20:59 
GeneralRe: how to make a static box movable in MFC.? Pin
Chris Losinger7-Sep-12 1:07
professionalChris Losinger7-Sep-12 1:07 
GeneralRe: how to make a static box movable in MFC.? Pin
mbatra317-Sep-12 1:26
mbatra317-Sep-12 1:26 
GeneralRe: how to make a static box movable in MFC.? Pin
Chris Losinger7-Sep-12 1:28
professionalChris Losinger7-Sep-12 1:28 
GeneralRe: how to make a static box movable in MFC.? Pin
mbatra317-Sep-12 1:36
mbatra317-Sep-12 1:36 
GeneralRe: how to make a static box movable in MFC.? Pin
Chris Losinger7-Sep-12 1:39
professionalChris Losinger7-Sep-12 1:39 
GeneralRe: how to make a static box movable in MFC.? Pin
mbatra317-Sep-12 1:47
mbatra317-Sep-12 1:47 
GeneralRe: how to make a static box movable in MFC.? Pin
mbatra317-Sep-12 1:48
mbatra317-Sep-12 1:48 
GeneralRe: how to make a static box movable in MFC.? Pin
Chris Losinger7-Sep-12 1:54
professionalChris Losinger7-Sep-12 1:54 
GeneralRe: how to make a static box movable in MFC.? Pin
mbatra317-Sep-12 2:03
mbatra317-Sep-12 2:03 
GeneralRe: how to make a static box movable in MFC.? Pin
mbatra317-Sep-12 2:07
mbatra317-Sep-12 2:07 
GeneralRe: how to make a static box movable in MFC.? Pin
Chris Losinger7-Sep-12 2:18
professionalChris Losinger7-Sep-12 2:18 
GeneralRe: how to make a static box movable in MFC.? Pin
mbatra317-Sep-12 2:23
mbatra317-Sep-12 2:23 
GeneralRe: how to make a static box movable in MFC.? Pin
Chris Losinger7-Sep-12 2:31
professionalChris Losinger7-Sep-12 2:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.