Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(sprejetih==6)
- {
- for (f=0; f<sprejetih; f++)//zapisujemo v Naš buffer
- {
- if(UserTxBufferFS[f]=='q')//p
- if(UserTxBufferFS[f+1]=='s')//r
- if(UserTxBufferFS[f+2]=='j')//i
- if(UserTxBufferFS[f+3]=='z')//z
- if(UserTxBufferFS[f+4]=='h')//g
- if(UserTxBufferFS[f+5]=='j')//i
- HAL_GPIO_WritePin(GPIOD, GPIO_PIN_14, GPIO_PIN_SET);
- break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement