<commit_before>#include "RASDemo.h"

#include <RASLib/inc/common.h>
#include <RASLib/inc/gpio.h>
#include <RASLib/inc/time.h>

tBoolean led_on;

void blink(void) {
    SetPin(PIN_F1, led_on);

    led_on = !led_on;
}

int main(void) {  
    char ch;

    CallEvery(blink, 0, 0.25f);

    while (1) {
        Printf("\nRAS Demo for Robotathon 2013\n");
        Printf("  0=UART Demo\n  1=Motor Demo\n");
        Printf("  2=Servo Demo\n  3=I2C Line Sensor Demo\n");
        Printf("  4=IR Sensor Demo\n  5=Encoders Demo\n");
        Printf("  6=GPIO Demo\n  7=GPIO Line Sensor Demo\n");
        Printf("  8=Sonar Demo\n");
        Printf(">> ");
        
        // Read input from user
        ch = Getc();
        Printf("%c\n", ch);

        switch(ch) {<commit_msg>the uart echos now by default; removed forced echoing<commit_after>#include "RASDemo.h"

#include <RASLib/inc/common.h>
#include <RASLib/inc/gpio.h>
#include <RASLib/inc/time.h>

tBoolean led_on;

void blink(void) {
    SetPin(PIN_F1, led_on);

    led_on = !led_on;
}

int main(void) {  
    char ch;

    CallEvery(blink, 0, 0.25f);

    while (1) {
        Printf("\nRAS Demo for Robotathon 2013\n");
        Printf("  0=UART Demo\n  1=Motor Demo\n");
        Printf("  2=Servo Demo\n  3=I2C Line Sensor Demo\n");
        Printf("  4=IR Sensor Demo\n  5=Encoders Demo\n");
        Printf("  6=GPIO Demo\n  7=GPIO Line Sensor Demo\n");
        Printf("  8=Sonar Demo\n");
        Printf(">> ");
        
        // Read input from user
        ch = Getc();
        Printf("\n");

        switch(ch) {
{'fraction_non_alphanumeric': 0.1573248407643312, 'fraction_numerical': 0.025477707006369428, 'mean_word_length': 2.259336099585062, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, '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': '6090027', 'n_tokens_mistral': 669, 'n_tokens_neox': 640, 'n_words': 143}