<commit_before>#define FCK  8000000ULL
#define FCY  4000000ULL

#include <libpic30.h>
#include <p24F16KA101.h>
#include <string.h>
#include <stdio.h>
#include "UART.h"
#include "GPS.h"

//Initialize GPS module by sending commands to module
void GPS_init(void){
    
    sendCommand(PMTK_SET_NMEA_OUTPUT_GGAONLY); //outputs only RMC sentences
    __delay_us(1000);  
}

void getGPSsentence(char *GPS_String){
    <commit_msg>Update GPS.c <commit_after>#define FCK  8000000ULL
#define FCY  4000000ULL

#include <libpic30.h>
#include <p24F16KA101.h>
#include <string.h>
#include <stdio.h>
#include "UART.h"
#include "GPS.h"

//Initialize GPS module by sending commands to module
void GPS_init(void){
    
    sendCommand(PMTK_SET_NMEA_OUTPUT_GGAONLY); //outputs only RMC sentences
    __delay_us(1000);  
}

void getGPSsentence(char *GPS_String, char sentType){
    
    if(sentType == GGA){
        sendCommand(PMTK_SET_NMEA_OUTPUT_GGAONLY);
        __delay_us(100000);
    }
    if(sentType == RMC){
         sendCommand(PMTK_SET_NMEA_OUTPUT_RMCONLY);
        __delay_us(100000);
    }
    
{'fraction_non_alphanumeric': 0.11019283746556474, 'fraction_numerical': 0.06060606060606061, 'mean_word_length': 4.046296296296297, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2711368', 'n_tokens_mistral': 468, 'n_tokens_neox': 415, 'n_words': 86}