<commit_before>const int analogInPin = A1;  // Analog input pin that the potentiometer is attached to
const int analogOutPin = 9; // Analog output pin that the LED is attached to

int sensorValue = 0;        // value read from the pot
int outputValue = 0;        // value output to the PWM (analog out)

void setup() {
  // initialize serial communications at 9600 bps:
  Serial.begin(9600);

  analogReadResolution(12);
}

void loop() {
  // read the analog in value:
  sensorValue = analogRead(analogInPin);
  
  float voltage = (3.3/4096*analogRead(A1));
  float strom = (voltage/10020);
  float lichtstrom = (strom*2*1000000);
 Serial.print(lichtstrom,2);
 
Serial.print("\n");

 delay(1000);
}<commit_msg>Ausgabe in Prozent<commit_after>const int analogInPin = A1;  // Analog input pin that the potentiometer is attached to
const int analogOutPin = 9; // Analog output pin that the LED is attached to

int sensorValue = 0;        // value read from the pot
int outputValue = 0;        // value output to the PWM (analog out)

void setup() {
  // initialize serial communications at 9600 bps:
  Serial.begin(9600);

  analogReadResolution(12);
}

void loop() {
  // read the analog in value:
  sensorValue = analogRead(analogInPin);
  
  float voltage = (3.3/4096*analogRead(A1));
  float strom = (voltage/10020);
  float lichtstrom = (strom*2*1000000);
  lichtstrom = lichtstrom / 6.5852;     //In Prozent 658,52 (Maximalwert) / 100
 Serial.print(lichtstrom,2);
 
Serial.print("\n");

 delay(1000);
}
{'fraction_non_alphanumeric': 0.11428571428571428, 'fraction_numerical': 0.06046511627906977, 'mean_word_length': 3.5225225225225225, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1631348', 'n_tokens_mistral': 560, 'n_tokens_neox': 487, 'n_words': 160}