Are we doomed?
Posted: Sat Feb 25, 2023 9:39 pm
So I decided to ask Chatgtp to create a one second led flasher. Even with typos it knew what to do
create a flowcode program to flash and led every one second
"Here's an example Flowcode program that flashes an LED every one second:
Begin by adding a new Flowchart and selecting the appropriate microcontroller for your board.
Add an LED component from the Peripheral Panel on the left-hand side of the screen, and place it on the flowchart canvas.
Connect a "Timer" component from the "Delays" tab of the Component Toolbox to the main flowchart.
Double-click on the Timer component and set the time period to 1000 ms (1 second).
Connect the output of the Timer component to the "Toggle" input of the LED component.
Finally, connect the "Reset" output of the Timer component back to its own "Reset" input. This will ensure that the timer restarts counting every time it reaches the end of its period.
Save and compile the program, and then program the microcontroller with the generated HEX file.
When the program is running on the microcontroller, the LED should flash on and off every one second."
I'm surprised it even gave an answer
I asked it to tell me how to invest £100 and get £1000 back quickly and it gave me a bit of a lecture on risky investments and that it wasn't qualified in financial advice.
Fascinating project
create a flowcode program to flash and led every one second
"Here's an example Flowcode program that flashes an LED every one second:
Begin by adding a new Flowchart and selecting the appropriate microcontroller for your board.
Add an LED component from the Peripheral Panel on the left-hand side of the screen, and place it on the flowchart canvas.
Connect a "Timer" component from the "Delays" tab of the Component Toolbox to the main flowchart.
Double-click on the Timer component and set the time period to 1000 ms (1 second).
Connect the output of the Timer component to the "Toggle" input of the LED component.
Finally, connect the "Reset" output of the Timer component back to its own "Reset" input. This will ensure that the timer restarts counting every time it reaches the end of its period.
Save and compile the program, and then program the microcontroller with the generated HEX file.
When the program is running on the microcontroller, the LED should flash on and off every one second."
I'm surprised it even gave an answer
I asked it to tell me how to invest £100 and get £1000 back quickly and it gave me a bit of a lecture on risky investments and that it wasn't qualified in financial advice.
Fascinating project