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
#include "calculator.h" | |
calculator::calculator() | |
{ | |
this->num = 0; | |
} | |
qint32 calculator::get_number() | |
{ |
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
//GoodWriting 1.1 Preprocessive director -> #define | |
#include <stdint.h> | |
///* <----- 1 | |
//740,9 | |
#define LED_1 7 | |
#define LED_2 6 | |
#define LED_3 5 | |
#define LED_4 4 | |
//*/ |
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
/* | |
Simple State Machine to receive message via Serial Port for Arduino | |
======= | |
WEBSITE | |
======= | |
https://www.facebook.com/appstack.cc | |
http://www.appstack.cc | |
<-------------------------------------------------------------------> | |
@Author | |
- ultra_mcu@Piak Studiolo LEGO eiei |
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
/************************* | |
* UART For Raspberry Pi (2014/10/10) | |
* gcc version 4.6.3 (Debian 4.6.3-14+rpi1) | |
* | |
* copyright ultra_mcu@msn.com | |
* www.appstack.in.th | |
* https://github.com/ultramcu/AppStackUART | |
* ***********************/ | |
#include <stdio.h> |
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
#!/bin/bash | |
remote_user=USER_NAME | |
remote_target=SERVER_IP | |
remote_path=SERVER_PATH | |
source_path=LOCAL_PATH | |
mount_name=MOUNT_NAME | |
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
#include <Makeblock.h> | |
#include <Arduino.h> | |
#include <SoftwareSerial.h> | |
#include <Wire.h> | |
#include <AccelStepper.h> | |
#define _PIN_CLK_ 13 | |
#define _PIN_CW_ 12 | |
#define _DIP_SW_EXCITATION_ 16 |
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
#include "stdint.h" | |
typedef union { | |
struct{ | |
uint8_t bit_0: 1; | |
uint8_t bit_1: 1; | |
uint8_t bit_2: 1; | |
uint8_t bit_3: 1; | |
uint8_t bit_4: 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
typedef union { | |
struct { | |
uint8_t bit_0: 1; | |
uint8_t bit_1: 1; | |
uint8_t bit_2: 1; | |
uint8_t bit_3: 1; | |
uint8_t bit_4: 1; | |
uint8_t bit_5: 1; | |
uint8_t bit_6: 1; | |
uint8_t bit_7: 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
typedef struct | |
{ | |
int data; | |
}st_struct; | |
void my_fn(void *st) | |
{ | |
st_struct *s = (st_struct *)st; |
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
typedef struct | |
{ | |
int data; | |
}st_struct; | |
void my_fn(st_struct *st) | |
{ | |
... |
NewerOlder