This file contains hidden or 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 <iostream> | |
#include <Windows.h> | |
#include "SFML/Graphics.hpp" | |
#include "spdlog/spdlog.h" | |
#include "spdlog/sinks/stdout_color_sinks.h" | |
#include "dds.hpp" | |
#define FALCON_TEXTURE_SHM TEXT("FalconTexturesSharedMemoryArea") |
This file contains hidden or 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
/* | |
* debug.h | |
* | |
* Created on: 5 Marzo 2020 | |
* Author: Franco | |
* Description: | |
* Il debug viene automaticamente creato se DEBUG_PORT o DEBUG_ESP_PORT viene definito con la porta da usare (Es: Serial) | |
* DEBUG_PORT deve essere definita in compilazione o come #DEFINE. DEBUG_ESP_PORT viene automaticamente settata da | |
* Arduino IDE dal menù 'strumenti\Debug port' per gli ESP con gli altri parametri di debug per il wifi. | |
* Se non si usa Arduino IDE può essere definita come per DEBUG_PORT |
This file contains hidden or 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
#ifdef DEBUG_BUILD | |
# define DEBUG(x) fprintf(stderr, x) | |
#else | |
# define DEBUG(x) do {} while (0) | |
#endif |
This file contains hidden or 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
/* | |
Fontname: -FreeType-FalconDED-Medium-R-Normal--17-120-100-100-P-71-ISO10646-1 | |
Copyright: Copyright uri_ba 2014 | |
Capital A Height: 9, '1' Height: 9 | |
Calculated Max Values w= 9 h=11 x= 3 y= 5 dx= 9 dy= 0 ascent=10 len=22 | |
Font Bounding box w= 9 h=11 x= 0 y=-1 | |
Calculated Min Values x= 0 y=-1 dx= 0 dy= 0 | |
Pure Font ascent = 9 descent=-1 | |
X Font ascent = 9 descent=-1 | |
Max Font ascent =10 descent=-1 |
This file contains hidden or 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 <Arduino.h> | |
#include <U8g2lib.h> // lib ext | |
#include <SPI.h> | |
#include <Wire.h> | |
#include "FalconDED_full.h" // fornito ad-hoc | |
//Function | Nano Pin | OLED Pin | |
//---------+----------+---------- |
This file contains hidden or 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
// | |
// Copyright (c) Microsoft. All rights reserved. | |
// This code is licensed under the MIT License (MIT). | |
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF | |
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY | |
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR | |
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. | |
// | |
// This header defines constants and structures that are useful when parsing | |
// DDS files. DDS files were originally designed to use several structures |
This file contains hidden or 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 <iostream> | |
#include <Windows.h> | |
#include "SFML/Graphics.hpp" | |
#include "dds.hpp" | |
#define FALCON_TEXTURE_SHM "FalconTexturesSharedMemoryArea" | |
int main(int argc, char** argv) { |
This file contains hidden or 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 <Windows.h> | |
HANDLE textureDataMemHandle = NULL; | |
long* textureData = NULL; | |
do { | |
textureDataMemHandle = OpenFileMapping(FILE_MAP_ALL_ACCESS, TRUE, | |
TEXT("FalconTexturesSharedMemoryArea")); | |
if (!textureDataMemHandle) { | |
std::cout << "Unable to open file. Is Falcon Running?\n"; | |
} else { |
This file contains hidden or 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
require(rcf) | |
elimina("cf10") | |
con = pgConnect() | |
GrafoDB:::.copyGraph(from="cf10p2674", to="cf10", con=con) |
This file contains hidden or 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
message("Hello World!") |
NewerOlder